/effect Command in Minecraft Bedrock Edition

Add or Clear Player Status Effects

Bedrock EditionPlayers & EntitiesPermission: Game DirectorsCheats: YesJava version →

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.

Syntax (2 forms)

  1. /effect <player: target> clear [effect: Effect]

    Clear effect

  2. /effect <player: target> <effect: Effect> [seconds: int] [amplifier: int] [hideParticles: Boolean]

    Add effect

Arguments

ArgumentTypeWhat it means
amplifierintAn `integer` that may have been applied to this effect. Sample values range typically from 0 to 4. Default: `0`.
effectEffectAn `enum` to specify the effect being added or removed.
hideParticlesBooleanA `Boolean` that specifies the visual representation of the effect. Default: `false`.
playertargetThe player to receive the effect. A player name `string` or `target selector` to identify the player.
secondsintAn `integer` that specifies the duration, in seconds, of this effect. Default: `30`.

Examples

Tips

Common mistakes

Bedrock vs Java

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>]).

See /effect in Java Edition →

FAQ

How do I clear only one specific status effect in Bedrock Edition?

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.

What is the default duration and amplifier if I leave them blank?

If you only provide the player target and the effect name, the duration defaults to 30 seconds and the amplifier defaults to 0.

How do I hide the swirling particles from a status effect?

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.

Related commands

/aimassist/camera/camerashake/clearspawnpoint/controlscheme/damage/event/gamemode/hud/inputpermission/kill/ride/spawnpoint/spreadplayers/summon/teleport