4.3 Building Drains, Sewers, & Cleanouts
Key Takeaways
- Under the IPC the building drain ends and the building sewer begins 30 inches (2.5 feet) outside the exterior wall; the UPC places that boundary at 2 feet.
- Cleanouts on horizontal drainage lines must be spaced at intervals not exceeding 100 feet for pipes 4 inches and smaller.
- Cleanouts are mandatory at every horizontal change of direction exceeding 45 degrees on drainage lines.
- A base-of-stack cleanout is required at the foot of every vertical soil or waste stack where it transitions to horizontal.
- IPC Section 708 requires 18 inches of rodding clearance at cleanouts on 6-inch and smaller pipe and 36 inches on 8-inch and larger pipe; the UPC requires 12 inches on 2-inch and smaller pipe and 18 inches on anything larger.
Building Drains, Sewers, & Cleanouts
1. Legal Boundaries: Building Drain vs. Building Sewer
Understanding the exact definitions and physical boundary dividing the Building Drain from the Building Sewer is critical for code enforcement, pipe material selection, trenching depth, and jurisdictional authority.
┌───────────────────────────────────────┐
│ BUILDING INTERIOR │
│ Soil Stacks & Horizontal Branches │
└──────────────────┬────────────────────┘
│
▼
═════════════════════════════════════ ◄── Building Foundation Wall Line
│ │
│ BUILDING DRAIN │
│ (Inside building to 30" outside) │
│ │
═════════════════════════════════════ ◄── 30 INCHES (2.5 FEET) OUTSIDE FOUNDATION
│ (Exact Code Boundary Boundary)
▼
─────────────────────────────────────
│ BUILDING SEWER │
│ (30" outside to municipal main) │
─────────────────────────────────────
Definitions Under IPC and UPC
- Building Drain: The lowest part of a piping system that receives the discharge from soil, waste, and other drainage pipes inside the walls of the building and conveys it to the building sewer. The building drain extends to a point exactly 30 inches (2.5 feet / 0.76 meters) outside the exterior face of the building foundation wall.
- Building Sewer: The extension of the building drain that begins 30 inches (2.5 feet) outside the exterior wall of the structure and conveys wastewater to a public sewer main, private sewage disposal system (septic tank), or individual treatment facility.
The two codes do not agree on this number. The 30-inch boundary is the IPC definition. The UPC defines the building drain as ending — and the building sewer as beginning — 2 feet (24 inches) outside the building. Answer whichever code your jurisdiction has adopted.
Practical Differences in Code Standards
| Engineering Characteristic | Building Drain (Inside + 30" Outside) | Building Sewer (Beyond 30" Outside) |
|---|---|---|
| Material Standards | Schedule 40 PVC/ABS, Cast Iron, Copper DWV | SDR 35, Schedule 40 PVC/ABS, Heavy Cast Iron, Clay |
| Jurisdictional Inspector | Municipal Plumbing Code Official (AHJ) | Local Sewer Authority / AHJ |
| Cleanout Spacing | Every 100 feet maximum | Every 100 feet maximum (UPC/IPC) |
| Minimum Depth | Below slab / frost depth | Subject to local frost depth & main invert |
2. Mandatory Cleanout Locations
A Cleanout is an accessible opening in the drainage system fitted with a removable watertight plug or cap, designed to allow mechanical drain snakes, hydro-jetting nozzles, and sewer inspection cameras access to clear obstructions.
Model plumbing codes mandate cleanouts at specific critical locations throughout the drainage network:
- Building Drain / Sewer Junction: At or near the junction of the building drain and building sewer, placed either inside or outside the foundation wall within 2 to 5 feet of the wall.
- Maximum Horizontal Intervals: On horizontal drainage piping, cleanouts must be installed at intervals not exceeding 100 feet (30,480 mm) measured along the pipe centerline.
- Horizontal Changes of Direction: A cleanout is required at every horizontal change of direction exceeding 45 degrees (e.g., 60-degree, 90-degree bends, or back-to-back fittings). Exception: A single cleanout can serve multiple direction changes if the aggregate change of direction does not exceed 135 degrees.
- Base of Soil and Waste Stacks: A cleanout must be located at the foot of every vertical soil or waste stack where it transitions to a horizontal branch or building drain.
- Upper Terminal of Horizontal Branches: Cleanouts must be installed at the high end (head) of every horizontal drainage line to allow rodding in the direction of flow.
3. Cleanout Sizing, Fittings, and Clearances
Cleanouts must be sized to match the nominal diameter of the pipe they serve up to 4 inches. For piping larger than 4 inches, cleanout openings do not need to exceed 4 inches nominal size.
| Nominal Drainage Pipe Size | Minimum Cleanout Threaded Opening Size |
|---|---|
| 1-1/2 inches | 1-1/2 inches |
| 2 inches | 2 inches |
| 3 inches | 3 inches |
| 4 inches | 4 inches |
| 5 inches or larger | 4 inches |
Fitting Geometry and Direction of Flow
Cleanouts must open in the direction of wastewater flow or at right angles (90 degrees) to the pipe. Standard sanitary tees installed in a horizontal position with the branch facing upstream are strictly prohibited as cleanout access points because mechanical drain cables cannot negotiate sharp 90-degree branch turns. Approved cleanout fittings include combination wye and 1/8 bends, combination long-turn sweeps, or sanitary tees used vertically at stack bases.
Code Required Working Clearances
To allow plumbers sufficient room to maneuver heavy mechanical drain rodding machines, cleanouts must maintain unobstructed working clearances in front of or above the cleanout plug:
- IPC (Section 708): Cleanouts on 6-inch and smaller pipe require not less than 18 inches (457 mm) of clearance for rodding. Cleanouts on 8-inch and larger pipe require not less than 36 inches (914 mm).
- UPC (Section 707.9): Cleanouts in piping 2 inches and smaller require not less than 12 inches (305 mm) of clearance in front of the cleanout; cleanouts in larger piping require not less than 18 inches (457 mm).
- Practical takeaway: for ordinary 2-inch through 6-inch building drainage, 18 inches is the clearance both codes converge on.
- Under Floor Slabs: Cleanouts installed under concrete slabs or in crawl spaces must extend flush with the finished floor grade or extend outside the building wall, unless accessed via a flush floor access box measuring at least 12x12 inches.
┌────────────────────────────────────────────────────────┐
│ CLEARANCE REQUIREMENTS │
│ │
│ [Cleanout Plug] ◄─── 18 INCHES CLEAR SPACE ───► │
│ │ (IPC: 6" and smaller pipe) │
│ ───────┴─────── │
│ Drainage Pipe │
└────────────────────────────────────────────────────────┘
4. Two-Way Cleanouts at Building Sewers
Where a building sewer requires maintenance access near the property line or foundation wall, plumbers frequently install a Two-Way Cleanout assembly consisting of two back-to-back sweep wyes or a specialized double-sweep fitting. A two-way cleanout allows mechanical drain cables to be rodded in two distinct directions:
- Upstream (Toward Building): Rodding backward into the building drain to clear interior stoppages.
- Downstream (Toward Municipal Sewer): Rodding forward into the building sewer main to clear root intrusions or municipal main blockages.
Under the International Plumbing Code, at what distance outside the exterior wall of a building does the building drain terminate and the building sewer begin?
What is the maximum allowable distance between cleanouts on horizontal drainage piping of nominal size 4 inches or smaller?
What minimum unobstructed working clearance must be provided in front of a cleanout plug serving a 4-inch drainage line?
A horizontal drainage pipe changes direction. At what minimum change of direction angle is a cleanout mandatory?