Vision

Vision describes what a unit can and can't see from its current location and state. Places a unit cannot see are filled with the Fog of War, a dark mist that hides units inside of it. Invisible units can't be seen even when outside of the Fog of War, unless they are spotted by a unit with True Sight. Units can't see through trees or to higher elevations - the only exceptions to this rule are flying units, who have unrestricted Vision, and Night Stalker with an Aghanim's Scepter at night.

All units on your team share Vision, which means that if a unit can see through the Fog of War, all allies can as well. This also applies to Lane Creeps, other controlled Creeps, and Buildings.

Fog of War
All areas outside of friendly Vision become Fog of War. Any non-friendly units within the Fog of War cannot be seen or targeted (it is effectively invisible), however they can still be hit by non-targeted spells. To reveal units in the Fog of War, an allied unit must gain vision in that area. Observer Wards will provide vision in an area to their team.

If a unit in the Fog of War attacks an enemy that does not have vision of them, they will be revealed temporarily.

Elevation and Trees
Units cannot see areas that are on higher elevations than them, while units on higher ground receive unrestricted vision below. Additionally, any ranged units attacking an enemy on higher elevation have a 25% chance to miss their target. Trees also block vision, and can be used to escape enemies by running through small gaps in them (known as "Juking"). When Trees are cut down or destroyed, they no longer block vision. Targeted abilites also disjoint if in animation phase even if successfuly cast on a enemy that entered fog of war via elevation.

Day and Night
Most units have different vision ranges for the day and night cycles. Generally, units see a lot farther during the day than they do at night. Most heroes have 1800 units of vision during the day, and 800 at night, though there are several exceptions. This makes ganking a lot more viable at night, because Heroes can get much closer without being detected.

Below is a table of all exceptions to the 1800/800 rule: {| class="wikitable" width="500" style="text-align:center;" ! class="header" scope="col" width="150"|Hero ! class="header" scope="col" width="100"|Day ! class="header" scope="col" width="100"|Night
 * Alchemist || 1800 || 1400
 * Ancient Apparition || 1800 || 1400¹
 * Batrider || 1400 || 800
 * Bounty Hunter || 1800 || 1000
 * Drow Ranger || 1800 || 1700¹
 * Enchantress || 1800 || 1800¹
 * Leshrac || 1800 || 900¹
 * Luna || 1800 || 1800*
 * Lycanthrope || 1800 || 1800*
 * Meepo || 1800 || 1800¹
 * Mirana || 1800 || 1200¹
 * Night Stalker || 1200 || 1800
 * Puck || 1800 || 1200¹
 * Slark || 1800 || 1800
 * Sniper || 1800 || 1000
 * Treant Protector || 1800 || 1200¹
 * colspan="3" | * Luna is granted 1800 night vision range by leveling her Lunar Blessing ability.
 * colspan="3" | * Lycanthrope is granted 1800 night vision range when he uses his Shapeshift ability.
 * colspan="3" | ¹ Changed in 6.79c - "The following heroes now have the standard 800 night vision: Drow Ranger, Mirana, Puck, Leshrac, Enchantress, Ancient Apparition, Meepo and Treant Protector"
 * Meepo || 1800 || 1800¹
 * Mirana || 1800 || 1200¹
 * Night Stalker || 1200 || 1800
 * Puck || 1800 || 1200¹
 * Slark || 1800 || 1800
 * Sniper || 1800 || 1000
 * Treant Protector || 1800 || 1200¹
 * colspan="3" | * Luna is granted 1800 night vision range by leveling her Lunar Blessing ability.
 * colspan="3" | * Lycanthrope is granted 1800 night vision range when he uses his Shapeshift ability.
 * colspan="3" | ¹ Changed in 6.79c - "The following heroes now have the standard 800 night vision: Drow Ranger, Mirana, Puck, Leshrac, Enchantress, Ancient Apparition, Meepo and Treant Protector"
 * Sniper || 1800 || 1000
 * Treant Protector || 1800 || 1200¹
 * colspan="3" | * Luna is granted 1800 night vision range by leveling her Lunar Blessing ability.
 * colspan="3" | * Lycanthrope is granted 1800 night vision range when he uses his Shapeshift ability.
 * colspan="3" | ¹ Changed in 6.79c - "The following heroes now have the standard 800 night vision: Drow Ranger, Mirana, Puck, Leshrac, Enchantress, Ancient Apparition, Meepo and Treant Protector"
 * colspan="3" | * Lycanthrope is granted 1800 night vision range when he uses his Shapeshift ability.
 * colspan="3" | ¹ Changed in 6.79c - "The following heroes now have the standard 800 night vision: Drow Ranger, Mirana, Puck, Leshrac, Enchantress, Ancient Apparition, Meepo and Treant Protector"
 * colspan="3" | ¹ Changed in 6.79c - "The following heroes now have the standard 800 night vision: Drow Ranger, Mirana, Puck, Leshrac, Enchantress, Ancient Apparition, Meepo and Treant Protector"
 * colspan="3" | ¹ Changed in 6.79c - "The following heroes now have the standard 800 night vision: Drow Ranger, Mirana, Puck, Leshrac, Enchantress, Ancient Apparition, Meepo and Treant Protector"

Buildings
Allied Buildings share vision through the Fog of War with their entire team. Below is a table listing the vision ranges of all buildings:

Flying Vision
Flying vision gives unrestricted vision in an area, it is not blocked by trees or obstacles and can see all elevations.

Sources of Flying Vision