P-Trap: How It Works, How to Replace One, and What Code Requires
Short answer. The P-trap is the curved pipe under a sink. The water sitting in its bend blocks sewer gas. Oatey, a maker of P-traps: the trap “creates a powerful barrier that stops sewer gas and odor from entering your home.” It also catches what falls down the drain: its “u-shape captures sediment and prevents it from passing into the sewer.”
Replacing one takes a few slip nuts and washers. Under the 2021 International Plumbing Code (IPC), the water seal must be “not less than 2 inches (51 mm) and not more than 4 inches (102 mm),” and S-traps are on the list of prohibited traps.
Sources, read and archived in this site’s records: Oatey’s What is a P-Trap and How Does it Work? and its PVC Heavy Duty P-Trap instruction sheet; Keeney’s PP100PB P-trap installation instructions; Kallista’s (a Kohler brand) P21641 P-Trap instructions; and the ICC’s 2021 International Plumbing Code, Chapter 10.
The parts
| Part | What it is |
|---|---|
| Tailpiece | The straight pipe coming down from the sink drain |
| J-bend | The U-shaped piece that holds the water; Oatey: it “resembles the letter J” |
| Wall tube (trap arm) | The pipe from the J-bend into the wall |
| Weir | Oatey: “the upper bend of the p-trap in which the water would start to spill into the wall tube” |
| Slip nuts and washers | They seal each sliding joint; the IPC requires “an approved elastomeric gasket” |
Every time the sink drains, Oatey says, “new wastewater flushes through the p-trap, replacing the old water in the curve with fresh water.”
How deep the water seal is: Oatey vs. the code
| Source | Seal depth |
|---|---|
| Oatey (trap maker) | “A 1-½-inch to 2-inch water seal at the weir” |
| 2021 IPC, Section 1002.4 | “Not less than 2 inches (51 mm) and not more than 4 inches (102 mm)” |
The two ranges meet at 2 inches. Oatey describes how its traps work; the IPC is the model code many places adopt, so it’s the rule an inspector checks. Local codes adopt and amend model codes, so ask your local building department if it matters for an inspection.
Replacing a sink P-trap
Keeney’s and Oatey’s steps for a slip-joint trap:
- Turn off the water at the faucet and put a bucket under the trap. Keeney: “water and dirt will be present in the existing trap.”
- Remove the old trap. Loosen the slip nuts at the tailpiece and at the wall tube.
- Fit the wall tube. Oatey: “Measure and cut the wall tube to the length needed,” then insert it into the wall connector “making sure to use a slip joint washer to ensure a seal.” Keeney: slide the trim flange onto the wall tube before you connect it. For a new installation, Keeney says to check that “you have the proper adapter in the wall connection to accept the wall tube.”
- Put a nut and washer on the tailpiece. On Oatey’s PVC trap: “Use reducer washer if tailpiece is 1-1/4 in.”
- Join the J-bend to the tailpiece and the wall tube. Kallista says the tailpiece must extend 1 to 2 inches into the trap and “may need to be cut to fit.” Keeney: hand-tighten the nuts first, then “align parts and tighten with wrench.”
- Test. Run water and check every joint. Kallista’s checkout runs both hot and cold water through the trap.
Keeney’s two tips: on threaded drain connections, “Put thread sealant tape or pipe dope on the drain threads before attaching nuts.” And on chrome nuts, “Use a scrap of cloth to protect chrome finish” from the wrench.
On a PVC drain stub-out, Oatey’s heavy-duty trap starts with a solvent- cemented connector on the pipe out of the wall. Follow the cement maker’s instructions for that joint; the rest of the trap uses slip nuts.
Plastic or brass
Oatey compares the two common materials:
- Brass is chrome-plated and good-looking, but “brass can and will corrode over time with repetitive use.”
- Polypropylene (plastic) “resists corrosion and reactions with acids,” and is light and easy to take apart.
Some traps have a cleanout plug at the bottom. Kallista: it “is used to remove any debris that has fallen into the trap.”
What the code doesn’t allow
The 2021 IPC, Section 1002.3, lists prohibited traps, including:
- S-traps, listed by name.
- Bell traps, drum traps (with exceptions for solids interceptors and chemical waste), crown-vented traps, and “traps that depend on moving parts to maintain the seal.”
Its other trap rules, from Section 1002:
- One trap per fixture. Each fixture is “separately trapped,” and “a fixture shall not be double trapped.”
- Distance. The vertical distance from the fixture outlet to the trap weir “shall not exceed 24 inches.”
- Slip joints in three places only: “on the trap inlet, trap outlet and within the trap seal.”
- Set it level. Traps “shall be set level with respect to the trap seal and, where necessary, shall be protected from freezing.”
- Size. A trap “shall not be larger than the drainage pipe into which the trap discharges.”
When the trap is the problem
- Sewer smell from a drain nobody uses: the trap has dried out. Refill it with water; see sewer gas smell.
- A slow or stopped sink: the clog may be in the trap, the stopper or further down; see sink not draining.
- A drip under the sink: Kallista’s checkout is “Ensure all connections are tight,” then run water and “repair as needed”; a slip joint seals with its washer, so check it’s in place. If water’s pooling, see leaky faucet for leaks from above the sink.
- Closing a house for winter: traps hold water that can freeze; the antifreeze that belongs in them is on winterizing plumbing.
- Something valuable down the drain: Keeney: the trap “traps items that may fall into the drain.” Bucket under, remove the J-bend, and look.