Study guide
4.3 Building Drains, Sewers, & Cleanouts
Journeyman Plumber Exam
Track your progress as you read
Finished sections get a check mark.
1 Chapter 1: Administration, Code Enforcement, & Safety
1.1 Administration, Permits, and Inspections 1.2 General Regulations & Building Integrity 1.3 Material Standards & Piping Joining Methods 1.4 Plumbing Math & Water Calculations 1.5 Isometric Drawings & Blueprint Reading
2 Chapter 2: Plumbing Fixtures, Appliances, & Water Heaters
Plumbing Fixtures & Minimum Standards Water Heaters & Safety Devices Special Fixtures & Healthcare Plumbing Fixture Installation & Connection Rules Water Conservation & Flow Rates
3 Chapter 3: Water Supply & Distribution Systems
Water Service Piping & Main Sizing Water Supply Sizing & WSFU Calculations Backflow Prevention & Cross-Connection Control Water Pressure Boosters & Reducing Valves Hot Water Distribution & Recirculation Disinfection & Potable Water Quality
4 Chapter 4: Sanitary Drainage Systems & DFU Sizing
4.1 Sanitary Drainage Fundamentals & DFU 4.2 Drainage Pipe Sizing & Minimum Slopes 4.3 Building Drains, Sewers, & Cleanouts 4.4 Sumps, Ejectors, & Sewage Pumps 4.5 Special Wastes & Chemical Drainage 4.6 Indirect & Special Waste Piping
5 Chapter 5: Plumbing Venting Systems
5.1 Venting Principles & Vent Stack Sizing 5.2 Individual, Common, & Wet Venting 5.3 Circuit, Loop, & Island Venting 5.4 Air Admittance Valves & Combination Vents 5.5 Vent Terminals & Roof Penetrations
6 Chapter 6: Traps, Interceptors, & Separators
6.1 Trap Requirements & Hydraulic Seals 6.2 Trap Seal Protection & Primers 6.3 Grease Interceptors & Hydromechanical Traps 6.4 Oil, Sand, & Flammable Liquid Separators 6.5 Backwater Valves & Flood Protection
7 Chapter 7: Storm Drainage & Exterior Systems
7.1 Storm Drainage Sizing & Roof Drains 7.2 Subsoil Drainage & Sump Systems 7.3 Combined & Separated Sewer Connections 7.4 Rainwater Harvesting & Non-Potable Systems
8 Chapter 8: Fuel Gas Piping & Appliance Venting
8.1 Fuel Gas Piping Materials & Joints 8.2 Fuel Gas Pipe Sizing & Pressure Drop 8.3 Gas Pipe Inspection, Testing, & Purging 8.4 Appliance Venting & Draft Hoods 8.5 Combustion Air & Appliance Location
4.3 Building Drains, Sewers, & Cleanouts
Key Takeaways Explain This Topic AI
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, regardless of pipe size (IPC 708.1.1).
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.
Last updated: August 2026
- 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.