Skip to content
[/craft]

Invisibility Effect Command

Copy the /effect command for Invisibility 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:invisibility infinite

The 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:invisibility 1000000 0
Bedrock/effect @p invisibility 9999 0

Clear Invisibility

Java/effect clear @p minecraft:invisibility
Bedrock/effect @p invisibility 0

To clear all effects at once: /effect clear @p

What Invisibility does in-game

Makes your character model invisible to other players and most mobs. Armor is still visible if equipped. Mobs will still detect you at close range.

Frequently asked questions

Does Invisibility hide my armor?
No — armor remains visible even when you are invisible. Remove your armor to become fully undetectable to other players.
Will mobs stop targeting me when invisible?
Most mobs stop targeting you from a distance, but they can still detect you within a few blocks, especially if you are wearing armor.
Does Invisibility work in Bedrock Edition?
Yes. The syntax is slightly different — use `/effect @p invisibility 9999 0` (no 'give' subcommand, no 'minecraft:' prefix, no 'infinite' keyword).
Browse all Effect commands →/effect builder →Java vs Bedrock guide →