Haste Effect Command
Copy the /effect command for Haste in Minecraft Java 26.2 and Bedrock 26.32. Default, infinite-duration, amplifier variants, and the clear command are all below.
Infinite duration (Java)
Java
/effect give @p minecraft:haste infiniteThe infinite keyword was added in Java 1.19.4. Use the legacy form below for older versions.
Max-duration / legacy (Java)
Java
/effect give @p minecraft:haste 1000000 0Bedrock
/effect @p haste 9999 0Haste II (Amplifier 1)
Amplifier is 0-indexed in commands: amplifier 0 = Level I, amplifier 1 = Level II.
Java
/effect give @p minecraft:haste 1000000 1Bedrock
/effect @p haste 9999 1Clear Haste
Java
/effect clear @p minecraft:hasteBedrock
/effect @p haste 0To clear all effects at once: /effect clear @p
What Haste does in-game
Increases mining and attack speed. Haste II (Amplifier I) is equivalent to the Efficiency V bonus—blocks break nearly instantly with a maxed-out tool.
Frequently asked questions
- What does Haste do in Minecraft?
- Increases mining and attack speed. Haste II (Amplifier I) is equivalent to the Efficiency V bonus—blocks break nearly instantly with a maxed-out tool.
- How long does Haste last with the infinite command?
- On Java Edition, the 'infinite' keyword makes the effect last until you manually clear it with /effect clear. On Bedrock, the maximum you can specify is 1,000,000 ticks (about 13.8 hours).
- Does the Haste command work in Bedrock Edition?
- Yes — use the Bedrock command shown above. Bedrock syntax omits the 'give' subcommand and 'minecraft:' namespace prefix, and does not support the 'infinite' keyword.