Minecraft Wiki
For the command in Bedrock Edition, see Commands/fog.

Fog is a rendering feature intended for obscuring the player's view distance, usually for atmospheric effect or for seamlessly occluding sharp boundaries such as unloaded chunks. While traditionally referring to render distance, there are many other types of fog that can be encountered in-game under specific circumstances.

Java Edition[]

Fog types[]

There are four fog types four different circumstances.

Distance fog[]

Nether Star
This section's name is unofficial. 
An official name is yet to be given to the subject matter. Please add an official name when reliable sources confirm it.

This refers to fog which is rendered in normal circumstances, and becomes the most notable with low render distance.

The sight distance in the distance fog is equal to the render distance, and the shape is a cylinder. Its color depends mainly on the biome the camera is in, and is affected by:

  • the current day-time, and the effect the dimension uses
    • For overworld effect, the brightness of the color changes with day time.
    • For the nether effect, the brightness of the color is not affected by day time.
    • For the end effect, the brightness of the color does not change with day time, but is 15% of the biome fog color.
  • the current sky color, and the render distance
    • The smaller the rendering distance, the closer the color of the fog is adjusted to the sky color.
    • When the rendering distance is 32, the color of the fog is not affected by the sky color.
  • the direction the player is facing during a sunrise or sunset if the render distance is not less than 4
  • the current weather

Water fog[]

When the camera is in water, a dedicated fog in the shape of a cylinder is applied to simulate this. Underwater fog progressively recedes with time spent underwater. The color is depends on the biome the camera is in. The color of the water fog changes gradually for 5 seconds when the camera travelled in water into another biome. Notably, swamps and mangrove swamps have a thicker fog than most other biomes, which is controlled by the biome tag has_closer_water_fog.

Lava fog[]

When the camera is in lava, an even thicker fog in the shape of a sphere is applied. Its color is RGB(0.6,0.1,0.0). With this fog, normally the player can see only 1 block away. The Fire Resistance effect can mitigate the fog so that the sight distance becomes 3 blocks. In spectator mode, the fog becomes more thinner so that things within half of the render distance are visible.

Powder snow fog[]

Being beneath powder snow imparts another fog in the shape of a sphere. Its color is RGB(0.623, 0.734, 0.785). With this fog, normally the player can see only 2 blocks away. In spectator mode, the fog becomes more thinner so that things within half of the render distance are visible.

Fog modifiers[]


If the world is not a superflat world, and the camera is not in lava and not in powder snow, the brightness becomes power(clamp((y-minY)*0.03125,0.0,1.0)) of the original, which means that the color changes to pure black gradually from minY+32 to minY.

Blindness and darkness[]

Blindness and darkness set the color to pure black. The sight distance with blindness is 5 blocks, while the sight distance with darkness is 15 blocks. And the shape of the fog becomes a sphere.

A difference between the two is that darkness has fade-in and fade-out, while blinding has only fade-out.

Blindness has a higher priority than darkness. The two effects do not work if the camera is in lava or powder snow.


If there is a wither boss event, the color becomes darker and slightly redder.

Night vision[]

If the camera is not in water, and the entity has no darkness effect, night vision makes the color brighter.

Nether and ender dragon[]

If the entity has no blindness or darkness, in a dimension with the nether effect, or a dimension where there's an ender dragon boss event,the sight distance in the distance fog (not water, lava, powder snow fog) is half of the rendering distance, and the maximum sight distance is 96 blocks. The shape becomes a sphere.


Void fog[]

This section describes content that exists only in outdated versions of Java Edition. 
This feature used to be in the game, but has ever since been removed.It may or may not return in a future update.
Void fog

In prior versions of Java Edition (specifically Beta 1.8 Pre-release through 14w34b inclusive, up to its removal in 14w34c), a thick black fog was introduced. As the player descended below Y=26[verify], this fog would start to appear. As the player traveled deeper, the fog at the edge of the render distance would become closer until the player reached the first layers of bedrock, where visibility was reduced to just a few blocks, beyond which was complete darkness. The gray void particles started appearing below Y=8[verify], as well as in the void.

The existence of this fog depended on a lack of sky lighting.[verify] If vent holes were opened up to allow sky light to enter an otherwise secluded underground space, void fog would no longer be present so long as the player kept near this sky light source.

Void fog was removed late into 1.8's development for performance reasons and general community distaste.[1]

Bedrock Edition[]

