If your Minecraft character is slowed, poisoned, glowing, or affected by another status effect, you can remove it with the /effect command. The exact syntax depends on whether you are playing Java Edition or Bedrock Edition, but both versions let you clear every active effect or remove one specific effect. Here is how to clear effects in Minecraft, with commands, examples, troubleshooting tips, and ways to remove effects from other players.
How to Clear All Effects in Minecraft
To remove every active status effect from yourself, run the command for your edition. In Java Edition, enter:
/effect clear @s
In Bedrock Edition, enter:
/effect @s clear
The @s selector means “self,” so these commands clear effects from the player who runs them. If you type a command into chat, press Enter to execute it. On a controller or mobile device, open the chat or command interface, enter the command, and submit it.
Clearing effects does not delete potions from your inventory or remove potion effects from other players. It only removes active status effects from the selected target. If a beacon, potion, mob, or other source applies an effect again, you may need to move away from that source or clear the effect again.
Java Edition Effect Clear Command
In current Minecraft Java Edition, the general syntax for clearing effects is:
/effect clear <targets> [effect]
The <targets> part identifies the player or entity whose effects you want to remove. The optional [effect] part specifies one status effect. Leave it out to clear all active effects from the selected target.
For example, these commands clear effects from different targets:
-
/effect clear @sremoves all effects from you. -
/effect clear @premoves all effects from the nearest player. -
/effect clear Steveremoves all effects from the player named Steve. -
/effect clear @aremoves all effects from every player.
To clear just one effect, add its name after the target. For example, to remove slowness from yourself, use:
/effect clear @s minecraft:slowness
You can replace minecraft:slowness with another effect ID, such as minecraft:poison, minecraft:weakness, or minecraft:glowing. In Java Edition, using the full namespaced ID with the minecraft: prefix is a reliable choice.
Bedrock Edition Effect Clear Command
In Minecraft Bedrock Edition, the target comes before the word clear. The basic syntax is:
/effect <player> clear [effect]
To remove all effects from yourself, run:
/effect @s clear
To clear one effect, add its name after clear. For example, this command removes poison from you:
/effect @s clear poison
Bedrock Edition also supports selectors and player names. These examples remove all effects from the nearest player or every player:
-
/effect @p clearclears all effects from the nearest player. -
/effect @a clearclears all effects from every player. -
/effect Alex clearclears all effects from the player named Alex. -
/effect @a clear witherclears the wither effect from all players.
Bedrock command suggestions can help you choose a valid target or effect name. If you are unsure of the syntax, type the beginning of the command and check the suggestions shown in the command interface.
How to Clear a Specific Status Effect
You do not have to remove every effect if only one is causing a problem. Clearing a specific effect lets you keep useful buffs, such as Speed or Night Vision, while removing an unwanted effect like Mining Fatigue or Nausea.
First, identify the effect you want to remove. Then use the correct command order for your edition:
-
Java Edition:
/effect clear @s minecraft:effect_name -
Bedrock Edition:
/effect @s clear effect_name
For example, use /effect clear @s minecraft:blindness in Java Edition or /effect @s clear blindness in Bedrock Edition to remove Blindness from yourself. To remove Bad Omen, substitute bad_omen for the effect name. Effect names use underscores when the name contains more than one word.
Common effects you may want to clear include poison, slowness, weakness, blindness, wither, levitation, nausea, and mining fatigue. The available effect names can vary as Minecraft receives updates, so use the game’s command suggestions if an effect ID is not accepted.
Using Target Selectors to Clear Effects
Target selectors make it possible to apply an effect-clearing command to one player, a group, or a specific target without typing every player’s name. The most useful selectors are:
-
@stargets the entity running the command. -
@ptargets the nearest player. -
@atargets all players. -
@rtargets a random player.
For example, a server administrator can use /effect clear @a in Java Edition to remove every active effect from all players. The Bedrock equivalent is /effect @a clear. Be careful with @a, because it affects everyone who matches the selector, not just the person who entered the command.
Some commands can target entities as well as players, depending on the command and edition. If you intend to clear an effect from a player, using a player selector such as @a or a specific username helps avoid selecting unintended targets.
How to Use the Command in Chat or a Command Block
To run an effect command in a normal world, open chat and type the command with its leading slash. You need permission to use commands. In a single-player world, cheats must be enabled. On a multiplayer server, you may need operator status or the appropriate permission from the server owner.
You can also put an effect-clearing command in a command block. Enter the command in the block’s command field, then configure the block to run when activated. For example, a command block could clear effects from a player who steps on a trigger, or a server administrator could use one during a minigame reset.
Command block behavior depends on its settings and the way it is powered. Test the command with the intended target before using it in a busy world. If you use a selector such as @a, remember that the command can affect every player who meets its conditions whenever the block runs.
Why the Effect Clear Command May Not Work
If Minecraft displays an error or the effect remains, check the command syntax and your permissions. Java and Bedrock place the word clear in different positions, so copying a command from the other edition is a common cause of problems.
-
Check your edition: Java uses
/effect clear @s; Bedrock uses/effect @s clear. - Check permissions: Enable cheats in a single-player world or ask for operator access on a server.
- Check the target: Make sure the username is correct and the selector matches the player you intend to affect.
- Check the effect name: Use the correct spelling and underscores, and try a suggested effect ID.
- Check for reapplication: A beacon, conduit, lingering cloud, or another source may apply the effect again after it is cleared.
If the effect disappears and then returns, the command may have worked correctly. Move away from the source or remove the source before running the clear command again. For a quick in-game check, look at the status-effect icons in the inventory or player interface after executing the command.
Can Milk or Other Items Clear Minecraft Effects?
Milk is a useful alternative when you cannot use commands. Drinking a bucket of milk removes most active status effects from the player, including many harmful effects. However, it also removes beneficial effects, so you may lose helpful buffs along with the unwanted one. Milk does not clear effects from other players.
The command is more precise when you want to remove only one effect or clear effects from another target. Milk is convenient in survival mode, while commands are especially useful in creative worlds, custom maps, multiplayer servers, and command-block systems.
Frequently Asked Questions
Does /effect clear remove potion effects permanently? It removes the active effects at the time the command runs. It does not destroy potions or prevent another player or in-game source from applying an effect again.
Can I clear effects from everyone? Yes. In Java Edition, use /effect clear @a. In Bedrock Edition, use /effect @a clear. You need the permissions required to run commands in that world or server.
Can I remove only one effect and keep the others? Yes. Add the effect name to the clear command, using the syntax for your edition. This removes the selected effect without clearing the target’s other active effects.
Does the command remove effects from my inventory? No. It clears active status effects on the target. Potions and other items remain in your inventory unless you remove them separately.
Conclusion
To clear effects in Minecraft, use /effect clear @s in Java Edition or /effect @s clear in Bedrock Edition. Add a target selector or player name to affect someone else, and include an effect name when you only want to remove one status effect. If the effect returns, look for a source that is applying it again. With the correct syntax and permissions, you can quickly remove unwanted effects and get back to playing.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.