What is a P trap in plumbing? A P trap in plumbing is the curved section of drain pipe under a sink or fixture that holds water to block sewer gas from entering your home. It is a U-shaped pipe that uses a small water seal to keep harmful gases and odors out while still letting wastewater flow through. This simple but code-required device is one of the most important parts of your home's drainage system. By MyTownPlumber Editorial Team
What Does a P Trap Do?
Every time water runs down a sink, tub, or shower drain, a small amount of water remains in the curved bottom of the P trap. That trapped water is called the trap seal. It creates an invisible barrier between your living space and the sewer line. Without that seal, sewer gas could drift up through the drain and into your home. Sewer gas contains compounds that can cause headaches, nausea, and other health concerns. The Centers for Disease Control and Prevention (CDC) explains that maintaining plumbing systems is important for keeping household water safe. CDC Healthy Water resources show why proper drainage and venting matter.
A P trap also catches small items like rings, earrings, and soap pieces. Because the trap is curved, debris settles in the bottom instead of moving deeper into the drain. That is why you can often recover a lost ring from a P trap. It also means the trap is the first place to check when a drain is slow or clogged. If you need help clearing a blocked fixture, our drain cleaning service can remove the buildup without damaging the pipe.
Parts of a P Trap
Understanding the parts helps you describe problems to a plumber. A typical P trap assembly includes:
- Trap bend: the curved U-shaped section that holds the water seal.
- Tailpiece: the straight pipe that connects the sink strainer to the trap bend.
- Trap arm: the horizontal outlet pipe that carries water from the trap to the drain line in the wall.
- Slip nuts: threaded nuts that hold the trap sections together so the assembly can be removed for cleaning.
- Cleanout plug: an access point on some traps that allows you to clear clogs without removing the entire trap.
Why Plumbing Codes Require a P Trap
Plumbing codes exist to protect health and safety. The International Association of Plumbing and Mechanical Officials (IAPMO) develops the Uniform Plumbing Code, one of the model codes used across the United States. According to IAPMO's code framework, every plumbing fixture that connects to a drainage system must have a trap to prevent sewer gas from entering the building. You can read more about plumbing code development at IAPMO.org.
Modern codes also require proper venting. A vent supplies air to the drain system so water can flow freely. Venting prevents the trap seal from being siphoned out when a large amount of water goes down the drain. A P trap depends on a vented trap arm to keep the water seal intact. If the vent is blocked or installed incorrectly, the trap can lose its seal and let sewer gas into the home.
P Trap vs. S Trap
An S trap is an older type of trap that looks similar but has a vertical outlet rather than a horizontal one. S traps are more likely to siphon their water seal because they lack proper venting. That is why most modern plumbing codes do not approve S traps for new construction. If your home still has an S trap, a plumber should replace it with a vented P trap.
| Feature | P Trap | S Trap |
|---|---|---|
| Outlet direction | Horizontal into the wall | Vertical into the floor |
| Water seal | Protected by a vented trap arm | Can be siphoned out |
| Code status | Accepted in most U.S. jurisdictions | Not approved for new plumbing in most jurisdictions |
| Common locations | Sinks, showers, tubs, laundry standpipes | Older homes and some existing installations |
Signs Your P Trap Needs Attention
How can you tell if a P trap is failing? Watch for these warning signs:
- Gurgling sounds from the drain after water stops.
- A sewer or rotten egg smell around a sink or tub.
- Slow drainage that gets worse over time.
- Water stains or moisture on the cabinet floor under a sink.
- Frequent clogs in the same fixture.
If you notice any of these, do not ignore them. A leaking P trap can damage cabinet floors, subfloors, and even ceilings below. Our leak detection service can locate hidden moisture, and our pipe repair team can fix corroded or damaged trap parts.
How to Maintain and Clean a P Trap
Regular maintenance prevents most P trap problems. Place a bucket under the trap, then loosen the slip nuts on both sides of the trap bend. If your trap has a cleanout plug, you can open that first to drain trapped water. Remove the trap bend and empty it into the bucket. Use a wire brush or bottle brush to remove buildup from the inside of the curve. Check the washers and slip nuts for cracks, then reassemble the trap. Run water for a few minutes and check for drips.
Be careful with chemical drain cleaners. They can eat through grease, but they can also damage metal and plastic trap parts and create hazardous fumes. If you have a stubborn clog, use a drain snake or call a professional. Our drain cleaning service uses methods that clear blockages while protecting your pipes.
If a sink or floor drain is not used for a long time, the water in the trap can evaporate and let sewer gas in. Pour a cup of water into unused drains every few weeks to restore the seal. This simple habit keeps the P trap working even in guest bathrooms and laundry rooms.
When to Replace a P Trap
P traps are usually made of PVC, brass, or steel. They can last for years, but they eventually wear out. Corrosion, cracks, and missing slip nuts can cause leaks. If you see green corrosion on a brass trap, or if the pipe is brittle and cracked, replacement is the safest option.
Replacing a P trap is a job that many homeowners can do, but it is easy to misalign the trap arm or install the wrong size. A professional can make sure the trap is correctly vented and meets local plumbing code. In the United States, a typical P trap replacement by a plumber often costs between $150 and $400, but prices vary by region and the condition of the drain line.
If you find an S trap, a corroded trap, or a trap that leaks after tightening, contact a licensed plumber. Our pipe repair service can handle P trap replacement and related drain pipe repairs.
P Traps and 2026 Plumbing Code Trends
Looking ahead to 2026, plumbing codes will continue to focus on protecting trap seals and reducing water waste. The Uniform Plumbing Code and other model codes are updated on a regular cycle, and local jurisdictions decide which edition to adopt. Homeowners can expect the same core requirement: each fixture needs a properly sized trap that maintains a water seal.
Water-efficient fixtures can affect how much water flows through the trap. The EPA's WaterSense program labels fixtures that meet strict water efficiency and performance criteria. Choosing WaterSense-labeled faucets and showerheads can save water while still providing enough flow to keep trap seals healthy. See EPA WaterSense for more information.
If you are dealing with a clogged, leaking, or missing P trap, MyTownPlumber can help. Our plumbers handle drain cleaning, leak detection, pipe repair, and more. Check our current plumbing offer and get your drains working safely again.
