The essentials
- A P-trap is the curved pipe under sinks, tubs, showers and floor drains that holds water to block sewer gases.
- The water seal in a properly working trap measures roughly 1.5 to 2 inches at the weir.
- Traps that go unused can dry out, so run water in every fixture at least once a month.
- Cleaning a P-trap is a beginner-friendly job: bucket, slip nuts, a brush and patience.
- Odors that persist after refilling a trap, or clogs deeper in the line, call for a licensed plumber.
Look under any sink in your house and you will see it: a curved section of drainpipe that looks a little like the letter P lying on its side. That shape is no accident. The curve holds a small amount of water at all times, and that water is what keeps sewer gas from drifting into your kitchen or bathroom. It is one of the simplest and most quietly important parts of your plumbing, and it only asks for a little attention now and then.
What a P-Trap Is and Where to Find One
A P-trap is a U-shaped bend in the drainpipe, connected to the fixture by a section called a J-bend and to the wall drain by a horizontal run. Viewed together, the bend and the horizontal run form a sideways P, which is how the fitting got its name in the United States. The idea behind it is much older than the name. The S-shaped trap was invented in 1775, and the U-shaped version followed in 1880, with the American P shape becoming the standard variation you see today.
You will find traps in more places than you might expect:
- Under bathroom and kitchen sinks
- Beneath tubs and showers
- In floor drains in basements, garages and laundry rooms
- Built into toilets, which use an internal curved passage called a trapway instead of a separate pipe
If a fixture drains water and accepts waste, it needs a trap of some kind. That is not a suggestion. It is a requirement, which brings us to why.
How the Water Seal Blocks Sewer Gas
Sewer gas is a mix of gases produced by decomposing waste in drain lines and the sewer system. Common components include methane, ammonia, hydrogen sulfide, sulfur dioxide and nitrogen oxides. Hydrogen sulfide is the one you smell first, since it produces a rotten-egg odor. With prolonged exposure, these gases can cause symptoms such as headaches, fatigue, lightheadedness and irritability, and hydrogen sulfide can irritate the eyes and trigger coughing and shortness of breath. That is why the barrier at the drain matters.
The P-trap works through simple physics. When water drains from the fixture, some of it stays in the bottom of the bend. The upper edge where the water level sits, called the weir, holds a water seal measuring roughly 1.5 to 2 inches in a properly installed trap. Gases on the sewer side cannot bubble up through that plug of water, and air in the room cannot get past it either. Every time you use the fixture, fresh wastewater flushes through and replaces the old water, keeping the seal full.
The trap has a second job that gets less attention. Because it is a low point in the drain line, the curve catches debris before it travels deeper into the plumbing. Hair, food scraps, sand and grease tend to collect in the trap, where they are easy to reach. The same low point catches small dropped objects such as rings or coins, which is good news if something valuable takes an unplanned trip down the drain.
An illustration, to make the seal concrete: picture a bathroom sink that drains normally but smells faintly of rotten eggs. The drain is not clogged, so the usual fixes do nothing. The real problem is that the water seal has dropped below the top of the bend, leaving an open path for gas. Running the tap for half a minute refills the trap, the seal returns to its full depth, and the odor stops. That single dynamic, a water level rising and falling, explains most trap behavior in a house.
Why Plumbing Codes Require Traps on Every Fixture
Essentially all plumbing fixtures, including sinks, bathtubs and showers, must have either an internal or external trap. Toilets meet the requirement with their built-in trapway. The rule exists because an untrapped drain is a direct open channel between the sewer and the air you breathe.
Code also shapes which trap you can use. The modern P-trap connects to a wall drain pipe, which makes it straightforward to vent. Venting matters because a rush of draining water can act like a pump and siphon the water seal right out of the trap. A vent pipe, or an air admittance valve where codes allow one, lets air into the line to break that suction. The older S-trap, which drops through the floor, often lacks proper venting, which can lead to suction and a lost water seal. For that reason, S-traps are widely considered outdated and are often banned in new construction. If you are renovating and converting an S-trap to a P-trap, plan on that work being part of passing inspection.
One related term you may hear is standpipe, a vertical vented pipe used where a large volume of water drains through quickly, such as a washing machine connection. The principle is the same: keep the seal, protect the air.
Common Problems: Dry Traps, Clogs and Leaks
Most trap trouble falls into three buckets, and each announces itself differently.
| Symptom | Most likely cause |
|---|---|
| Rotten-egg smell from a drain that works fine | Dry trap, the water seal has evaporated |
| Faint bubbling or gurgling from an unused drain | Gas breaking through a weak or drying seal |
| Slow draining with an unpleasant odor | Debris caught in the trap or a clog forming |
| Gurgling as water drains | Air being pulled through, often a venting issue |
| Water dripping in the cabinet below | Loose or failed slip-joint connections |
A dry trap is the most common and easiest problem. Water in the bend slowly evaporates when a fixture goes unused, and hot or dry weather speeds that up. Guest bathrooms, basement floor drains and utility sinks are the usual offenders. Running water through every fixture at least once a month keeps seals topped up. For seldom-used drains, pouring a cup or two of water directly into the drain refills the trap. Adding a small amount of mineral oil afterward helps in fixtures that sit idle for long stretches; the oil floats on the water and slows evaporation, and it will not spoil the way cooking oils can.
A clog shows up as slow draining along with odor, because debris trapped in the bend breaks down and smells as it does. Start with a plunger. If that does not clear it, a drain cleaner may dissolve the material, or a plumber’s snake can pull it out or push it past the trap into the larger drain line. Remember that the clog being in the trap is actually the convenient outcome, since the trap is the easiest place in the system to reach.
A leak usually means a connection problem. Slip-joint washers and nuts do the sealing at both ends of the trap, and a connection that was never tight, or that has worked loose, will drip every time water runs. In some cases a cracked fitting or a corroded metal trap is the culprit, which calls for replacement rather than another turn of the wrench.
Pro tip
Run water in every sink, shower, tub and floor drain at least once a month, including fixtures you rarely use. Thirty seconds at a faucet or a minute in a shower is enough to refill the seal and keep sewer gas where it belongs.
Cleaning a Trap Step by Step
Cleaning a P-trap is a job most homeowners can handle on a free afternoon, and it needs only a few items: a bucket, old towels, rubber gloves, an adjustable wrench or pliers, and a bottle brush or an old toothbrush.
- Place the bucket directly under the trap and clear out the cabinet so you can work.
- Loosen the two slip nuts, one where the trap meets the sink tailpiece and one where it meets the wall pipe. Try hand pressure first, then use the wrench for stubborn nuts, turning counterclockwise.
- Remove the trap carefully and let the standing water and gunk drain into the bucket.
- Rinse the trap with warm water and scrub the inside with the brush until it is clear.
- Check the pipe leading into the wall and the tailpiece for debris, since clogs sometimes extend beyond the trap.
- Reattach the trap, threading the slip nuts back on with new washers if the old ones look flattened or cracked. Tighten to a snug fit by hand; overtightening can crack plastic fittings.
- Run the water and watch every joint. If a drip appears, tighten that nut a little more and check again.
The same tubular design that makes the trap a clog-catcher also makes it easy to disconnect, which is exactly why plumbers like it. If you are replacing a faucet or doing other under-sink work, the trap comes off in minutes to give you room, and it goes back just as fast.
When a Trap Needs Reseating or Replacing
Not every trap problem ends with a scrub and a tightening. Watch for these signals that the fitting itself has reached the end:
- Repeated leaks at the same joint even after tightening and new washers
- Corrosion, flaking or visible cracks on a metal trap
- A plastic trap that has warped, split or been overtightened until it cracked
- A persistent odor that stays even after the trap has been refilled and cleaned
A trap that keeps losing its water seal despite regular use points to a venting problem rather than a fitting problem. Vents can become blocked, and a damaged trap or a plumbing leak elsewhere in the line can produce odors that mimic a dry trap. Those are not do-it-yourself diagnoses. Property owners are responsible for the plumbing inside their homes, but a blocked vent or a hidden leak needs professional tools to find.
Signs It Is Time to Call a Licensed Plumber
There is real satisfaction in clearing a trap yourself, but the job has limits. Bring in a licensed plumber when:
- Sewer odors persist after you refill the trap with water and confirm the seal is holding
- A clog sits deeper in the drain line past the trap and plunging or snaking from the fixture does not reach it
- Pipes leak at connections that will not seal no matter how they are tightened
- The trap or surrounding pipe shows corrosion, cracks or water damage to the cabinet
- You hear ongoing gurgling from multiple fixtures, which can indicate a blocked vent
A plumber can inspect seals, test the venting system and identify leaks that are not visible under the sink. Given that sewer gas can cause real symptoms with prolonged exposure, an odor that will not go away deserves a professional visit rather than endless air freshener.
If you are planning other work in the same room, it pays to understand the trap before you start. Anyone tackling replacing a kitchen faucet will disconnect and reattach the trap as part of the job, and a bathtub refresh such as re-caulking a tub or shower goes more smoothly when you know which parts of the drain you can safely disturb and which you should leave alone.
Related guides
- Getting Started With Replacing a Kitchen Faucet: Covers shutoff valves, supply lines and under-sink work where you will be handling the trap.
- Giving a Bathtub or Shower Fresh Caulk: Handy if drain odors and failing caulk are both on your bathroom fix-it list.
- A Fall Home Maintenance Checklist: A good place to fold in the habit of running water in seldom-used drains each month.
Common questions
Why does my guest bathroom smell like sewage?
The most likely cause is a dry P-trap. When a fixture sits unused for weeks, the water in the trap evaporates and sewer gas escapes into the room. Running water in the sink, shower and tub refills the seal and usually stops the smell almost immediately.
Do toilets have P-traps?
Not in the traditional pipe sense. Toilets have a curved passage built into the fixture itself, called a trapway, that holds water and blocks sewer gases the same way.
Is it safe to pour mineral oil down a seldom-used drain?
Yes, a small amount of mineral oil is a common way to slow evaporation in rarely used traps. The oil floats on top of the water and forms a layer that slows evaporation, and unlike cooking oils it does not go rancid and cause its own odor.
When should I call a plumber instead of fixing a trap myself?
Call a licensed plumber if odors persist after you refill the trap, if pipes are corroded or damaged, or if a clog sits deeper in the drain line past the trap. Those problems need tools and skills most homeowners do not have on hand.
This guide is general information, not professional advice. Follow the manufacturer’s instructions and your local building codes, and hire a licensed professional for electrical, gas, structural or roofing work.