If your Minecraft character is glowing, poisoned, slow, or surrounded by potion particles, you may be wondering: how do I clear effects in Minecraft? You can remove status effects with a command or, in many situations, by drinking milk. The best option depends on whether you want to clear every effect or just one, which edition you are playing, and whether you have access to commands.
This guide explains how to clear effects in Minecraft Java Edition and Bedrock Edition, how to remove an effect from yourself or other players, and what to do if an effect returns. It also covers common command mistakes and simple ways to prevent unwanted effects from getting in your way.
What Are Effects in Minecraft?
Effects, also called status effects, temporarily change a player’s abilities or condition. Helpful effects include Speed, Strength, Regeneration, and Night Vision. Harmful effects include Poison, Slowness, Weakness, and Wither. Some effects, such as Invisibility or Glowing, change how a player appears to others.
Effects can come from potions, suspicious stew, beacons, mobs, food, commands, and other game mechanics. An effect may have a duration and an amplifier, which determines its strength. For example, Speed II is stronger than Speed I. Clearing an effect removes its active impact; it does not permanently prevent you from receiving it again.
How to Clear All Effects With a Command
The quickest way to remove every active status effect from a player is to use the clear option in the /effect command. The command differs slightly between Java and Bedrock, so use the syntax for your edition.
-
Java Edition:
/effect clear @s -
Bedrock Edition:
/effect @s clear
In these examples, @s means the command’s executor. If you enter the command in chat, that usually means you. If you run it from a command block or through a server console, the executor may be different, so you might need to specify a player’s name or use a target selector.
To clear effects from all online players, use @a instead of @s:
-
Java Edition:
/effect clear @a -
Bedrock Edition:
/effect @a clear
Use the all-player version carefully, especially on a multiplayer server. It removes beneficial effects as well as harmful ones, so players may lose effects from potions, beacons, or other sources.
How to Clear One Specific Effect
You do not have to remove every status effect. If you want to keep a useful effect, such as Strength, while getting rid of Poison, target only the unwanted effect. The Java command places the effect after the target. In Bedrock, the effect name follows the word clear.
-
Java Edition:
/effect clear @s minecraft:poison -
Bedrock Edition:
/effect @s clear poison
Replace poison with the effect you want to remove. Examples include slowness, weakness, blindness, or night_vision. Java Edition commonly uses namespaced effect IDs such as minecraft:poison. Bedrock command suggestions can help you find the name accepted by your version.
For example, to remove Slowness from a player called Alex, you could use /effect clear Alex minecraft:slowness in Java Edition or /effect Alex clear slowness in Bedrock Edition. Player names and command details can vary by version, so check the autocomplete suggestions if the game reports an error.
How to Use Target Selectors
Target selectors let you choose players without typing each name. They are useful for clearing effects from yourself, nearby players, or everyone on a server.
-
@stargets the command’s executor. -
@ptargets the nearest player. -
@atargets all players. -
@rtargets a random player.
For instance, you can remove every effect from the nearest player with /effect clear @p in Java Edition or /effect @p clear in Bedrock Edition. Selectors can also include extra conditions, but simple targets are usually enough for routine effect cleanup.
Remember that a command block, server console, or command run by another player may interpret @s differently than you expect. If you are not clearing your own effect, try using the affected player’s exact name or a selector such as @a.
How to Enable and Enter Commands
Commands require permission. In a single-player world, cheats must be enabled. In a multiplayer world, you generally need operator permissions or the appropriate server role. If cheats are unavailable, ask the world owner or server administrator before trying to change game settings.
Open the chat or command input and type the command for your edition, then submit it. In Java Edition, the usual chat key is T; controls may differ by device or custom settings. On consoles and mobile devices, open the in-game chat interface. Starting the command with a forward slash is important because it tells Minecraft to interpret the text as a command.
If the command is rejected, confirm that you used the right edition’s syntax, spelled the effect correctly, and have permission to use commands. Minecraft’s command suggestions can often be displayed while you type. They are particularly helpful when you are unsure of an effect ID or selector.
How to Remove Effects Without Commands
If you do not have cheats enabled, drinking milk is the easiest general method. Hold a milk bucket and use it to drink. Milk removes active status effects from the player, including many harmful effects such as Poison, Wither, and Slowness. It also removes beneficial effects, so consider whether you want to lose a useful potion or beacon effect before drinking.
Milk does not require operator permissions, making it a practical option in survival worlds and on servers where commands are restricted. You can obtain milk by using an empty bucket on a cow, mooshroom, or goat. Keep a bucket in your inventory if you often explore places where status effects are common.
Some effects disappear naturally when their timers run out. If the remaining duration is short and the effect is not dangerous, you can wait it out. Moving away from the source may also help, though leaving a location will not instantly remove an effect already applied to you.
Why an Effect May Come Back
Clearing an effect removes the active status, but it does not necessarily remove the source. If you are still standing in a beacon’s range, the beacon may apply its selected effect again. A lingering potion cloud can also give effects to nearby players, while a mob or environmental hazard may apply the same harmful effect repeatedly.
If an effect returns, move away from the source or disable it before clearing the effect again. Check for nearby beacons, lingering clouds, hostile mobs, or ongoing gameplay conditions. On a server, a command block or add-on may also be applying effects automatically.
Repeatedly clearing an effect without dealing with its source can make it seem as though the command did not work. In most cases, the command removed the effect correctly; the source simply applied it again a moment later.
Common Mistakes When Clearing Effects
-
Mixing up Java and Bedrock syntax: Java puts
cleardirectly after/effect, while Bedrock places the target first. -
Using the wrong target:
@smay not refer to the player you intend when a command runs from a command block or console. - Expecting one-effect removal to clear everything: Include no effect ID when you want to remove all active effects from the selected target.
- Forgetting that milk removes helpful effects too: Use a command to remove only a specific unwanted effect when you want to preserve other effects.
- Ignoring the source: A beacon, potion cloud, mob, or automated command can apply the effect again.
- Assuming particles are always an active effect: Visual particles may be hidden or altered by settings, so check the status-effect display or use the appropriate clear command.
Quick Command Examples
Use these examples as a reference, adjusting the target and effect name to suit your situation:
-
Clear all effects from yourself in Java:
/effect clear @s -
Clear all effects from yourself in Bedrock:
/effect @s clear -
Clear all effects from everyone in Java:
/effect clear @a -
Clear Poison from yourself in Java:
/effect clear @s minecraft:poison -
Clear Poison from yourself in Bedrock:
/effect @s clear poison
Command formats can change across Minecraft releases, and server settings may restrict who can use them. If an example does not work, use the command autocomplete in your game or consult the help output for your current version.
Conclusion
To clear effects in Minecraft, use /effect clear @s in Java Edition or /effect @s clear in Bedrock Edition. Add a specific effect name when you want to remove only one status, or replace @s with a selector to target other players. If commands are unavailable, drink milk to clear most active effects, keeping in mind that it removes helpful effects too. When an effect returns, find and remove its source before clearing it again.
Disclaimer: Articles are written by Humans, AI or Both. Verify Important information.