How to Use Cover and Line of Sight in DnD 5e to Stay Alive and Control the Fight
Winning fights in 5e often looks like “big damage,” but it usually starts with “hard to hit.” The rules for cover and line of sight 5e turn ordinary rooms, doorways, and rubble into armor, stealth, and action denial. Use them on purpose and enemies spend turns missing, repositioning, or doing nothing useful.
Cover in Combat: The Three Levels That Matter
Cover is a defensive bonus based on how much of a creature is physically blocked from an attack or effect. The DM decides, but the categories are clear.
Half cover gives +2 AC and +2 to Dexterity saving throws. A low wall, a stout table, or a corner that hides about half the body counts. Example: a rogue kneels behind a tavern bar while a bandit shoots from the doorway. The bar is half cover, so the rogue’s AC jumps by 2 against the shot, and the rogue is also better at dodging a fireball’s edge.
Three-quarters cover gives +5 AC and +5 to Dexterity saving throws. Arrow slits, thick pillars, and a tight corner where only a shoulder is exposed often qualify. Example: an archer stands one square back from a stone doorway, so only a narrow angle is available. Most return fire clips the doorframe, and the archer effectively gains a shield and a half.
Total cover means a target cannot be targeted directly by an attack or spell that requires a target. A closed door, a solid wall, or full concealment behind a statue counts. Example: a wizard ducks entirely behind a masonry corner. An enemy archer cannot shoot the wizard at all, and a hold person that requires seeing the target cannot be cast on the wizard.
Practical note: cover is directional. A crate can be half cover from the goblins in front and no cover from the goblin on the balcony.
Line of Sight vs. Line of Effect: Why Spells Get Weird
Players often bundle “can see it” and “can hit it,” but 5e splits them.
Line of sight is visual. If you cannot see a creature or point, rules that require “a target you can see” or “a point you can see” shut off. Example: a warlock wants to cast hex on a cultist, but the cultist is behind opaque fog. No sight, no hex.
Line of effect is physical. Even if you can see a point through a window, an effect still needs a clear path unless the spell says otherwise. A classic rule is that a spell’s effect cannot pass through total cover. Example: an evoker sees an enemy through a glass window and tries to drop fireball “inside the room.” If the window is closed and treated as total cover, the bead hits the barrier and detonates on the near side, which is a fast way to roast the front line.
Keep a simple check in mind for cover and line of sight 5e during spell selection: “Do the words say you can see?” and “Is there solid stuff in the way?” Those two questions prevent most table arguments.
Corners, Doorways, Allies, and Elevation: The Battlefield Is a Rules Engine
Corners and doorways create safe angles. Step to the edge, take the shot, step back. Example: a ranger uses 5 feet of movement to expose a line, fires, then uses remaining movement to return behind the corner. Enemies without movement or a ready action cannot answer.
Allies can grant cover. A creature provides half cover if it blocks enough of the body, and that cuts both ways. Example: a fighter stands in a hallway in front of a cleric. The cleric is harder to hit from the front, but the cleric’s own guiding bolt may also be firing “through” the fighter depending on the angle, which can turn a clean shot into a cover-boosted miss.
Elevation changes angles and often reduces available cover. Example: an archer on a balcony can see over tables that would be half cover on the floor, while the same archer may be exposed to return fire from multiple lanes.
A quick habit helps: after every move, glance at two lines—one from the biggest enemy threat to the character, and one from the character to the intended target. If either line crosses a corner, a doorway edge, or a body, cover is probably in play.
Darkness and Fog: When Sight Breaks, Accuracy Breaks
Darkness and heavy obscurement block sight. That matters even when line of effect is open.
Example: a drow drops darkness on a choke point. The paladin can still walk into the area and swing, but attacks against unseen targets usually have disadvantage, and attacks from unseen attackers can have advantage. Spells that require seeing a target, such as many single-target control options, stop working across the darkness.
Fog, smoke, and thick foliage play similarly. The practical takeaway for cover and line of sight 5e is that obscurement is often “soft total cover” for spell targeting, even when arrows can technically fly through it.
If the party has darkvision, remember the fine print: darkvision turns darkness into dim light, and dim light still imposes disadvantage on Perception checks that rely on sight. Ambushes happen because someone “could see” but could not notice.

Quick Decision Rules for Ranged and Melee Characters
Ranged characters should treat cover as a default stance, not a lucky break. When choosing a square, prefer one that gives at least half cover from the most dangerous shooter or caster.
Example: a crossbow expert chooses the space behind a pillar that grants three-quarters cover from the enemy archer captain. The captain can still shoot, but +5 AC turns a respectable attack bonus into a long series of near misses.
Melee characters should use cover to approach, then use bodies and corners to limit counterattacks.
Example: a barbarian advances along the wall, staying in half cover from the enemy back line until the final dash into melee. Once engaged, the barbarian fights in the doorway so only one ogre can reach at a time, forcing the others to spend actions shoving, readying, or repositioning.
A simple rule works at the table: ranged builds seek angles; melee builds seek bottlenecks.
Spellcasting: “Target You Can See” vs. “Point You Can See”
Many control spells care about seeing a creature. Many area spells care about seeing a point. Those are different problems.
Example: hold person fails if the target is behind total cover or in heavy obscurement because it requires a creature you can see. By contrast, shatter targets a point within range. If you can see a point on the floor just past the doorway, shatter can punish enemies hiding behind the doorframe, even if you cannot see every body clearly.
Also watch for spells that say the effect spreads around corners. Example: fireball explicitly spreads around corners, but it still cannot originate through total cover if the chosen point is blocked. Pick a visible point that has a clear path, then let the spread do the work.
Movement Patterns That Win Rounds
Peek-and-shoot is the cleanest pattern for archers and blasters. Move out, attack, move back behind total cover. Example: a sorcerer steps into a doorway, casts ray of frost, then retreats behind the wall. Enemy archers lose the shot unless they ready actions, and readying actions taxes their action economy.
Break sight to dodge spells and focus fire. Many nasty effects require sight at the moment of casting. Example: an enemy mage is fishing for counterspell targets and banishment lines. A cleric ends a turn behind a column. The mage cannot see the cleric, so the mage cannot pick the cleric as a target for sight-based control.
Force wasted actions with terrain. If enemies must spend movement to get an angle, they often lose their best turn. Example: the party fights from behind a staircase. The hobgoblin captain has to dash to see anyone, and that means no multiattack. The fight swings because the captain’s “big turn” becomes a jog.
Treat cover and line of sight 5e as a planning tool, not a rules footnote. The safest character is usually the one the monsters cannot draw a clean line to, and the most dangerous party is the one that decides when lines exist at all.