What IRC 2024 § P3105.1 requires
IRC 2024 requires that a toilet (water closet) connect to a 3-inch drain and be served by a 3-inch vent — the vent may not be reduced below the drain diameter. The vent connection must be above the trap weir, not within the trap arm. Under specific conditions, a toilet may be wet-vented or common-vented with a lavatory, but only within the distance limits of Section P3105.1 and the wet vent provisions of Section P3107.
Under IRC 2024, sewer gas entry from an improperly vented toilet is both a code violation and a health hazard.
Several IRC 2024 sections interact to govern toilet venting. Section P3105.1 addresses the distance between the trap and the vent; Section P3113 addresses vent sizing; Section P3107 covers wet venting; and Section P3108 covers common venting.
3-inch drain and 3-inch vent: A toilet requires a 3-inch minimum drain (per Table P3004.1) and a 3-inch minimum vent at the point where the vent connects to the drain. Per P3113.1, a vent may never be reduced below the diameter of the drain it serves. Since the toilet drain is 3 inches, the individual vent at that fixture must begin at 3 inches. The vent may connect to a larger-diameter stack further upstream.
Vent connection location: The vent must connect to the drain above the trap weir. The trap weir is the point in the P-trap where the water level stands — the crown of the trap’s outlet. Connecting the vent within the trap itself or downstream of the trap crown on the building-side of the trap arm allows drain water to flow into the vent pipe during heavy use, partially blocking the vent. Per P3105.1, the vent must connect to the drain within the maximum trap arm distance (6 feet for a 3-inch trap arm per Table P3105.1).
Wet venting a toilet: Section P3107 permits wet venting — where the drain pipe also serves as the vent pipe for an upstream fixture — under specific conditions. A toilet (water closet) may be wet-vented by a lavatory under P3107.1 if the lavatory waste connects above the toilet trap arm and the horizontal wet vent does not exceed 6 feet in total length. The wet vent must be sized for the combined DFU load of both fixtures (typically requiring a 3-inch wet vent for a toilet-lavatory combination).
Common venting: Section P3108 permits two fixtures at the same floor level to share a common vent if they are on opposite sides of the same wall and connect to the drain at the same level. Common venting a toilet and lavatory in a back-to-back configuration on adjacent walls is a code-compliant approach when properly sized and installed.
Sewer gas and health implications: An improperly vented toilet does not just violate code — it introduces hydrogen sulfide, methane, and other sewer gases into the bathroom through an empty trap. These gases are malodorous at low concentrations and toxic or flammable at higher concentrations. The code requirements for toilet venting exist specifically to maintain the trap water seal that serves as the barrier between the sewer system and the occupied space.
Why This Rule Exists
A toilet flush moves a large volume of water — 1.28 to 1.6 gallons — in a very short time through a 3-inch drain. This rapid water movement creates significant negative pressure downstream of the toilet in the drain branch. Without a properly sized vent, that negative pressure siphons the water seal from the toilet trap itself or from the trap of the next fixture downstream on the same drain. The 3-inch vent requirement ensures sufficient air volume is available to equalize pressure during a typical toilet flush without restriction.
The requirement that the vent connect above the trap weir ensures that the vent provides air at exactly the right point in the system — just downstream of the trap crown where negative pressure is created by drain flow. A vent that connects too far downstream on the drain branch loses most of its pressure-equalizing effect for the toilet trap nearest to it.
What the Inspector Checks at Rough and Final
At rough-in, the plumbing inspector measures the distance from the toilet flange to the vent connection. For a 3-inch drain, the maximum horizontal distance from the trap to the vent is 6 feet per Table P3105.1. The inspector also verifies that the vent connects above the trap weir (not within the trap itself), that the vent pipe is 3-inch minimum at the connection, and that the toilet flange is at the correct height above the subfloor (typically 1/4 inch above the finish floor height for standard flanges).
At final inspection, the inspector checks that the toilet is properly installed and sealed with a wax ring or equivalent gasket, that the toilet flange is securely bolted to the floor, and that the vent system has been tested (smoke test or water test) for leaks. If the toilet has been wet-vented, the inspector verifies that the wet vent length and diameter comply with P3107.
What Contractors Need to Know
The toilet flange must be set at the correct height. A flange set too low results in the toilet rocking and a poor seal between the toilet and the drain. A flange set too high prevents the toilet from sitting flat. Standard practice is to set the flange with the top of the hub approximately 1/4 inch above the anticipated finish floor surface, accounting for the thickness of tile, hardwood, or other flooring to be installed after rough-in.
The vent for the toilet must be within 6 feet of the toilet trap, but this is horizontal distance, not pipe length. If the vent must travel horizontally to reach the stack, the 6-foot limit applies to the horizontal distance from the trap to the vent connection point. Vertical distance above the connection point to where the vent enters the stack does not count toward the 6-foot maximum.
When designing a bathroom group with a toilet, lavatory, and shower/tub, consider the wet vent option (P3107) which allows the lavatory to be vented by the same pipe that drains it, connecting above the toilet trap arm. This is particularly useful in remodels where wall space for vent pipes is limited. Confirm the wet vent sizing with Table P3107.1 before proceeding.
What Homeowners Get Wrong
Homeowners who add a toilet in a basement or other location without a permit frequently omit or improperly configure the vent. A common “solution” is to install an air admittance valve on the toilet drain. While a properly listed branch AAV can work for a toilet in some jurisdictions, an individual-fixture AAV (the small type sold at hardware stores) is not listed for the 3 DFU load of a toilet and will not provide adequate venting.
Another frequent mistake is the “S-trap” — connecting the toilet drain directly to a vertical drain without any vent connection. S-traps are prohibited by IRC P3201.1 because they self-siphon every time the toilet flushes, leaving no water seal in the trap. If a toilet makes a gurgling sound after flushing and then emits sewer odors, a self-siphoning S-trap or inadequate venting is the likely cause.
Homeowners sometimes attempt to cap or plug an existing vent pipe to stop an odor they incorrectly attribute to the vent. Capping a vent pipe causes pressure buildup in the system that leads to loud gurgling, slow drainage, and ultimately water being forced back through fixture traps. The vent pipe must remain open and unobstructed.
State and Local Amendments
Most jurisdictions follow the IRC vent distance limits from Table P3105.1. Some jurisdictions have adopted stricter limits — reducing the maximum trap arm distance for toilets from 6 feet to 4 feet to provide more conservative venting performance. In high-rise residential buildings (above IRC 3-story scope), the IBC and IMC apply, which have additional venting requirements for tall buildings including stack vents with relief vents at each floor.
California’s Plumbing Code Section 904.0 sets slightly different trap arm distance limits than the IRC and has specific requirements for wall-hung toilets that differ from floor-mounted toilet installations. If the project is in California, always reference the California Plumbing Code rather than the base IRC for toilet venting details.
When to Hire a Professional
Toilet installation in an existing bathroom that already has correct plumbing rough-in is within the ability of an experienced DIYer. However, adding a new toilet in a new location — finishing a basement, adding a bathroom addition — requires modifying the drain and vent system. This work requires a plumbing permit and inspection, and should be designed and installed by a licensed plumber who can properly plan the vent connection location, slope, and sizing before the rough-in is covered.
Common Violations Found at Inspection
- Toilet vent smaller than 3 inches at the connection to the drain (e.g., 2-inch vent on a 3-inch toilet drain)
- Vent connection more than 6 feet horizontally from the toilet trap
- Vent connecting below the trap weir, inside the trap itself or on the sewer side of the trap crown
- S-trap configuration (no vent at all — toilet drain goes directly vertical without a horizontal trap arm and vent)
- Individual-fixture AAV (1 to 2 DFU) used to vent a toilet (requires minimum 3 DFU capacity)
- Wet vent exceeding the 6-foot maximum length permitted by P3107.1
- Toilet flange set too low for the finish floor — resulting in rocking toilet and failed seal
- No cleanout access on the toilet drain branch within the required distance
- Vent pipe reduced below 3 inches anywhere between the toilet connection and the vent stack
- Common vent used for toilet and lavatory where the fixtures are not at the same floor level
Key takeaways
The points to remember from this section
- 01 A toilet requires a 3-inch drain and a 3-inch vent — the vent may never be smaller than the drain it serves at the connection point.
- 02 The vent connection must be above the trap weir and within 6 feet horizontally of the toilet trap per Table P3105.1.
- 03 Wet venting a toilet with a lavatory is permitted under P3107.1 when the lavatory waste connects above the toilet trap arm within 6 feet.
- 04 S-traps (toilet drain going directly vertical without a horizontal trap arm and vent connection) are prohibited by IRC P3201.1.
- 05 An improperly vented toilet introduces sewer gas into the bathroom when the trap seal is siphoned — a health hazard, not just a code violation.
Field Q&A
Common questions about P3105.1
01 Why does a toilet need a 3-inch vent? ▸
02 Can a toilet and lavatory share a vent? ▸
03 What is an S-trap and why is it prohibited? ▸
04 How far can the toilet be from its vent connection? ▸
05 Can I use an air admittance valve to vent a toilet? ▸
06 What height should the toilet flange be set at during rough-in? ▸
Educational reference only. Code text is paraphrased from the ICC model; adopted code may differ due to state or local amendments. Always verify with your Authority Having Jurisdiction before relying on this content for construction.