Stealth and Hiding Rules
Stealth and hiding mechanics govern how creatures conceal themselves from detection in Dungeons & Dragons 5th Edition, establishing the conditions under which a character can vanish from enemies' awareness and the rules that determine whether that concealment holds. These rules intersect with the Dexterity (Stealth) skill, the Perception skill of observers, and the visibility conditions of the environment. Mastery of these mechanics is essential for rogues, rangers, and any player whose character relies on surprise, ambush, or evasion as primary tactical tools. The rules also present some of the most frequently disputed adjudication moments at the table, making precise reference to the published framework critical for consistent rulings.
Definition and scope
Hiding, under the rules published in the Player's Handbook for D&D 5th Edition, is the act of becoming unseen and unheard to the point where a creature's location becomes unknown to one or more observers. A creature that successfully hides is considered hidden from those who fail to detect it — a status distinct from merely being invisible or obscured. Hiding is an active choice requiring the Hide action (or in some cases, a bonus action granted by certain class features). The scope of these rules extends across exploration, social, and combat contexts, though the mechanical weight is heaviest in combat situations where hidden status confers specific tactical advantages.
The Dexterity (Stealth) check is the primary resolution mechanic, opposed by the passive Perception score of observers or an active Wisdom (Perception) check when an observer is actively searching. Both skill checks and proficiency directly influence the probability of success in either role.
How it works
The Hide action follows a specific sequence of conditions and checks:
-
Meet the prerequisite conditions. A creature must be heavily obscured, or behind cover sufficient to block line of sight, before attempting to hide. The rules specify that a creature cannot hide from an observer who can clearly see it — "heavily obscured" includes areas of darkness, dense fog, or thick vegetation.
-
Take the Hide action. On a character's turn in combat, hiding requires the Hide action (or a bonus action for rogues with Cunning Action, per the Player's Handbook rogue class description). Outside combat, hiding is typically resolved as a Dexterity (Stealth) ability check during exploration or social scenes.
-
Roll Dexterity (Stealth). The result is compared against the passive Wisdom (Perception) score — equal to 10 plus the observer's Wisdom modifier and any Perception proficiency — of all creatures that might detect the hider. An active observer instead rolls Wisdom (Perception) and compares their result to the Stealth check.
-
Hidden status granted or denied. If the Stealth check exceeds the relevant Perception threshold, the creature's position becomes unknown to the observer. Importantly, the observer knows a creature is somewhere in the area; the hidden status means the precise location is unknown.
-
Hidden status ends. A hidden creature reveals itself automatically by moving out of cover, making an attack, or being discovered through a successful Perception check. Certain spells and features can bypass the standard detection framework entirely.
The interaction between darkness and vision rules is critical here: a creature with darkvision in darkness does not have its vision reduced to zero — it sees in shades of gray — but a creature without darkvision attempting to detect a hidden creature in darkness suffers from the constraints of that condition.
Common scenarios
Ambush from stealth. A rogue moves into shadow before initiative is rolled, makes a Stealth check, and attacks from hiding. The attack roll is made with advantage against any target unaware of the rogue's location, and Sneak Attack eligibility is satisfied. After the attack resolves, hidden status ends.
Hiding mid-combat. A character ducks behind a pillar (at least half cover) and uses the Hide action. This is legal only if the pillar blocks the observer's line of sight sufficiently; a creature standing 5 feet from a pillar looking directly at a hiding character requires Dungeon Master judgment on whether the cover qualifies.
Group stealth during exploration. When a party moves through hostile territory, the Dungeon Master may call for a group Dexterity (Stealth) check. In a group check, the party succeeds if at least half the members succeed individually — a mechanic described in the exploration rules and in the Player's Handbook Chapter 7 on group checks.
The Invisible creature seeking to hide. Invisible creatures have advantage on Stealth checks, per the Invisible condition rules. However, hiding while invisible still requires meeting the positional prerequisites — an invisible creature still produces sound, and an observer might locate it through passive Perception against noise alone.
Decision boundaries
The most consequential adjudication distinctions in stealth center on three boundary conditions:
Heavily obscured vs. lightly obscured. A lightly obscured area (dim light, light fog, patchy foliage) imposes disadvantage on Perception checks but does not itself permit hiding. Only heavy obscurement permits the initial Hide attempt. This distinction is the source of the majority of disputed rulings at tables using the standard rules rather than optional and variant rules.
After attacking from hiding. Attacking breaks hidden status — but only after the attack resolves. The attacker benefits from advantage on the attack roll, then is no longer hidden regardless of outcome. Some features, such as the Wood Elf's Mask of the Wild trait, permit hiding again as a bonus action even in only lightly obscured conditions, carving out explicit exceptions to standard prerequisites.
Passive vs. active Perception. When a hidden creature is not being actively searched for, the observer's passive Perception applies. When an observer actively dedicates their action to searching, they roll Wisdom (Perception). The Search action is the formal mechanic for this transition, described in actions, bonus actions, and reactions. Active searching does not guarantee detection — it simply substitutes a roll for the passive threshold, which can be lower than 10 if the observer has a negative Wisdom modifier.
The advantage and disadvantage rules layer additional nuance: conditions like being deafened, in magical darkness, or subject to the Blur spell shift the probability landscape for both the hider and the observer without fundamentally altering the structural sequence above.
For a broader orientation to how subsystems like stealth integrate into the full mechanical architecture of the game, the how-recreation-works-conceptual-overview and the D&D core rules overview provide the structural context. The full index of rule topics is available at the site index.
References
- Player's Handbook, Dungeons & Dragons 5th Edition — Wizards of the Coast (Chapter 7: Using Ability Scores; Chapter 9: Combat — Hide action, Search action)
- Dungeon Master's Guide, D&D 5th Edition — Wizards of the Coast (Chapter 8: Running the Game — adjudication of stealth and perception)
- D&D Beyond Rules Compendium — Wizards of the Coast / Hasbro (Basic Rules, free public reference — Hiding, Stealth checks, Passive Perception)