
Sewer Cleanout Locations, Sizing, and Code Requirements
A sewer cleanout is an access opening in a drainage system, closed with a removable plug or cap, that lets you clear obstructions from the pipe without taking the system apart. The 2021 IPC and 2021 UPC both require cleanouts at set intervals along horizontal piping, at qualifying changes of direction, and near the point where the building drain meets the building sewer.
What is a cleanout in plumbing?
A cleanout in plumbing is an opening into the drainage piping that lets you feed a cable or drain-cleaning machine straight into the line to clear a stoppage. A sewer cleanout does the same job on the building drain and building sewer, the lines most likely to back up a whole building. The IPC cleanout definition in Section 202 recognizes two forms: a removable plug or cap, and a removable fixture or fixture trap. Under IPC 708.1.6, a fixture trap or a fixture with an integral trap counts as a cleanout equivalent, provided you can take it off without disturbing concealed piping.
Cleanouts also matter for camera work. When an existing building sewer or drain is replaced by pipe bursting (IPC 716) or relined (IPC 717), the code calls for recorded video camera surveys, and those surveys must note where the cleanouts sit. Where a line replaced by pipe bursting never had compliant cleanouts, IPC 716.6 requires you to add the missing cleanout fittings as part of the job.
Where the 2021 IPC requires cleanouts
IPC Section 708.1 sets out the plumbing cleanout requirements in subsections 708.1.1 through 708.1.12, and Section 703.5 sends building sewer cleanouts back to the same section. Horizontal drainage pipes inside buildings and building drains need cleanouts no more than 100 feet apart. Where manholes take their place on a building drain, the limit is 400 feet. You measure each interval from the cleanout or manhole opening along the developed length of the pipe to the next fitting that gives cleaning access, or to the end of the drain. Building sewers smaller than 8 inches also take cleanouts at intervals of 100 feet or less. One exception applies: the fixture drain between a nonremovable trap and its vent connection needs no cleanout. The 2021 IPC does not list the base of a stack among the cleanout locations in Sections 708.1.1 through 708.1.12, but check for local amendments.
Beyond spacing, the IPC adds these location triggers:
- Junction (708.1.3): a cleanout must serve the point where the building drain meets the building sewer, either at the junction or within 10 feet of developed length upstream of it. Pulling a water closet does not count as that access.
- Change of direction (708.1.4): where a horizontal drainage pipe, building drain or building sewer turns horizontally more than 45 degrees, install a cleanout at the turn.
- Grouped turns (708.1.4): where two or more such turns fall within 40 feet of developed length, the cleanout at the first turn serves every turn inside that 40 feet.
Watch out
Intervals run along the developed length of the pipe, not straight across the plan sheet, so scale every offset and fitting into the measurement. Also remember that the IPC building drain extends 30 inches beyond the exterior wall, so the junction with the building sewer is often outside the foundation. The plumbing cleanout diagram below marks each trigger on a typical layout.
Where the 2021 UPC requires cleanouts
UPC 707.4 works differently. Every horizontal drainage pipe needs a cleanout at its upper terminal, and any run longer than 100 feet in total developed length needs one cleanout for each 100 feet or fraction of that length. An additional cleanout goes in for each aggregate horizontal change of direction exceeding 135 degrees, so you add up the turns rather than judging each one alone. Each urinal also gets a cleanout above its fixture connection fitting, wherever it sits in the building. For the building sewer, UPC 719.1 places the cleanout inside the building near its connection to the building drain, or outside at the lower end of the building drain and extended to grade, with more at 100-foot intervals on straight runs and at each aggregate turn exceeding 135 degrees. Under 719.2, a straight building sewer branch of 10 feet or less, projected from a building drain that already has a cleanout, needs none at its connection.
UPC 707.4 lists four exceptions:
- A horizontal drain line shorter than 5 feet may omit its cleanout, unless it serves sinks or urinals.
- A horizontal drainage pipe sloped at 72 degrees or less from vertical (a one-fifth bend) may omit its cleanout.
- Piping above the floor level of the lowest floor needs no cleanout, except for the building drain, its horizontal branches, kitchen sinks and urinals.
- An approved two-way cleanout fitting may replace an upper terminal cleanout when installed inside the building wall near the building drain to building sewer connection, or outside at the lower end of the building drain and extended to grade.
Cleanout location triggers: IPC vs UPC
| 2021 IPC | 2021 UPC | |
|---|---|---|
| Spacing on horizontal piping | Not more than 100 feet, measured from each opening along developed length | One per 100 feet, or fraction, on runs over 100 feet of developed length |
| Bend trigger | Any single horizontal change greater than 45 degrees. One cleanout covers all such turns within 40 feet | Each aggregate horizontal change exceeding 135 degrees |
| Upper terminal | Not a listed trigger in 708.1 | Required on each horizontal drainage pipe. An approved two-way fitting may substitute |
| Drain to sewer connection | At the junction or within 10 feet upstream | Inside near the connection, or outside at the lower end of the building drain extended to grade |
| Manhole spacing | 400 feet maximum | 300 feet maximum, with AHJ approval |
The difference
IPC counts single turns over 45 degrees. UPC totals turns past 135 degrees and adds the upper terminal.
Sizing cleanout fittings and manholes
Under IPC 708.1.5, a cleanout matches the size of the pipe it serves, but piping larger than 4 inches never needs a cleanout bigger than 4 inches.
The IPC allows three exceptions:
- A removable P-trap with slip or ground joints can serve as the cleanout for drain piping one size larger than the trap.
- A cleanout on a stack can be one size smaller than the stack.
- Cleanouts on cast-iron piping can be sized to the referenced cast-iron fitting standards in Table 702.4.
The UPC sizes from Table 707.1, and 707.10 forbids going smaller than the table. Note that on a 4-inch UPC line the minimum cleanout is 3 1/2 inches, not 4.
| Pipe size (inches) | Minimum cleanout size (inches) | Threads per inch |
|---|---|---|
| 1 1/2 | 1 1/2 | 11 1/2 |
| 2 | 1 1/2 | 11 1/2 |
| 2 1/2 | 2 1/2 | 8 |
| 3 | 2 1/2 | 8 |
| 4 and larger | 3 1/2 | 8 |
On large mains, manholes take over. IPC building sewers of 8 inches and larger need a manhole within 200 feet of the building drain junction and then every 400 feet, and any manhole inside a building needs a gas-tight cover that takes tools to remove. The UPC lets approved manholes replace cleanouts only once the Authority Having Jurisdiction approves them, at no more than 300 feet apart, with inlet and outlet connections made through a flexible compression joint 12 inches to 3 feet from the manhole and never embedded in its base.
Working clearance in front of the opening
A cleanout you cannot get a machine in front of is useless, so both codes protect working room. The IPC requires at least 18 inches of clear space for cleanouts on 6-inch and smaller piping, and at least 36 inches for 8-inch and larger, each measured perpendicular to the face of the opening out to any obstruction. The UPC asks for an 18-inch by 18-inch clear space in front of cleanouts on piping 2 inches or smaller, and 24 inches by 24 inches where the pipe exceeds 2 inches.
The IPC also bans required cleanouts from concealed spots: plenums, wall cavities, floor/ceiling assemblies, below grade, and crawl spaces with less than 24 inches of height along the path from the opening to the cleanout. A wall cleanout face must sit within 1 1/2 inches of the finished wall. A below-grade cleanout is extended until the top of its plug is at or above grade. A floor or walkway cleanout without a trim cover takes a countersunk plug set flush with the finished surface. Never bury a plug under mortar, plaster or any permanent material, and where vehicles run over it, install an ASME A112.36.2M floor cleanout assembly.
The UPC wants every cleanout above grade and readily accessible unless it sits under an approved cover plate that still gives the required clearance. Under-floor cleanouts must be brought up to or above the finished floor, or out of the building, where there is less than 18 inches of vertical and 30 inches of horizontal clearance from the access opening. No under-floor cleanout may sit more than 5 feet from an access door, trap door or crawl hole.
Laying out cleanouts on a commercial building drain
Tap Next to go through it.
Step 1
The plan: a commercial building under the 2021 IPC with a 4-inch horizontal building drain that runs 150 feet of developed length from its first cleanout to the junction with a 6-inch building sewer. It turns 90 degrees at 40 feet and again at 70 feet.
Step 2
Bends: both turns exceed 45 degrees, so a cleanout goes at the first turn (40 feet). The second turn is only 30 feet beyond it, inside the 40-foot window, so the first cleanout covers both.
Step 3
Spacing: from the 40-foot cleanout, the next access must come no later than 140 feet of developed length.
Step 4
Junction: the cleanout must sit at the junction or within 10 feet upstream. Placing it at 140 feet satisfies the junction rule and the 100-foot spacing with one fitting.
Step 5
Sizing: the drain cleanouts are 4 inches to match the pipe. The 6-inch building sewer, being smaller than 8 inches, takes cleanouts every 100 feet, and those need not exceed 4 inches.
Step 6
Clearance: every pipe here is 6 inches or smaller, so each opening needs 18 inches clear perpendicular to its face. Any wall-mounted face must finish within 1 1/2 inches of the wall.
Step 7
Under the 2021 UPC the same plan changes: the drain needs an upper terminal cleanout, the two 90-degree turns total 180 degrees and exceed 135 degrees, the 4-inch line takes a 3 1/2-inch minimum cleanout, and each opening needs 24 inches by 24 inches clear.
What to take from it
Work bends first, then spacing, then the junction, and look for one fitting that satisfies more than one rule. Size and clearance follow from the pipe diameter.
Fitting direction, plugs and materials
Set the fitting so the cable goes downstream. IPC 708.1.9 permits cleaning only in the direction of drainage flow, except for test tees serving as cleanouts and an approved two-way cleanout at the drain to sewer junction. The UPC (707.5 and 719.4) lets the cleanout open in the direction of flow or at right angles to it, and apart from wye branch and end-of-line cleanouts, it must sit vertically above the flow line of the pipe. Under UPC 707.6, a cleanout extension counts as drainage piping, and a 90-degree extension must come off a wye-type fitting or an approved fitting with equal sweep.
IPC 708.1.7 allows cleanout plugs of copper alloy, plastic or other approved materials. Copper-alloy plugs must meet ASTM A74 and go on metallic piping only, plastic plugs follow the plastic fitting standards in Table 702.4, and borosilicate glass systems take borosilicate glass plugs. Under UPC 707.1, a cast-iron cleanout has a cast-iron or copper-alloy body with an approved plug, while galvanized, copper or copper-alloy pipe takes a Table 707.1 plug, a standard weight copper-alloy cap, an approved ABS or PVC plug, or an approved stainless steel cleanout or plug. Table 707.2 lists the approved standards for each material. On hubless blind plugs, UPC 707.13 requires the whole coupling and plug to stay accessible for removal.
Warning
UPC 707.3 requires every cleanout to be watertight and gastight. A loose or wrong plug lets sewer gas into the building. Where a raised head would create a hazard, UPC 707.12 calls for a countersunk plug.
Check yourself
Under the 2021 UPC, what clear working space is required in front of a cleanout on 3-inch horizontal piping?
- 18 inches by 18 inches
- 24 inches by 24 inches
- 18 inches perpendicular to the opening
- 36 inches perpendicular to the opening
Frequently asked questions
What does a sewer cleanout look like?
You usually find it as a plug or cap on a short pipe end at grade, in a floor or on a wall. The IPC requires the plug to have a raised square head, a countersunk square head or a countersunk slot head, and the UPC allows raised square heads or approved countersunk rectangular slots. Indoors it may sit behind an approved trim cover or access door. Under concrete or asphalt paving, the UPC lets it be reached through a yard box or brought flush with the paving.
Do storm drainage systems need cleanouts?
Yes. IPC 1101.8 requires cleanouts in the storm drainage system under the same rules as sanitary drainage, except for subsurface drainage systems. Where a storm water trap is installed, IPC 1103.4 also calls for an accessible cleanout on the building side of that trap.
Can I connect a new fixture to an existing cleanout opening?
Under IPC 708.1.12, you may not use a threaded cleanout opening to add a fixture or extend piping. The only way to do it is to install another cleanout of equal size, with the required access and clearance, so the line keeps its cleaning point.
Do condensate drain lines need a cleanout?
IPC 314.2.5 requires condensate drain lines to be laid out so blockages can be cleared and maintenance done without cutting the line. UPC 814.3.1 sets the same goal and allows it to be met either by the line's configuration or by fitting a cleanout.
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.


