Add or Clear Player Status Effects
The /effect command lets you add or clear status effects for players in Minecraft Bedrock Edition. You can control which effect is applied, how long it lasts in seconds, its strength amplifier, and whether the swirling particles show up on screen.
Players and map makers use this command when testing survival challenges, setting up custom minigames, or clearing unwanted effects without needing to brew potions. Because it is a Game Directors level command, your world must have cheats enabled to run it.
/effect <player: target> clear [effect: Effect]Clear effect
/effect <player: target> <effect: Effect> [seconds: int] [amplifier: int] [hideParticles: Boolean]Add effect
| Argument | Type | What it means |
|---|---|---|
amplifier | int | An `integer` that may have been applied to this effect. Sample values range typically from 0 to 4. Default: `0`. |
effect | Effect | An `enum` to specify the effect being added or removed. |
hideParticles | Boolean | A `Boolean` that specifies the visual representation of the effect. Default: `false`. |
player | target | The player to receive the effect. A player name `string` or `target selector` to identify the player. |
seconds | int | An `integer` that specifies the duration, in seconds, of this effect. Default: `30`. |
/effect @s speedGives yourself the speed effect for the default 30 seconds at the default amplifier of 0.
/effect @p night_vision 120Grants the nearest player night vision for 120 seconds with visible particles.
/effect @a jump_boost 60 2Applies jump boost to all players for 60 seconds with an amplifier of 2.
/effect Steve invisibility 300 0 trueMakes the player named Steve invisible for 300 seconds at amplifier 0 while hiding the effect particles.
/effect @r regeneration 45 4 falseGives a random player regeneration for 45 seconds with an amplifier of 4 and visible particles.
/effect Alex water_breathing 90 1Gives the player Alex water breathing for 90 seconds with an amplifier of 1.
/effect @a[r=10] poison 15 3 trueApplies poison to all players within 10 blocks for 15 seconds at amplifier 3 without showing particles.
/effect @s clear levitationRemoves only the levitation status effect from yourself while keeping any other active effects.
/effect @a clearClears every active status effect from all players in the world at once.
In Minecraft Java Edition, the syntax order is different because you must type give or clear right after /effect, before naming the target (such as /effect give <targets> <effect> [<seconds>] or /effect clear [<targets>] [<effect>]).
Use the syntax /effect <player> clear [effect] and enter the exact name of the effect you want to remove at the very end of the command.
If you only provide the player target and the effect name, the duration defaults to 30 seconds and the amplifier defaults to 0.
Add true at the very end of the command for the hideParticles argument, making sure you also fill in the seconds and amplifier numbers before it.
/aimassist/camera/camerashake/clearspawnpoint/controlscheme/damage/event/gamemode/hud/inputpermission/kill/ride/spawnpoint/spreadplayers/summon/teleport