Set the trap too shallow and sewer gas creeps into the bathroom; set it too deep and it self-siphons and drains slowly. Getting the shower drain p-trap depth correct during rough-in is one of those small dimensions that separates a clean, code-compliant job from a callback six months later. If you’re framing a new bathroom, moving a shower, or just trying to understand what the inspector is looking for, this guide covers the numbers that matter: trap seal depth, rough-in height, pipe diameter, and the fitting layout that keeps water flowing and gas out.
Part of our Bathroom Remodeling & Flooring guide — explore the full guide →
- What "Trap Depth" Actually Means
- Pipe Size and Trap Size
- Rough-In Depth Below the Floor
- Locating the Drain: Centering and Offset
- The Vent: Why Trap Depth Alone Won't Save You
- Common Mistakes That Fail Inspection
- Slab vs. Wood-Frame Rough-In Differences
- Deep-Seal and Special Traps
- Getting It Right the First Time
What “Trap Depth” Actually Means
There are two measurements people lump together, and confusing them causes real problems. The first is the trap seal depth, the vertical distance between the top of the trap’s dip (the crown weir) and the bottom of the outlet. Plumbing code sets this at a minimum of 2 inches and a maximum of 4 inches of water seal. That column of standing water is the physical barrier that blocks sewer gas. The second measurement is the rough-in depth, how far below the finished floor the trap and drain body sit.
For a standard residential shower, aim for a 2-inch trap seal. That’s the sweet spot: deep enough to survive normal evaporation between uses, shallow enough that a full drain of water won’t yank the seal out by siphon action. A 3-inch seal is fine and slightly more evaporation-resistant, but you rarely need to go there.
Pipe Size and Trap Size
Showers drain a lot of water fast, so the code minimum drain and trap size for a shower is 2-inch pipe. Do not use a 1.5-inch trap on a shower even though it physically fits; a 1.5-inch line can’t move a modern showerhead’s flow without backing up, and it clogs with hair far faster. Match the trap to the drain: a 2-inch shower drain body pairs with a 2-inch P-trap and a 2-inch trap arm running to the vented branch.
Buy a trap that matches your pipe material, PVC for most modern DIY work, ABS in regions where it’s standard. Solvent-weld the permanent joints and use a slip-joint or a threaded trap adapter only where you need future access.
Rough-In Depth Below the Floor
The trap has to sit low enough that the finished drain body ends up flush with the top of your shower pan or tile bed, not proud of it. On a slab, that means the trap is cast into or set below the concrete with the drain riser sized so the strainer finishes flush. On a wood-framed floor, you’re working in the joist bay: the P-trap hangs below the subfloor, and the tailpiece rises up through the pan opening.
A practical target is to have the top of the trap weir roughly 4 to 6 inches below the top of the subfloor for a typical mortar-bed tile shower, which leaves room for the pan slope, the drain body height, and the tile. For a pre-formed acrylic base, follow the manufacturer’s rough-in sheet exactly; those bases specify the drain center location and the height tolerance, often within a half inch.
Locating the Drain: Centering and Offset
Before you glue anything, confirm the drain’s horizontal position. For a custom tile shower you have flexibility, but for a prefab base the drain opening is fixed, commonly centered or set to one side, and your trap has to land under that hole. Dry-fit the base, mark the drain center on the subfloor, then cut your access and build the trap up to meet it. Getting this wrong by even an inch on a molded base means a stressed, angled connection that leaks.
- Standard center-drain bases: trap centers under the pan’s marked drain point.
- Linear drains: the trap connects at one end, so plan the outlet direction during framing.
- Custom mud-set pans: you have latitude, but keep the trap accessible to the branch and vent.
The Vent: Why Trap Depth Alone Won’t Save You
Even a perfectly dimensioned trap will fail if it isn’t vented. Without a vent, draining water creates suction that pulls the trap seal down the line, leaving you with sewer gas and gurgling despite a textbook 2-inch seal. Code sets a maximum distance between the trap and its vent based on pipe size, for a 2-inch trap arm, that developed length is commonly limited to around 5 feet, though your local code governs. The trap arm must also maintain the standard drainage slope of 1/4 inch per foot toward the branch.
If you’re roughing in a new shower, plan the vent takeoff at the same time you set the trap. Retrofitting a vent later, once tile is down, is far more expensive than getting it right during framing.
Common Mistakes That Fail Inspection
A few errors show up over and over on shower rough-ins:
- Double-trapping: installing a trap when the fixture or floor drain already has one built in causes constant siphoning. One trap per fixture, always.
- Undersized pipe: using 1.5-inch trap and drain instead of 2-inch. Inspectors catch this immediately.
- Flat trap arm: no slope, or reverse slope, so water sits and solids settle. Keep the 1/4-inch-per-foot fall.
- Trap seal too deep: exceeding 4 inches, which traps sediment and drains slowly.
- No accessible vent within the code distance, guaranteeing siphon problems.
Slab vs. Wood-Frame Rough-In Differences
The floor structure changes how you set the trap. On a concrete slab, the trap and drain riser are typically installed before the concrete is poured, cast in place so the strainer finishes flush with the eventual pan or tile. This is a one-shot operation, get the drain center and height wrong and you’re jackhammering concrete to fix it, so measure twice and confirm against the base manufacturer’s sheet before the pour. Many slab installs use a deep-seal trap and an adjustable drain body that lets you fine-tune the final height by an inch or so after the pour.
On a wood-framed floor, you have more forgiveness because the trap hangs in the open joist bay and the tailpiece rises through the subfloor. But you have a new constraint: joist locations. You cannot notch or drill joists indiscriminately to route the trap and drain line, structural code limits how much you can cut and where. Plan the drain location so the trap and its arm run parallel to the joists or cross them at approved points. If the drain lands right over a joist, you may need to shift the shower a few inches during framing rather than compromise a floor joist.
Deep-Seal and Special Traps
Standard traps give you the 2-inch seal, but a few situations call for alternatives. A deep-seal trap provides a 4-inch water seal and resists evaporation, useful for a shower that sits unused for long stretches, like a vacation home. For low-profile or curbless showers where vertical space is tight, low-profile drain bodies and offset traps let you hit the flush-finish requirement in a shallow floor assembly. Just remember the seal-depth rule still applies, no trap should give you less than 2 inches or more than 4 inches of water seal, regardless of its profile. Waterless trap primers or trap-seal inserts can supplement a standard trap in rarely used drains, keeping sewer gas out even when evaporation would otherwise empty the seal.
Getting It Right the First Time
Dial in your shower drain p-trap depth at rough-in and you’ll never think about it again. Use 2-inch pipe, target a 2-inch trap seal (never below 2 or above 4), set the drain body flush with the finished pan, keep the trap arm sloped and vented within the allowed distance, and never double-trap. Pull a permit where required and let the inspector confirm the numbers before you cover anything. Twenty minutes of careful measuring beats opening a finished tile floor to chase a smell you built in from the start.