Search all 40 status effects registered in Minecraft Java Edition 1.21.x. Copy the namespaced ID for /effect give, check whether an effect is beneficial, harmful, or neutral, and use the reviewed legacy numerical ID on 1.12.2 and earlier.
Fire Resistance — lava and fire immunity — the nether potion.
Night Vision — see clearly in the dark and underwater.
Wither — the draining effect from wither skeletons and the wither boss.
Give an Effect with a Command
The /effect command takes the namespaced ID, a duration in seconds, and an amplifier (0 = level I, 1 = level II):
/effect give @p minecraft:speed 60 1
Minecraft Effect IDs FAQ
What is the effect ID for Speed?
The effect ID for Speed is minecraft:speed. Run /effect give @p minecraft:speed 60 1 to get Speed II for 60 seconds.
How many status effects are in Minecraft Java 1.21.x?
There are 40 status effects registered in Java Edition 1.21.x, including Trial Omen, Raid Omen, Wind Charged, Weaving, Oozing, and Infested added for the Tricky Trials update.
Do old numerical effect IDs still work?
Only on Java Edition 1.12.2 and earlier, where /effect accepted numbers such as 1 for Speed. Since 1.13 you must use the namespaced form minecraft:speed. The legacy column on this page shows reviewed 1.12.2 values only.
How do I get level II or higher of an effect?
The last number in the command is the amplifier, starting at 0: /effect give @p minecraft:strength 60 0 gives Strength I, and amplifier 1 gives Strength II. Survival potions reach level II with glowstone; higher levels need commands.