S-Trap vs P-Trap: Why One Is Banned by Code

PlumbinGuide EditorialReviewed June 20265 min readHow we research
The short answer

The difference is the exit direction and whether the trap is vented. A P-trap exits sideways into a vented drain, so it holds its water seal and blocks sewer gas. An S-trap exits straight down with no vent, so a fast-draining fixture can siphon its own trap dry and let sewer gas into the room. That self-siphoning is exactly why S-traps are banned by modern plumbing code. Converting one usually means adding a vent or an air admittance valve and reworking the drain to exit sideways.

On this page

The core difference: where the trap exits

Both traps do the same essential thing: a U-shaped bend holds a small plug of water, the trap seal, that seals the pipe and stops sewer gas from rising into the room. The difference is what happens after the bend. A P-trap curves down and then turns horizontal, exiting sideways into a drain that is vented, so it looks like a P lying on its side. An S-trap curves down, back up, and then straight down again into the floor, so it looks like an S.

That downward exit on the S-trap is the whole problem. When water drains, gravity pulling a full column straight down past the trap creates suction, and that suction pulls the water right out of the trap behind it. A P-trap exiting sideways into a vented line does not develop that pull, so the seal stays put. Same job, two geometries, and only one of them holds water reliably.

Why S-traps siphon dry and are banned

Self-siphoning is the failure mode that got S-traps banned. As a sink full of water rushes down and out the bottom of an S-trap, the moving column acts like a siphon and sucks the trap empty in its wake. The trap reseals with the last trickle of water, but if the fixture drains hard and is not refilled, the seal can be left low or broken. A broken seal is an open pipe straight to the sewer, and sewer gas, which carries methane and hydrogen sulfide, flows into the living space.

That is a health and safety issue, not a nuisance, which is why the S-trap is prohibited in modern plumbing code across the U.S. and many other countries. If you smell sewer gas at a sink that has an S-trap, the dry trap is a prime suspect, and the same symptom shows up in our guide to tracing a sewer smell in the house. A P-trap with proper venting simply does not fail this way.

How a P-trap stays sealed: the role of the vent

A P-trap holds its seal because of venting. When water drains, air enters the system through the vent behind the moving water, relieving the suction that would otherwise pull the trap dry. With that air supply, the trap fills, drains and reseals every time without being siphoned. The vent is what makes the P-trap reliable, which is why the two are designed as a pair.

Where running a full vent to the roof is impractical, code often allows an air admittance valve (AAV), a one-way valve mounted near the fixture that opens to admit air when the drain pulls a vacuum and snaps shut otherwise. An AAV gives a P-trap the air it needs without a long vent run. Either way, the principle is the same: the plumbing vent does its job of feeding air in so the trap never siphons dry.

Converting an S-trap to compliant P-trap

Fixing an S-trap means giving it a vent and a sideways exit. The clean version reworks the drain so the trap arm runs horizontal into a vented wall drain, turning the S geometry into a proper P-trap. Where the drain comes up through the floor and there is no wall stack to tie into, the common solution is to install a P-trap with an air admittance valve under the sink, which provides the venting locally and stops the siphoning.

This is a modest job for a plumber and a common one during a sink or vanity replacement, since it brings an old fixture up to code at the same time. Replacing or reworking the trap assembly is inexpensive on its own; understanding what a P-trap replacement runs helps you judge a quote, and it is often bundled with the larger fixture work. The result is a trap that holds its seal every drain cycle and keeps sewer gas where it belongs.

  • ·Rework the drain to exit sideways into a vented line, or
  • ·Install a P-trap with an air admittance valve under the fixture
  • ·Often done alongside a sink or vanity replacement
  • ·Brings an old, non-compliant trap up to current code
Lines open 24/7

Rather talk it through with a pro?

Calls are answered around the clock and routed to a licensed plumbing pro serving your area.

(855) 000-0000
Common questions
What is the difference between an S-trap and a P-trap?
Both hold a water seal that blocks sewer gas, but they exit differently. A P-trap turns horizontal into a vented drain, so it holds its seal. An S-trap exits straight down with no vent, so a draining fixture can siphon its own trap dry. The exit direction and venting are the whole difference.
Why are S-traps banned by code?
Because they self-siphon. As water drains straight down out of an S-trap, the moving column sucks the trap empty behind it, and a dry trap is an open path for sewer gas to enter the room. That is a health and safety problem, so modern plumbing code prohibits S-traps in the U.S. and many other countries.
How does a P-trap keep its water seal?
Through venting. When water drains, air enters the system through the vent behind the moving water, relieving the suction that would otherwise siphon the trap dry. With that air supply the trap fills, drains and reseals every cycle. An air admittance valve can supply that air locally where a full vent is impractical.
Can I just replace an S-trap with a P-trap?
Swapping the fitting alone is not enough if the drain still exits straight down with no vent, because the new trap will siphon too. The fix is to give it venting: rework the drain to exit sideways into a vented line, or install a P-trap with an air admittance valve under the fixture.
What is an air admittance valve and do I need one?
It is a one-way valve mounted near a fixture that opens to let air in when the drain pulls a vacuum and closes otherwise, venting the trap locally. You need it when running a full vent to the roof is impractical, which is common when converting an S-trap under a sink. Code permits it in many situations.
How do I know if I have an S-trap?
Look under the sink: if the trap curves down, back up, then turns straight down into the floor, forming an S shape, it is an S-trap. If it turns down and then runs horizontal into the wall, forming a sideways P, it is a P-trap. A sink that smells of sewer gas after draining is another clue to an S-trap.
Keep reading
Call (855) 000-0000