Skip to content
[/craft]

Night Vision Effect Command

Copy the /effect command for Night Vision 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:night_vision 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:night_vision 1000000 0
Bedrock/effect @p night_vision 9999 0

Clear Night Vision

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

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

What Night Vision does in-game

Makes dark areas appear fully lit. Everything renders at light level 15, both underwater and in caves. Does not affect mob spawning.

Frequently asked questions

Does Night Vision affect mob spawning?
No. Night Vision only changes how your screen renders — it does not raise actual in-game light levels, so mobs still spawn in dark areas.
Can Night Vision be applied permanently?
On Java, use `infinite` as the duration. On Bedrock, the max duration is 1,000,000 ticks (~13.8 hours), so reapply it as needed.
Does Night Vision work underwater?
Yes — it fully lights the underwater environment, making it one of the most useful effects for ocean exploration.
Browse all Effect commands →/effect builder →Java vs Bedrock guide →