
S-Trap vs P-Trap: Why S-Traps Are Prohibited in Modern Plumbing
An S-trap is an unvented fixture trap whose outlet drops straight down into a drain pipe, so the water leaving it siphons the trap seal dry. The 2021 IPC and UPC both prohibit S-traps and require a vented P-trap, which sends waste through a horizontal trap arm to a vent that keeps the water seal in place and blocks sewer gases.
What is an S-trap in plumbing?
An S-trap is a fixture trap whose outlet turns straight down into a vertical drain pipe below the fixture, with no horizontal trap arm between the bend and the drop. Picture a lavatory where the tailpiece runs into the bend and the outlet curves back down into a pipe coming up through the floor: the two curves together read as a sideways S. You still find this layout on older work and on DIY jobs where a drain stubs up through the floor instead of out of the wall. In S-trap plumbing there is nowhere to tie in a vent, and that single detail drives everything that follows.
How a vented P-trap protects its seal
A P-trap holds the same water-filled bend, but its outlet runs into a horizontal trap arm. The arm carries the waste to a vertical drain that is vented, usually through a vent tee: drainage enters the side of the tee, the drain continues below, and the vent rises above. The vent lets air in and out of the drainage system so the water seal sees almost no pressure change. Both codes set the limit: IPC Section 901.2 says the seal of any fixture trap must not be exposed to a pressure differential of more than 1 inch of water column (249 Pa), and UPC Section 901.3 sets the same 1 inch water column limit on the outlet side of the trap. Two terms matter here. The trap weir is the high point inside the bend where water spills over into the trap arm, and the trap arm is the pipe from that weir to the vent.
Why an S-trap siphons itself dry
When a fixture empties through an S-trap, the waste leaving the bend falls straight into the vertical drop and fills it as one solid column of water. As that column runs down the pipe, it pulls on the water behind it. With no vent on the outlet side to let air in and break the pull, the falling column drags the water out of the bend after it. The fixture finishes draining, a gurgle follows, and the trap is left empty or holding too little water to seal. This is exactly the siphoning that the IPC Chapter 9 user note says the vent system exists to prevent.
The water seal is the only physical barrier between the room and the drainage piping that connects to the sewer. Once it is gone, sewer gases and odors from the drain flow straight up through the fixture and into the building. The UPC treats this as an insanitary condition: its definition of insanitary lists a trap that does not keep a proper seal and a trap whose seal is not protected by a vent pipe against siphonage and backpressure.
Plumbing S-trap vs P-trap at a glance
| S-trap | Vented P-trap | |
|---|---|---|
| Geometry | Bend turns directly down into a vertical drain below the fixture | Bend discharges into a horizontal trap arm that reaches a vented vertical drain |
| Airflow | No air enters on the outlet side while the fixture drains | Vent admits and releases air, holding the seal within 1 inch of water column |
| Siphon risk | High: the falling water column pulls the seal out of the bend | Low: the vent breaks the pull before the seal is drawn out |
| Result | Seal is lost and sewer gases and odors enter the room | Seal stays in the bend and blocks the drainage piping |
| Code status | Prohibited by IPC Section 1002.3 and UPC Section 1004.1 | Accepted when sized, sloped and vented to code |
The difference
In the S-trap vs P-trap question, only the vented P-trap keeps its seal and passes inspection.
The IPC and UPC prohibitions on S-traps
Why are S-traps illegal? Because they cannot hold a seal against siphonage, both model codes ban them outright. Are S-traps illegal everywhere? In any jurisdiction that adopts the 2021 IPC or the 2021 UPC, yes: both place the ban in Chapter 10. IPC Section 1002.3 lists every trap type it prohibits, and this list must be read whole:
IPC Section 1002.3 prohibited traps:
- Traps that rely on moving parts to keep their seal
- Bell traps
- Crown-vented traps
- Traps that are not integral with a fixture and rely on interior partitions for the seal, except those built of an approved material resistant to corrosion and degradation
- "S" traps
- Drum traps, except drum traps used as solids interceptors and drum traps serving chemical waste systems
UPC Section 1004.1 names "S" traps, bell traps and crown-vented traps as prohibited, and adds that no fixture may be double trapped and no trap may go in without a vent unless the code provides otherwise. Material makes no difference. A PVC S-trap and a black S-trap fail for the same reason, because the problem is the shape, not the pipe. That is the whole P vs S trap answer an inspector works from.
Watch out
Do not try to save an S-trap by venting it at the top of the bend. That makes it a crown-vented trap, which is on both prohibited lists. UPC Section 1002.4 also bars the vent opening from sitting below the trap weir, except for water closets and similar fixtures.
Replacing an S-trap with a vented P-trap
IPC Section 101.2 applies the code to alterations, repairs and replacements, so swapping out an S-trap is code work. The fix is a P-trap on a sloped trap arm served by a vent open to the atmosphere or by an approved air admittance valve (AAV). Under the IPC, AAVs are covered by Section 918, and Section 918.7 still requires at least one stack vent or vent stack in each plumbing system to reach the open air outdoors. The UPC passages used here do not cover AAVs, so confirm acceptance with the Authority Having Jurisdiction. The trap arm length is set by UPC Table 1002.2, measured as developed length from the trap weir to the inner edge of the vent:
UPC Table 1002.2 trap arm lengths (except water closets and similar fixtures):
- 1 1/4-inch trap arm: 2 1/2 inches minimum, 30 inches maximum
- 1 1/2-inch trap arm: 3 inches minimum, 42 inches maximum
- 2-inch trap arm: 4 inches minimum, 60 inches maximum
- 3-inch trap arm: 6 inches minimum, 72 inches maximum
- 4-inch trap arm: 8 inches minimum, 120 inches maximum
- Larger than 4 inches: 2 times the diameter minimum, 120 inches maximum
Every replacement must also meet these rules:
- Slope the trap arm 1/4 inch per foot (20.8 mm/m), per the note to UPC Table 1002.2.
- Make the trap the same size as the trap arm (UPC 1003.3), and never larger than the drain it discharges into (IPC 1002.5).
- Keep the tailpiece from fixture outlet to trap weir as short as practical and never over 24 inches (UPC 1001.2).
- Set the trap level with respect to its seal and, where necessary, protect it from freezing (IPC 1002.7 and UPC 1005.1).
- Use slip joints only at the trap inlet, the trap outlet and within the seal, with approved elastomeric gaskets (IPC 1002.2). The UPC allows one slip joint at most on the outlet side (UPC 1003.2).
- Make changes in direction with approved drainage fittings (IPC 706.1).
- Take the vent off above the centerline of a horizontal drain, and run it up at least 6 inches above the fixture's flood-level rim before it offsets horizontally unless structural conditions prevent it (UPC 905.2 and 905.3).
Replacing a lavatory S-trap with a P-trap and AAV
Tap Next to go through it.
Step 1
Assess (IPC and UPC): a lavatory has a 1 1/2-inch trap whose outlet turns down into a pipe rising through the floor, with no vent. That is an S-trap, prohibited by IPC 1002.3 and UPC 1004.1, so it comes out.
Step 2
Plan the route (IPC 706.1): open the wall behind the lavatory and install a new vertical drain with a drainage tee, side inlet facing the fixture, the upper branch rising as the vent and the lower branch running down to the existing drain.
Step 3
Select fittings (UPC 1003.3 and IPC 1002.5): a 1 1/2-inch P-trap and 1 1/2-inch trap arm, so trap and arm match in size and the trap is no larger than the drain it feeds. Both codes list 1 1/4 inches as the minimum lavatory trap (UPC Table 702.1 and IPC Table 709.1), and UPC 1003.3 allows a trap no more than one pipe size larger than its table size, so 1 1/2 inches passes under both.
Step 4
Check length (UPC Table 1002.2): the trap arm measures 24 inches from the trap weir to the inner edge of the vent. For a 1 1/2-inch arm the table allows 3 to 42 inches, so 24 inches passes.
Step 5
Calculate fall (note to UPC Table 1002.2): 24 inches is 2 feet. At 1/4 inch per foot, 2 x 1/4 = 1/2 inch, so set the arm's connection at the tee 1/2 inch lower than its start at the trap outlet.
Step 6
Vent it (IPC Section 918): this step applies only where the IPC applies, or where the Authority Having Jurisdiction accepts an AAV under the UPC. With no route to a vent through the roof, fit an air admittance valve on the vent branch, placed as IPC Section 918 requires, and confirm the building already has at least one vent reaching outdoors.
Step 7
Assemble (IPC 1002.2, IPC 1002.7 and UPC 1005.1): slip joints only at the trap inlet, outlet and within the seal, with elastomeric gaskets, set the trap level and, where necessary, protect it from freezing.
Step 8
Test (UPC 712.1): fill the trap, then run the final test with the fixture set. Do not air-test plastic pipe.
What to take from it
Measure the arm against the table first, then work out the fall from its length. The vent position follows from both.
Note
The trap arm table above is the UPC's. On an IPC job, check the IPC's own trap arm limits and your local amendments before you cut pipe.
Frequently asked questions
How deep must the water seal in a P-trap be?
Both the IPC (Section 1002.4) and the UPC (Section 1005.1) require a liquid seal of at least 2 inches and no more than 4 inches. The IPC allows a deeper seal for special designs relating to accessible fixtures. The UPC allows a deeper seal where the Authority Having Jurisdiction finds it necessary.
Can one P-trap serve a double-bowl sink?
Yes, within limits. The IPC lets a combination fixture share one trap if one compartment is no more than 6 inches deeper than the other and the waste outlets are no more than 30 inches apart. The UPC allows one trap for up to three single-compartment sinks or laundry tubs of the same depth, or three adjacent lavatories in the same room, with outlets no more than 30 inches apart and the trap centrally located where there are three compartments.
Can an inspector approve a different venting method?
Under IPC Section 105.2, the code official may approve an alternative material, design or method if it meets the intent of the code and is at least equivalent in quality, strength, effectiveness, fire resistance, durability and safety. If it is refused, the official must give the reasons in writing. The UPC allows combination waste and vent systems where structural conditions rule out a conventional layout, but construction documents must be approved before any of it is installed.
Does the UPC ever allow an unvented trap?
Only where the code provides for it. One case is sinks built into bars, soda fountains and counters where a vent is impossible to install. Those sinks must then discharge through approved indirect waste pipes into a floor sink or other approved receptor. A standard lavatory or kitchen sink does not qualify.
Disclaimer: The information provided in this educational content has been prepared with care to reflect current regulatory requirements for continuing education. However, licensing rules and regulations can vary by state and are subject to change. While we strive for accuracy, ExpertCE cannot guarantee that all details are complete or up to date at the time of reading. For the most current and authoritative information, always refer directly to your state’s official licensing board or regulatory agency.


