What IRC 2024 § P3002 requires
IRC 2024 Section P3002 governs materials and installation requirements for the building drain (the horizontal pipe inside or under the building that collects all fixture drains) and the building sewer (the pipe from the foundation to the public sewer or septic system). Approved materials include ABS, PVC, cast iron, and — for the building sewer only — vitrified clay pipe. The building drain must be a minimum of 3 inches in diameter (4 inches is almost universal in practice), must slope at the required grade, and must be inspected and approved before backfilling or covering.
Under IRC 2024, most modern jurisdictions no longer require a building trap at the foundation.
Section P3002 of the 2024 International Residential Code establishes the approved materials for drain and sewer piping. For the building drain — the portion of the drain system inside or under the building from where the system begins to receive fixture connections to the point where it exits the building — approved materials include ABS plastic pipe, PVC plastic pipe, cast iron pipe, copper pipe, and galvanized steel pipe (for replacement work only). For the building sewer — the pipe that runs from the building foundation to the public sewer main or septic tank — the approved list adds vitrified clay pipe, which is common in older installations and still available in some markets.
The building drain must meet the same slope requirements established in P3005.3: a minimum of 1/4 inch per foot for pipes 3 inches and smaller, and 1/8 inch per foot for 4-inch and larger pipes when minimum self-scouring velocity is maintained. The building drain must be sized per the DFU method in P3004, which in practice means a minimum of 3 inches for most single-bathroom homes and 4 inches for virtually all multi-bathroom residences.
The connection between the building drain and the building sewer must be made with approved fittings appropriate to the pipe materials. When the materials on each side of the connection are different — for example, PVC building drain connecting to an existing vitrified clay or cast iron building sewer — an approved transition coupling must be used. These couplings, often called fernco couplings or Mission couplings, use rubber gaskets and stainless steel bands to create a flexible, watertight connection between pipes of different materials and different outside diameters.
Why This Rule Exists
The building drain and building sewer together form the most critical portion of the drainage system. A failure or blockage in these components affects the entire dwelling since all fixture drains discharge into them. Material requirements exist because not all pipe materials are suitable for every application in a drain system. Cast iron provides excellent sound attenuation and is highly durable under slab but is expensive and heavy. PVC and ABS are lightweight, easy to work with, chemically resistant, and suitable for most residential applications. Vitrified clay, while rarely used in new construction today, has excellent chemical resistance and is still encountered in building sewers serving older homes connected to aging municipal sewer infrastructure.
The inspection-before-backfilling requirement is among the most practically important rules in Chapter 30. Once a building drain or building sewer is buried under a concrete slab or backfilled with soil, it is essentially inaccessible without major excavation. An undetected leak, incorrect slope, or failed joint in a buried drain line can cause years of ground contamination, foundation damage, and chronic sewage backup problems. The mandatory inspection window — before any covering occurs — is the code’s primary quality-control mechanism for underground drainage work.
The elimination of the building trap from most modern codes reflects improved understanding of how sewer systems work. The building trap was originally intended to prevent sewer gases from backing up through the building sewer into the building’s drainage system. Modern design practice relies on properly designed and maintained plumbing fixture traps and vent systems to provide that protection at the fixture level, which is more reliable than a single house trap that is difficult to clean and prone to accumulating solids.
What the Inspector Checks at Rough and Final
The building drain inspection is one of the most important inspections in the plumbing rough-in sequence because it is the last opportunity to verify the system before it is concealed. The inspector will verify pipe material, pipe size, joint integrity, slope, cleanout placement, and the two-way cleanout at the building drain. For underground installations, the inspector may probe the pipe with a level at multiple points to verify continuous slope without bellies.
The inspector will look specifically at the building drain-to-sewer transition. Any change in pipe material must be made with a proper transition coupling. Joints in the building sewer must be watertight; the inspector may require a water test or a video inspection camera for underground sewer runs that cannot be visually inspected from both ends. In many jurisdictions, the building sewer from the foundation to the property line is inspected separately by the public works department rather than the building department, and the homeowner or contractor must obtain a separate sewer permit and inspection from the utility.
At final inspection, the inspector will verify that any above-grade portions of the building drain and the cleanout access are intact and accessible. The inspector will also verify that any point where the building drain penetrates the foundation or slab is properly sealed with a fire-rated caulk or pipe sleeve in jurisdictions that require sealing of slab penetrations for pest control.
What Contractors Need to Know
The connection between the building drain and the existing building sewer is the most failure-prone joint in a new installation, primarily because it involves connecting new pipe to old pipe under conditions that are not always predictable. Old building sewers may be offset from their stated location, may have deteriorated to the point where a transition coupling cannot seal reliably, or may have inside diameters that do not match the outside diameters of modern pipe. Before committing to a pipe material for the new building drain, contractors should verify the condition and outside diameter of the existing building sewer at the connection point.
For new construction on empty lots, the building sewer is installed before the foundation is poured, with the pipe stubbed up through the slab at the location where the building drain will begin. Getting the stub-up height, slope, and location correct at this stage is critical because it determines the slope and layout of the entire building drain system. A stub-up that is too high, too low, or in the wrong location creates slope or layout problems that are difficult and expensive to correct after the slab is poured.
Contractors must also plan for thermal expansion in plastic drain pipe. PVC and ABS expand and contract with temperature changes, and long underground runs need expansion joints or are bedded in conditions that allow longitudinal movement. Failure to account for thermal expansion in a long underground PVC building drain can cause joint separation over time, even in pipes that passed inspection at installation.
What Homeowners Get Wrong
Homeowners frequently confuse the building drain with the building sewer and are surprised to learn that each may be regulated by a different jurisdiction. The building drain, which is inside the building or under the slab, is typically regulated by the local building department and inspected as part of the plumbing permit. The building sewer, from the building foundation to the public sewer main, is often regulated by the public works department or sanitary district and requires a separate utility permit and inspection. Failing to obtain both permits results in portions of the work proceeding without required oversight.
Homeowners who attempt DIY building sewer replacement also frequently underestimate the minimum slope and layout precision required. It is common for DIY building sewer replacements to produce subtle slope errors that result in chronic blockages within a year or two of installation. These blockages are often attributed to root intrusion or grease buildup when the actual cause is insufficient slope at one section of the pipe.
The requirement to call 811 (Dig Safe) before excavating for any underground plumbing work is not a building code requirement per se, but it is a legal obligation in every U.S. state. Homeowners who excavate for a building sewer replacement without calling 811 risk hitting underground utilities, which can result in injury, utility damage, and significant liability.
State and Local Amendments
Some jurisdictions have adopted additional requirements for building sewer materials that go beyond the IRC. For example, certain municipalities require schedule 40 PVC rather than SDR-35 PVC for building sewers under roads or in areas with high groundwater. Others prohibit specific materials — some West Coast jurisdictions do not allow ABS pipe for building sewers due to local amendment. Always verify the locally accepted material list before purchasing sewer pipe.
Several states and municipalities have adopted requirements for pressure testing of the building sewer before backfilling. These tests typically involve plugging the downstream end, filling the sewer with water to a specified head pressure, and verifying that no drop in water level occurs over a defined time period. Where required, this test must be completed and witnessed by the inspector before any backfilling occurs.
When to Hire a Professional
Building drain and sewer work should almost always be performed by a licensed plumber. These pipes serve the entire dwelling, are buried and largely inaccessible after installation, and are subject to inspections by multiple regulatory bodies. The consequences of a defective installation — sewage backup, ground contamination, foundation damage — are severe and expensive to correct. The cost of hiring a licensed plumber for building drain and sewer work is modest relative to the total cost of new construction or a serious repair.
When an older home experiences repeated sewer backups or slow drains that do not respond to cleaning, the building sewer itself may be the problem. Tree root intrusion, pipe collapse, offset joints, and belly sections are all diagnosable with a sewer camera and may require partial or complete building sewer replacement. A licensed plumber with camera equipment can provide a definitive diagnosis before any excavation begins.
Common Violations Found at Inspection
- Building drain installed without required slope, typically due to inadequate planning around existing footings or utilities
- Material transition between building drain and building sewer made without an approved transition coupling, creating a joint that leaks over time
- Building sewer backfilled before inspection, preventing verification of slope, joint integrity, and pipe material
- No two-way cleanout installed at the building drain, preventing access in both upstream and downstream directions
- Building drain pipe size undersized for the total DFU load of the dwelling, causing surcharging during peak use
- Joints between sewer sections not fully seated or improperly glued, discovered at pressure test or water test
- Vitrified clay pipe used inside the building where only plastic, cast iron, or copper are approved materials
- Building sewer stub-up height or location set incorrectly in new construction, causing slope problems in the finished building drain
Key takeaways
The points to remember from this section
- 01 IRC 2024 P3002 approves ABS, PVC, cast iron, and copper for the building drain; building sewer adds vitrified clay as an approved material
- 02 The building drain must be sized by the DFU method and slope at minimum 1/4 inch per foot, with a two-way cleanout required before the pipe exits the building
- 03 Underground building drains and sewers must be inspected and approved before backfilling or covering — this is the code’s primary quality-control checkpoint
- 04 Building sewer work often requires a separate utility permit from the sanitary district in addition to the building department plumbing permit
- 05 Material transitions between old and new pipe require approved flexible transition couplings; incompatible pipe materials cannot be glued or solvent-welded together
Field Q&A
Common questions about P3002
01 What is the difference between the building drain and the building sewer? ▸
02 Is a building trap required under IRC 2024? ▸
03 Can I use SDR-35 PVC pipe for the building drain under the slab? ▸
04 Who inspects the building sewer from the foundation to the street? ▸
05 What type of coupling is required to connect new PVC building drain to an old cast iron sewer? ▸
06 Does the building drain need to be inspected before the slab is poured? ▸
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.