Traps and Environmental Hazards Rules
Traps and environmental hazards represent a distinct mechanical category in Dungeons & Dragons 5th Edition, governing how hidden dangers, triggered devices, and ambient threats interact with characters during exploration and combat. These rules define detection thresholds, trigger conditions, damage parameters, and resolution methods for both simple and complex hazard types. The framework appears across the Player's Handbook, Dungeon Master's Guide, and Xanathar's Guide to Everything, and applies to every phase of play from dungeon delving to wilderness travel.
Definition and scope
Within the D&D 5e rules framework, a trap is a prepared mechanical or magical device designed to harm, restrain, or impede creatures when triggered under specific conditions. An environmental hazard is a naturally occurring or incidentally present threat — collapsing terrain, toxic atmosphere, extreme temperature, or supernatural ambient conditions — that operates without a deliberate trigger mechanism.
The Dungeon Master's Guide (2014) separates these two categories structurally but resolves them through overlapping mechanics: Perception checks for detection, Thieves' Tools or Investigation checks for neutralization, and saving throws or attack rolls for damage resolution. The scope extends to exploration rules, poison and disease rules, and darkness and vision rules, all of which interact with hazard adjudication.
Traps are further subdivided into simple traps and complex traps:
- Simple traps activate once, produce a single effect (a dart volley, a pit opening, a glyph detonation), and are resolved in a single roll sequence.
- Complex traps function over multiple rounds, have initiative counts, and may include 3 or more active components — escalating damage, changing room geometry, or sequential triggering stages — requiring sustained party response rather than a single check.
How it works
The core resolution sequence for a trap follows four stages:
- Detection — A passive Perception score equal to or exceeding the trap's DC allows automatic awareness before triggering. Active Investigation checks reveal mechanical details. Thieves' Tools proficiency applies a proficiency bonus to disarming checks.
- Triggering — A creature satisfies the trigger condition (pressure plate contact, trip wire crossing, proximity to a glyph within a defined radius).
- Saving throw or attack roll — The trap either forces a saving throw (Dexterity, Constitution, or Wisdom, depending on trap type) against a fixed DC or makes an attack roll using a specified bonus against the target's Armor Class as defined in attack rolls and armor class.
- Effect resolution — Damage is applied, a condition is imposed (poisoned, restrained, incapacitated), or positional displacement occurs.
The Dungeon Master's Guide establishes five danger levels for trap severity, correlating to character level tiers. A "Setback" trap (levels 1–4) deals an average of 5 (1d10) damage and carries a DC of 10–11. A "Deadly" trap at levels 17–20 deals an average of 55 (10d10) damage at DC 20–23. These calibrations anchor trap design to the damage-per-round expectations described in encounter building rules.
Environmental hazards bypass the triggering model. A lava field, a collapsing ceiling, or a zone of extreme cold applies effects automatically on each turn a creature remains within the defined area, often dealing recurring damage at the start or end of a creature's turn — integrating directly with initiative and turn order tracking.
Common scenarios
Pit traps represent the baseline mechanical example in 5e. A standard pit trap covers a 10-foot square, has a DC 15 Perception check to detect, and deals 1d6 bludgeoning damage per 10 feet of fall depth. A spiked pit adds piercing damage and may impose the poisoned condition if the spikes are coated, engaging the rules covered in poison and disease rules.
Glyph of Warding is a spell-based trap mechanism. Cast at 3rd level or higher, it stores another spell of up to 3rd level (or 8th level when upcast) for later triggering. Detection requires a DC 15 Intelligence (Investigation) check and the glyph cannot be perceived by passive Perception alone — a distinction with significant tactical consequences.
Falling objects and structural collapse function as environmental hazards rather than traps. The Dungeon Master's Guide assigns a 2d10 bludgeoning damage baseline for a falling stone block of moderate weight, escalating with size. Structural collapse in a 20-foot radius deals 4d10 bludgeoning damage (DC 15 Dexterity saving throw for half).
Extreme environments — arctic cold, desert heat, high altitude — impose exhaustion rules stages over time rather than immediate damage, creating sustained resource attrition rather than acute crisis.
Decision boundaries
Dungeon Masters applying trap rules encounter 4 recurring adjudication questions:
- Detection vs. triggering simultaneity — If a character with passive Perception 14 crosses a DC 12 pressure plate, the trap is detected but the trigger condition is already satisfied. Rules-as-written, passive Perception awareness does not automatically prevent triggering; the character must use a reaction or prior action to avoid contact.
- Disarming complexity — The Dungeon Master's Guide does not mandate a specific Thieves' Tools DC for all traps; DMs set individual DCs. A thieves' tools check disarms a mechanical trigger; a magical trap (e.g., Glyph of Warding) requires dispel magic or a spellcasting ability check against the spell save DC.
- Complex trap initiative — Complex traps act on a fixed initiative count (commonly 20 or set at trap creation). This integrates them into the combat sequence described in combat rules and requires tracking trap "hit points" or component states across rounds.
- Environmental hazard vs. spell overlap — A wall of fire creates a hazard-like zone but operates under spell rules, including concentration rules. Ambient fire in a burning building operates as a hazard, immune to dispel magic and not subject to concentration loss.
The distinction between simple and complex traps most directly shapes encounter pacing. A simple trap resolves in under 6 seconds of game time; a complex trap functions as a sub-encounter lasting the full duration of a combat sequence. This contrast is addressed further in the broader D&D core rules overview and in the context of the how-recreation-works-conceptual-overview framework for structured play.
The dndrules.com reference covers the full rules spectrum, including related mechanics such as stealth and hiding rules that intersect with trap placement and rogue-class detection capabilities.
References
- Dungeons & Dragons 5th Edition Dungeon Master's Guide (2014) — Wizards of the Coast
- Xanathar's Guide to Everything (2017) — Wizards of the Coast, Complex Traps section
- D&D 5e Player's Handbook (2014) — Wizards of the Coast
- Wizards of the Coast Systems Reference Document (SRD) 5.1 — CC 4.0 License