DnD Stealth and Hiding Rules
Stealth and hiding are among the most debated mechanics in Dungeons & Dragons 5th Edition — not because the rules are vague, but because they sit at the intersection of three different systems: ability checks, action economy, and the conditions of the environment. The result is a mechanic that rewards careful attention to the Player's Handbook but regularly trips up even experienced tables. This page covers how hiding works, when it's allowed, what breaks it, and where Dungeon Masters have genuine discretion versus where the rules are actually quite specific.
Definition and scope
In D&D 5e, hiding is governed by a single ability check: Dexterity (Stealth). The Player's Handbook (Chapter 7) defines the Stealth check as occurring when a character "attempts to conceal themselves from enemies, slink past guards, slip away without being noticed, or sneak up on someone without being seen or heard."
The scope here is important. Stealth is not invisibility, and hiding is not the same as simply being quiet. A character who hides successfully becomes unseen and unheard to specific creatures — but only those who were not observing the character at the moment they hid. This distinction matters enormously in combat, where a rogue trying to vanish mid-fight has to satisfy a specific condition: the Dungeon Master must agree that the character has a reasonable opportunity to become obscured.
The rules also distinguish between two related but separate concepts: the Stealth check (the roll) and the hidden condition (the state). Failing the check doesn't mean you made noise — it means an observer noticed you. Passing it means you have successfully hidden from that observer until something changes.
For a broader orientation to how D&D's core systems interact, including how ability checks relate to conditions and actions, the key dimensions overview is a useful starting point.
How it works
The mechanical sequence for hiding has 4 distinct steps:
- Satisfy the precondition. A character must be heavily obscured, behind cover, or otherwise out of direct sight lines before attempting to hide. Lightly obscured is not sufficient on its own.
- Take the Hide action. In combat, this costs the full action (or Bonus Action for rogues with Cunning Action). Outside combat, the DM calls for a check when the situation demands it.
- Roll Dexterity (Stealth) against the passive Perception of any creature that might detect you — or against an active Wisdom (Perception) check if a creature is actively searching.
- Maintain the hidden condition by not attacking, casting spells with verbal components, or stepping into clear line of sight.
The passive Perception threshold is worth flagging. Most player characters have a passive Perception of 10–16, depending on Wisdom modifier and proficiency. A rogue with +7 to Stealth who rolls an 18 has a total of 25 — enough to hide from nearly any standard NPC, whose passive Perception rarely exceeds 15 (Player's Handbook, Chapter 7, "Hiding").
A full breakdown of how checks, saves, and contested rolls interact with the core ruleset is covered in the how-it-works section.
Common scenarios
In combat: A rogue uses Cunning Action to hide behind a pillar after making an attack. The DM determines whether the pillar provides sufficient cover for the hide attempt. If successful, the rogue's next attack has advantage, and the target doesn't know which square to target if it tries to strike back — it must guess, with a 50% miss chance (Player's Handbook, Chapter 9, "Unseen Attackers and Targets").
Out of combat: A ranger tries to tail a merchant through a crowded market. The DM might call for a Stealth check contested by the merchant's passive Perception, or by an active Perception check if the merchant is suspicious.
Group stealth: When the whole party needs to move quietly — past a sleeping dragon, through a guard barracks — the rules use the group check mechanic. At least half the characters must succeed for the group to avoid detection. This is explicit in the Player's Handbook (Chapter 7, "Group Checks"), not a common house rule.
Invisible but not hidden: A character under the invisibility spell is heavily obscured visually, but not automatically hidden. Other creatures still know roughly where an invisible character is if they can hear footsteps, smell them, or track other cues. Hiding while invisible requires the same Hide action and Stealth check.
Decision boundaries
The most common DM judgment calls cluster around a handful of recurring questions.
"Can I hide here?" The Player's Handbook gives DMs final authority on whether cover is sufficient. A thin curtain, a cluster of three market stalls, the shadow under a staircase — these are judgment calls. The rule of thumb used by the official D&D team (per the 2019 Sage Advice Compendium) is that a creature must be behind an obstacle, not merely adjacent to it.
"Does moving break stealth?" Moving does not automatically break the hidden condition. A character can move while hidden, as long as they remain obscured. Moving into a lit area or past a creature's clear sightline does break it.
"Does attacking always reveal you?" Attacking — melee or ranged — reveals position after the attack. The attack itself still gets advantage (because the target didn't know where the blow was coming from), but after the action resolves, the character is no longer hidden.
These distinctions separate stealth as a puzzle-solving mechanic from stealth as a binary on/off switch. The D&D FAQ page addresses additional edge cases around hiding, invisibility, and perception that come up at real tables.
One final contrast worth keeping in mind: passive Perception checks for awareness of hidden creatures; active Perception checks when a creature is specifically searching. A guard walking down a hall uses passive Perception. A guard who heard a noise and is now looking hard uses an active check — and active checks can exceed passive scores when dice fall favorably.