A P-trap leaves the fixture through a U-bend and turns horizontally into a drain pipe in the wall. An S-trap drops straight down into the floor. That one difference decides whether the water seal under your sink holds or gets pulled out, and it is why S-traps are prohibited in new work in California, including Orange County and Los Angeles County. If your home still has an S-trap, you do not need to panic, but you should know what it means, what a proper fix involves, and why swapping a single pipe is not always enough.
TL;DR
- A P-trap exits sideways into a wall drain and is vented. An S-trap exits downward into the floor and is prone to siphoning its own water seal.
- The 2025 California Plumbing Code, effective January 1, 2026, governs traps in our service area, and S-traps are not an approved design under it.
- A gurgling drain, a sewer smell or a sink that empties with a sucking noise can point to a lost water seal or a venting problem, not just a worn trap.
- Replacing an S-trap properly usually means checking and sometimes reworking the vent and drain arrangement, so it is a job for a licensed technician.
Table of Contents
- What a trap does and why every drain has one
- How a P-trap works
- How an S-trap works, and where it goes wrong
- P-trap vs. S-trap at a glance
- Why S-traps are not allowed in California
- How to tell which trap you have
- Symptoms that point to a trap or vent problem
- Why swapping an S-trap for a P-trap is not always a simple job
- What you can safely do yourself
- For landlords and property managers
- Our perspective: fix the system, not only the pipe
- Get a licensed technician to check your traps
- FAQ
- Sources
What a trap does and why every drain has one
Every sink, shower, tub and washing machine drain has a curved section of pipe that holds a small amount of water after the fixture empties. That standing water is the trap seal. It blocks sewer gas from rising through the drain into your kitchen or bathroom.
The California Plumbing Code requires that each plumbing fixture be separately trapped by a liquid-seal trap, with limited exceptions. It also limits the vertical distance from the fixture outlet to the trap weir to 24 inches, so the trap sits close to the fixture and drains properly.
The seal only works if it stays full. Two things empty it: evaporation in a drain that is rarely used, and siphonage, where air pressure changes in the pipe pull the water out. The P-trap and S-trap differ mostly in how well they resist the second problem.
How a P-trap works
A P-trap has a U-shaped bend under the fixture, followed by a roughly 90-degree fitting that sends the pipe horizontally into the wall. The side view looks like a sideways P. The horizontal section is called the trap arm, and it connects to a vent that lets air into the system.
That vent is the key. When water flows down the drain, air enters through the vent and keeps the pressure balanced, so the water in the U-bend stays in place. The code requires that every fixture trap be protected by a vent against siphonage and backpressure.
P-traps are also designed to be self-scouring. Water leaving the fixture has enough velocity to push waste through the curve and into the drain line, so debris is less likely to settle. For a standard 1.5-inch drain, the distance from the trap to the vent has to fall between 3 and 42 inches. Outside that range, the trap is more likely to siphon or to cause slow drainage.
How an S-trap works, and where it goes wrong
An S-trap has a U-bend followed by a second bend that turns downward, so the pipe goes into the floor rather than the wall. From the side it looks like the letter S. You usually see it in older homes where a drain stub comes up through the floor, or in remodels where a fixture was moved without a proper wall vent.
The problem is siphoning. When a large slug of water drains through an S-trap with no vent close enough to break the vacuum, the downward leg can pull the water out of the trap behind it. The seal is gone, and nothing stops sewer gas from entering the room. You may hear a gulping or sucking sound as the sink empties, and smell sewage afterward.
The S-trap shape also does not scour as well as a P-trap, so it can stagnate and clog more often.
P-trap vs. S-trap at a glance
| Feature | P-trap | S-trap |
|---|---|---|
| Outlet direction | Horizontal, into a wall drain | Vertical, down into the floor |
| Venting | Connected to a vent through the trap arm | Often unvented or poorly vented |
| Risk of siphoning | Low when installed and vented correctly | High |
| Self-scouring | Yes | Poor |
| Status in California new work | Standard, approved design | Not an approved trap design |
| Typical location | Most sinks and lavatories in modern homes | Older homes and unpermitted remodels |
The comparison is not close. The P-trap is the standard for residential plumbing, and the S-trap is a legacy arrangement kept in service only where it has not yet been corrected.
Why S-traps are not allowed in California
The reason is health and safety, not style. An S-trap cannot reliably keep its water seal, and without that seal, sewer gas can enter living spaces. The traps chapter of the California Plumbing Code is the rule set for Orange County, and the County of Los Angeles Plumbing Code is based on the 2025 CPC with local amendments.
The federal rule for manufactured homes uses the same logic: each fixture is separately trapped by an approved water seal P trap and effectively vented. That regulation applies to HUD-code manufactured homes, not to site-built houses, but it shows how consistent the principle is across codes.
If your home was built decades ago, an existing S-trap is not automatically a violation you must fix tomorrow. Codes generally apply to new work and alterations, and enforcement depends on the local building department. But once you remodel, replace a fixture or open the wall, the trap and vent usually have to be brought up to current standards. If you are buying or selling a property, an inspector may flag it. Ask your local building department how the rules apply to your address.
How to tell which trap you have
You can usually tell in a minute with a flashlight.
- Open the cabinet under the sink and find the curved pipe below the drain.
- Follow the pipe past the U-bend. If it turns and enters the wall, it is a P-trap.
- If it turns downward and disappears into the floor of the cabinet, it is an S-trap.
- If you see two U-bends in a row on the same drain, that is double trapping, a separate problem (see below).
- For a toilet, the trap is built into the bowl, so you cannot see it. Toilets work differently and are not typically described as P or S in this sense.
Take a photo before you touch anything. It helps a technician diagnose the problem quickly, and you will have a record if you later need to show what was there.
Our own guide on plumbing traps for Orange and LA County homeowners covers the basics in more detail.
Symptoms that point to a trap or vent problem
Most people do not search for trap types out of curiosity. They search because something is wrong. Here is how common symptoms connect to traps.
Gurgling or a sucking noise when water drains
A gurgle means air is being pulled through the water seal because the vent is not supplying enough. A toilet that gurgles when you flush, or a sink that gulps when a nearby fixture drains, suggests a vent restriction or an undersized drain line. The trap itself may be fine.
Sewer smell from a sink or floor drain
A dry trap is the most common cause. If a guest bathroom or a rarely used sink has not been run in weeks, the seal can evaporate. Running water for a minute often restores it. If the smell returns quickly, the seal is being siphoned out. Our walkthrough on how to pinpoint a sewer smell in the bathroom starts with refilling traps, which is the right first step.
Slow kitchen sink drain or a kitchen sink backup
A slow drain is usually a clog from grease, food waste or soap scum, and it often sits in the trap or just past it. If the sink backs up into the second basin, the blockage is in the shared line. If several fixtures drain slowly, the problem is likely farther down the line, and a plain trap cleaning will not fix it.
A trap with the wrong slope or too much horizontal run can also slow drainage. A P-trap with a trap arm that is too long or too steep tends to drain badly or siphon.
Leaks under the cabinet
Slip nuts loosen, washers crack and plastic traps deform. If you see water, put a bucket under it, dry the pipes and run the water to find the exact spot. We cover the process in our guide to a kitchen sink leak fix with a flow test first.
Why swapping an S-trap for a P-trap is not always a simple job
It sounds like a ten-minute change: remove one pipe and install another. Often it is not, for these reasons.
- The drain comes out of the floor. A P-trap needs a horizontal connection to a wall drain. If the existing drain stub is in the floor, the pipe has to be rerouted into the wall, which may mean opening drywall or the cabinet back.
- The vent may be missing or wrong. A P-trap without adequate venting can still lose its seal and cause the same odor problem. The vent must be present, clear and within the allowed distance of the trap.
- Trap arm length and slope matter. The trap arm has to sit within code limits, and the pipe has to slope correctly, or the sink will drain poorly.
- Permits and inspections. Changing drain and vent piping is plumbing alteration work and may need a permit, depending on the city.
A licensed plumber should check the whole fixture drainage and venting arrangement, not only the trap. If the vent is clogged, undersized or installed incorrectly, a new P-trap will not cure the smell or the gurgling. Please do not patch a vent problem with a DIY trap replacement.
The double-trap mistake
Some homeowners add a second trap to a drain, thinking it gives extra protection against sewer gas. The result is the opposite. Trapped air between the two seals can interfere with drainage and pressure, which makes blockages and odors more likely. The code allows one trap per fixture drain, placed close to the outlet. If you find two traps on one line, have it corrected.
What you can safely do yourself
Some tasks are reasonable for a homeowner who is comfortable under a sink.
- Refill a dry trap. Run water in the fixture for about a minute. Pour a cup of water into floor drains that are rarely used.
- Clear a surface clog. Remove the trap’s slip nuts with a bucket underneath, clean out debris and reassemble. Hand-tighten and check for leaks with the water running.
- Replace a worn washer or a cracked plastic trap with the same configuration, as long as it is already a P-trap on a vented wall drain.
Stop and call a licensed plumber when you find an S-trap, when the smell returns after you refill the seal, when more than one fixture gurgles or backs up, when there is a leak inside the wall or floor, or when a sewage smell comes with a slow drain in several rooms. If you rent, tell your landlord or property manager, since modifications to the plumbing usually need the owner’s approval.
For landlords and property managers
Traps and vents are among the quiet items that surface at a sale, an inspection or a tenant complaint. A recurring sewer smell in a rental is a habitability concern as well as an annoyance. Regular checks catch dry traps, slow drains and old S-trap arrangements early, before they become a tenant dispute or an emergency call. Our pieces on the benefits of regular plumbing checks and scheduling plumbing inspections explain what a routine visit covers.
Our perspective: fix the system, not only the pipe
We see the same pattern on calls across Orange and Los Angeles counties. A homeowner replaces a trap, the smell comes back, and the real cause turns out to be the vent or the way the drain was routed. A bad smell under the sink is rarely just an old trap.
So when we update an S-trap, we do not treat it as a parts swap. We confirm that the drain, the trap arm and the vent can support a working water seal, and we explain what we found before any work starts. We believe a repair should be warranty-safe and long-lasting, and that you should know what you are paying for before we begin. Our technicians are licensed, and we respond quickly, with 24/7 emergency availability for urgent situations.
If you are not sure what you have under your sink, a photo and a short description are a good start.
— MDTECH
Get a licensed technician to check your traps
If you have an S-trap, a persistent drain smell or a sink that gurgles, we can inspect the trap, drain and vent and tell you what needs to be done. Our plumbing repair services cover trap and drain work across Orange County and Los Angeles County, and you can book an appointment online. If the sink needs a new drain assembly at the same time, see how we handle sink drain replacement.
FAQ
Why is an S-trap illegal?
An S-trap can siphon its own water seal when water drains, which lets sewer gas into the home. Plumbing codes, including the California Plumbing Code, do not approve the design for new work. Existing S-traps are generally addressed when the plumbing is altered or remodeled.
Which is better, a P-trap or an S-trap?
The P-trap is better in nearly every respect. It connects to a wall drain with proper venting, resists siphoning and scours itself clear. The S-trap offers no real advantage over it in a code-compliant installation.
Is my toilet an S-trap or a P-trap?
Your toilet has a trap built into the porcelain, so you cannot see it and you do not choose between the two the way you do for a sink. Toilets with a floor outlet versus a wall outlet are the more useful distinction. If your toilet gurgles when it flushes, the cause is more often a vent or drain line problem than the trap itself.
Can I replace an S-trap with a P-trap myself?
Only if the drain already comes out of the wall and is vented, which is rarely the case with an S-trap. When the drain stub is in the floor, the piping needs to be rerouted and the vent checked. We recommend a licensed plumber for that work, and your city may require a permit.
Sources
- Trap Requirements, UpCodes
- Traps Protected by Vent Pipes, UpCodes
- 2025 California Plumbing Code, Chapter 10 Traps and Interceptors
- 2026 County of Los Angeles Plumbing Code based on the CPC 2025
- 24 CFR 3280.606, Traps and cleanouts