In Bedrock Edition, fogs has six types used in six different circumstances:

  • air: When the camera is in air
  • water: When the camera is in water
  • lava: When the camera is in lava, and the player has no fire resistance
  • lava resistance: When the camera is in lava, and the player has fire resistance
  • weather: When in air and it's raining
  • powder snow: When the camera is in powder snow

In a fog setting file in a resource pack, one or more of above types can be specified. Active fog settings are determined from three aspects:

  • Custom fog stack (from /fog command)
  • Fog settings for the current biome
  • Default fog setting

Whenever the game needs to get the current fog, it checks the fog settings from these three aspects from the top (the newest fog setting in the fog stack from the command) to the bottom (default fog setting) in order, until it finds a fog definition for the current fog type. If it finds no matching setting, the game uses the hardcoded defaults of the engine.

In other words, this is equivalent to that all fog settings from the three aspects are applied one by one from the bottom (default fog setting) to the top (the newest fog setting in the fog stack from the command) in order. The fogs defined in the later fog setting overrides the earlier's. Each fog type works independently. Hardcoded default setting of the engine is applied before settings from these three aspects.

See also this official document.

Vanilla fog settings[]

Here are all the fog setting IDs that are currently in the vanilla game.

  • minecraft:fog_bamboo_jungle
  • minecraft:fog_bamboo_jungle_hills
  • minecraft:fog_basalt_deltas
  • minecraft:fog_beach
  • minecraft:fog_birch_forest
  • minecraft:fog_birch_forest_hills
  • minecraft:fog_cold_beach
  • minecraft:fog_freezing_ocean
  • minecraft:fog_cold_taiga
  • minecraft:fog_cold_taiga_hills
  • minecraft:fog_cold_taiga_mutated
  • minecraft:fog_crimson_forest
  • minecraft:fog_deep_cold_ocean
  • minecraft:fog_deep_frozen_ocean
  • minecraft:fog_deep_lukewarm_ocean
  • minecraft:fog_deep_cold_ocean
  • minecraft:fog_deep_warm_ocean
  • minecraft:fog_default
  • minecraft:fog_desert
  • minecraft:fog_desert_hills
  • minecraft:fog_extreme_hills
  • minecraft:fog_extreme_hills_edge
  • minecraft:fog_extreme_hills_mutated
  • minecraft:fog_extreme_hills_plus_trees
  • minecraft:fog_extreme_hills_plus_trees_mutated
  • minecraft:fog_flower_forest
  • minecraft:fog_forest
  • minecraft:fog_forest_hills
  • minecraft:fog_frozen_ocean
  • minecraft:fog_frozen_river
  • minecraft:fog_hell
  • minecraft:fog_ice_mountains
  • minecraft:fog_ice_plains
  • minecraft:fog_ice_plains_spikes
  • minecraft:fog_jungle
  • minecraft:fog_jungle_edge
  • minecraft:fog_jungle_hills
  • minecraft:fog_jungle_mutated
  • minecraft:fog_lukewarm_ocean
  • minecraft:fog_mangrove_swamp
  • minecraft:fog_mega_spruce_taiga
  • minecraft:fog_mega_spruse_taiga_mutated
  • minecraft:fog_mega_taiga
  • minecraft:fog_mega_taiga_hills
  • minecraft:fog_mega_taiga_mutated
  • minecraft:fog_mesa
  • minecraft:fog_mesa_bryce
  • minecraft:fog_mesa_mutated
  • minecraft:fog_mesa_plateau
  • minecraft:fog_mesa_plateau_stone
  • minecraft:fog_mushroom_island
  • minecraft:fog_mushroom_island_shore
  • minecraft:fog_ocean minecraft:fog_plains
  • minecraft:fog_powder_snow
  • minecraft:fog_river
  • minecraft:fog_roofed_forest
  • minecraft:fog_savanna
  • minecraft:fog_savanna_mutated
  • minecraft:fog_savanna_plateau
  • minecraft:fog_soulsand_valley
  • minecraft:fog_stone_beach
  • minecraft:fog_sunflower_plains
  • minecraft:fog_swampland
  • minecraft:fog_swampland_mutated
  • minecraft:fog_taiga
  • minecraft:fog_taiga_hills
  • minecraft:fog_taiga_mutated
  • minecraft:fog_the_end
  • minecraft:fog_warm_ocean
  • minecraft:fog_warped_forest


