Traps and Environmental Hazards Rules
Traps and environmental hazards are among the most mechanically layered elements in Dungeons & Dragons 5th Edition — simultaneously a world-building tool, a pacing mechanism, and a genuine threat that can drop a character from full health to unconscious in a single failed saving throw. This page covers how traps are defined under the rules, how detection, triggering, and damage resolution work, how environmental hazards differ from constructed traps, and where Dungeon Masters face the most common judgment calls. Whether it's a pressure plate in a dungeon corridor or a blizzard on a mountain pass, the underlying logic is more unified than it first appears.
Definition and scope
A trap, in 5E terms, is any hidden mechanism or condition intentionally placed to harm, capture, or hinder creatures who encounter it. The Dungeon Master's Guide (pp. 120–123) organizes traps into two broad categories: simple traps, which resolve in a single moment, and complex traps, which operate over multiple rounds like a kind of slow-motion antagonist.
Environmental hazards occupy adjacent but distinct territory. These are naturally occurring or supernaturally charged conditions — extreme cold, poison spores, magical radiation, collapsing ceilings — that aren't the product of deliberate construction. The DMG addresses environmental threats under "Wilderness Hazards" and scattered rules throughout the "Adventure Environments" chapter. The practical difference matters: a trap implies someone set it, which has implications for disarming it, detecting it, and sometimes for narrative blame. A hazard just exists, indifferent and impersonal.
Both categories share the same mechanical spine: a trigger condition, an effect, and usually a saving throw or ability check that determines how badly things go.
How it works
The resolution sequence for a trap breaks into four distinct stages:
- Detection — A creature with a passive Perception score meeting or exceeding the trap's DC notices it without actively searching. Active searches use an Investigation check (for mechanical traps) or Perception (for sensory cues). The DMG recommends setting trap DCs between 10 and 25 depending on the trap's sophistication.
- Triggering — When a creature meets the trigger condition (stepping on a plate, opening a chest, breaking a tripwire), the trap activates. Some traps allow a Dexterity saving throw to avoid the trigger entirely if a creature notices it in time.
- Effect resolution — The trap delivers its effect: damage, a condition (restrained, paralyzed, poisoned), or a change to the environment. Damage traps typically deal between 1d6 and 22d10 hit points depending on their intended threat level for a given character tier.
- Disarming — A character with thieves' tools can attempt a Dexterity check against the trap's DC to disable it. Failing by 5 or more triggers the trap immediately.
Environmental hazards skip steps 1 and 4 almost entirely. There's no tripwire to find, no mechanism to disarm. The DMG's rules on extreme heat (p. 110) and extreme cold (p. 110) impose Constitution saving throws at set intervals — once per hour in most cases — with failure causing 1d4 levels of exhaustion. Exhaustion is one of the more punishing conditions in 5E, since level 6 means death, and the levels stack without rest.
Common scenarios
The most familiar trap type is the damage spike: a pit trap, a dart trap, a swinging blade. These are fast, often lethal, and reward attentive players who declared they were searching. Less common but more tactically interesting are restraint traps — nets, bear traps, glyph-triggered hold person effects — that remove action economy rather than hit points.
Complex traps deserve special attention. A flooding chamber or a room with closing walls is essentially a trap with its own initiative count. The DMG suggests rolling initiative for complex traps (p. 122), giving them a turn in combat. This reframes the encounter from "bad luck happened" to "now solve the puzzle while also fighting." The difference in table energy is significant.
Environmental hazards cover a wide range in official sourcebooks. Xanathar's Guide to Everything (pp. 105–111) expands wilderness hazards to include brown mold (which halves fire damage and deals 22 cold damage in a 5-foot radius), razorvine (which deals 1d10 slashing damage per 5 feet of contact), and the ever-dreaded yellow mold (1d6 Constitution damage per round, save DC 15). These entries give DMs named, numbered threats to deploy rather than improvised approximations.
The key dimensions and scopes of DnD page provides useful context for how traps fit into the broader structure of encounter design across tiers of play.
Decision boundaries
Three judgment calls come up repeatedly at the table, and the rules leave all three to the DM.
Passive Perception vs. active search: The rules support both triggering passive detection and requiring active Investigation. The distinction matters enormously at lower levels, where a 1st-level rogue might have a passive Perception of 14 but an Investigation modifier of +1. A trap with DC 15 becomes nearly invisible to the one character most expected to find it.
Trap vs. hazard classification: A magical trap that mimics an environmental effect — a glyph of warding that releases a cloud of poison gas — sits in ambiguous territory. The DnD frequently asked questions page addresses some of the cross-rule questions that arise from these overlaps.
Damage scaling: The DMG offers a damage-by-level table that ties trap lethality to character tier, but it's a guideline, not a constraint. A Deadly trap at tier 1 (characters level 1–4) deals 11–16 average damage — enough to one-shot most characters at level 1 with a Constitution of 10.
The broader how it works framework on this site covers the action economy and saving throw math that underlies all of these interactions. For edge cases involving spell effects embedded in traps, the how to get help for DnD page points toward community and official resources that go deeper than any single rulebook.