All commands
โš—๏ธ
UtilityJava โœ“Bedrock โœ“

/effect

Give players powers like speed, strength, or night vision.

๐ŸชจBedrock note: Bedrock drops the 'give' keyword - e.g. /effect @s speed 30 2.

Overview

What is the /effect command?

The /effect command applies or removes status effects (potion effects) like Speed, Strength, Night Vision, Regeneration or Invisibility on any target. You control the duration, the amplifier (level), and whether the swirling particles show.

It's the standard tool for buffing players in minigames, debuffing mobs, or giving yourself permanent abilities for a build session.

When to use it: Use /effect to grant buffs like Night Vision or Speed, apply debuffs, or clear unwanted potion effects instantly.

At a glance

Syntax

Syntax
/effect give <target> <effect> [seconds] [amplifier]
commandtargetcoordsvaluerequiredoptional

See it

What it does

Speed III granted - particles swirl

Anatomy

Every part, explained

  1. 1
    /effect giveCommandRequired

    Use 'give' to add an effect, 'clear' to remove one.

  2. 2
    <target>TargetRequired

    Who gets the effect. @s is yourself.

  3. 3
    <effect>EffectRequired

    The power, e.g. speed, strength, night_vision.

  4. 4
    [seconds]DurationOptional

    How long it lasts. Defaults to 30 seconds.

  5. 5
    [amplifier]LevelOptional

    Strength minus one. 0 = level I, 1 = level II.

Your turn

Try it yourself

Playground
6 tokens ยท press Enter to run

Copy & paste

Examples

/effect give @s speed 60 2

Speed III for one minute.

/effect give @s night_vision 999999

See in the dark, basically forever.

/effect clear @s

Remove every active effect.

Avoid these

Common mistakes

โœ•/effect @s speed
โœ“/effect give @s speed

Modern syntax needs 'give' or 'clear' after /effect.

โœ•/effect give @s speed 30 3
โœ“/effect give @s speed 30 2

Amplifier is level โˆ’ 1, so Speed III is amplifier 2.

Good to know

Frequently asked questions

How do you give yourself an effect in Minecraft?
Run /effect give @s <effect> [seconds] [amplifier], e.g. /effect give @s night_vision 999999 0 to see in the dark.
How do you remove an effect?
Use /effect clear @s <effect> to remove one, or /effect clear @s to remove every active effect.
What does the amplifier number mean?
The amplifier is the level minus one: 0 is level I, 1 is level II, and so on. So Speed II is amplifier 1.

Keep going

Related commands