Java Edition Classic
0.0.14aImplemented fog. It only appears for lit surfaces.
Java Edition Indev
0.31?The color of fog, clouds and the sky can now be configured via map editing.
Java Edition Infdev
20100227-1With the deprecation of indev worlds, fog color is no longer customizable.
?Added water fog.
?Added lava fog.
?Added nether fog.
?Added blindness fog.
Java Edition Beta
1.8Pre-releaseAdded void fog.
Pre-release 2 ;)Many of void fog's effects can be circumvented by having sky access.
Java Edition
1.111w48aPlayers in creative mode can no longer see void fog.
1.7.213w36aThe distance where fog starts has been doubled.
13w38aRe-adjusted fog to appear near the render distance limit again, reverting changes made in 13w36a.
Fog now covers 25% of the render distance, compared to 75% before 13w36a.
1.814w34cRemoved void fog and its associated particles.
1.1318w08bWater now appears fully fogged when entered, and gradually becomes clearer over time.
The Respiration enchantment and Water Breathing effect no longer have an effect on water fog.
18w10aWater fog now varies per biome.
Water fog now no longer takes time to clear in Spectator mode.
1.1620w09aFog color no longer changes abruptly when switching biomes.[2]
Pre-release 3The Fire Resistance effect now makes under-lava fog slightly less harsh.
?Fog color is now something that can be changed by custom biomes.
1.16.2Pre-release 1Added dimension effects, allowing for nether fog to be applied to any custom dimension.
1.1720w46aAdded powder snow, which has its own dedicated fog effect.
20w48aHow submerged the player has to be in lava to see the fog effect has now changed.[3]
21w10aDistance fog is now spherical, and no longer changes based on the view angle.[4]
21w11aUnderwater fog is now far less intense when in Spectator mode.[verify] However, it is still present.[5]
Lava fog is now far less intense when in Spectator mode.[6] However, it is still present.[7]
Powder snow fog is now far less intense when in Spectator mode.[8] However, it is still present.[9]
1.18.1Pre-release 1World fog now starts further away from the player, to make distant terrain more visible.
Instead of applying fog as a spherical volume, it is now applied as a cylindrical volume, making it easier to see into the distance when standing on tall mountains.
Pocket Edition Alpha
v0.1.0Added distance, water, and lava fog.
All fog types are a flat plane based on the camera angle. Distance fog starts at 50% of the render distance and becomes fully opaque at the render distance limit. Water and lava fog both start at the camera and become fully opaque at 32 blocks and 3 blocks, respectively.
v0.5.0Distance fog now covers 10% of the render distance.
v0.6.0Distance fog now covers 40% of the render distance.
v0.8.0build 1Distance fog now covers 30% of the render distance.
Due to changes made to chunk rendering in this version, fog is now only visible on chunks that are far enough away from the player. This can cause sharp borders between areas with and without distance fog, especially on lower render distance settings. This also means that water and lava fog are no longer visible since this version made it so that far chunks do not render while water or lava fog is active.
build 4Water and lava fog are once again visible in rendered chunks.
v0.9.0build 1Distance fog now covers % of the render distance, with being the player's render distance in blocks.
This version also added a minimum start distance of 72 blocks to distance fog, resulting in glitchy behavior if the player sets their render distance to 4 chunks.
build 2The glitchy low render distance fog behavior in the previous build was fixed by adding a minimum distance of 4 blocks between the render distance limit and the start of the fog area, which overrides the aforementioned 72 block minimum start distance.
v0.10.0build 1Distance fog now covers % of the render distance, with being the player's render distance in blocks.
Distance fog now becomes fully opaque at 20% of the distance between the player and the render distance limit.
The 72 block minimum start distance for distance fog has been removed.
Water fog now becomes fully opaque 8 blocks away from the camera.
Lava fog now becomes fully opaque 1 block away from the camera.
Sky coloring is now visible through water and lava fog if the "Beautiful skies" toggle is enabled.
build 2All fog is now spherical and no longer changes based on the camera angle when fancy graphics is on.
Distance fog now covers % of the render distance, with being the player's render distance in blocks.
Distance fog once again becomes fully opaque at the render distance limit.
?Added lava resistance fog.
?Added weather fog.
Bedrock Edition
Caves & Cliffs (experimental)beta powder snow fog.


Issues relating to "Fog" are maintained on the bug tracker. Report issues there.