IRC 2018 Sanitary Drainage P3005.4 homeownercontractorinspector

Where are cleanouts required in a drainage system under IRC 2018?

IRC 2018 Cleanout Requirements: Where Drainage Systems Need Access

Cleanouts

Published by Jaspector

Code Reference

IRC 2018 — P3005.4

Cleanouts · Sanitary Drainage

Quick Answer

Under IRC 2018 Section P3005.4, cleanouts are required at the upper end of horizontal drains, at every change of direction greater than 45 degrees in horizontal piping, at intervals not exceeding 100 feet in horizontal drain runs, and at the base of each stack. Each cleanout opening must be the same nominal size as the pipe it serves up to 4 inches, and it must be accessible without removing permanent construction. Cleanouts installed behind finished walls, under concrete slabs, or inside closed cabinets without access panels do not satisfy the accessibility requirement.

What P3005.4 Actually Requires

Section P3005.4 specifies where cleanout access points must be provided in the drainage system. The code requires cleanouts at specific locations where blockages are most likely to occur and where drain-cleaning equipment needs to enter the pipe. These required locations include the upper terminal end of each horizontal drain run, at every aggregate change in horizontal direction exceeding 135 degrees, and at maximum 100-foot intervals along any horizontal drain. At the base of each drainage stack, a cleanout is required to allow cleaning from the lowest horizontal portion of the system.

Cleanout plug or cap access must be full-size to the pipe served up to a 4-inch pipe. A 4-inch building drain requires a 4-inch cleanout opening. A 3-inch branch requires a 3-inch cleanout. The intent is to allow standard drain-cleaning equipment to enter the pipe at each cleanout without restriction from an undersized opening. A cleanout sized smaller than the pipe it serves, while technically present, limits the equipment that can be used and may not satisfy the functional intent of the requirement.

Direction changes within horizontal piping are a key trigger. When the horizontal drain must change direction to navigate around structural elements or to reach the building sewer, a cleanout provides a service entry point at that configuration change where blockages most commonly occur. The code's 135-degree aggregate threshold means that a single 90-degree elbow plus a 45-degree fitting in the same run triggers the cleanout requirement because the combined change exceeds 135 degrees.

Cleanout accessibility means that the cleanout plug can be removed and drain cleaning equipment can be inserted without demolishing, cutting, or removing any permanent building component. A cleanout plug that requires moving a toilet, removing floor tile, or cutting open drywall is not accessible. Cleanouts must be placed in locations where a plumber can access them routinely during the life of the building without structural interference. If a cleanout ends up inside a wall or under a slab during construction, the correct solution is either to relocate it or to install a permanent access panel before the space is finished.

Why This Rule Exists

Every drainage system will eventually need to be cleaned. Grease buildup, scale, root intrusion, and debris accumulation are normal over the service life of a residential building. Without properly placed and accessible cleanouts, a routine drain cleaning becomes a destructive repair that requires opening walls, cutting through floors, or excavating under slabs to access blocked pipe. The cleanout requirement converts future service calls from expensive structural interventions into straightforward professional maintenance.

The accessibility requirement is equally important to the placement requirement. A cleanout that exists but cannot be used without significant intervention is not fulfilling its code purpose. The code recognizes that buildings are finished with materials that obstruct access, which is why it requires accessibility to be maintained as part of the original installation rather than left to chance.

What the Inspector Checks at Rough and Final

At rough inspection, the inspector maps the horizontal drain layout to confirm that cleanouts are provided at all required locations. This is the most effective moment for cleanout compliance review because the pipe is visible, the direction changes can be verified, and the run lengths can be measured. If a required cleanout is missing at rough-in, it is inexpensive to add before the work is covered. Finding a missing cleanout at final inspection or after the house is occupied is significantly more disruptive and expensive to correct.

The orientation of the cleanout opening matters to the inspector as well. A cleanout should be oriented so that it opens toward the direction of drain flow for cleaning, is accessible from above or from a practical service position, and does not require the plumber to work in an awkward or unsafe position to use it. Cleanouts opened downward into a wall cavity, oriented toward a wall, or set at an angle that makes equipment insertion impractical may technically be present but are functionally inadequate.

At final inspection, the inspector verifies that every required cleanout is accessible in the finished condition. Cleanouts that were accessible at rough-in but are now inside a closed cabinet, behind fixed-in-place equipment, or under a finished floor without an access panel fail the final accessibility requirement. This is a common finding on projects where the finish work was done without coordinating the cleanout locations with the cabinet and finish schedule.

What Contractors Need to Know

Planning cleanout locations as part of the initial drain layout, before framing and finish trades have constrained access, is the most effective approach to avoiding cleanout compliance problems. Identify every direction change, every long horizontal run, and every stack base during design and mark the cleanout locations on the rough plumbing plan. That plan gives the framing, cabinet, and finish trades the information they need to avoid blocking cleanout access during their work.

Access panels should be included in the scope for any cleanout that will be inside a finished wall, above a finished ceiling, or behind equipment. Access panels are inexpensive during construction and are a standard requirement for cleanouts in those locations. Omitting the access panel and hoping the finish crew will leave the cleanout accessible without direction is a reliable way to generate a final-inspection correction notice.

The building exterior cleanout is particularly important. A cleanout installed on the building drain at the exterior wall, accessible from outside the building, provides the most versatile and practically useful access point for drain cleaning through the entire building drain and sewer lateral. On residential projects, an exterior cleanout between the building and the street connection is often one of the first things a drain-cleaning contractor looks for when servicing a clogged system. Omitting it forces more intrusive service access from inside the house.

Coordinating cleanout locations with the finish, cabinet, and equipment trades early in the project is the most effective way to prevent final-inspection accessibility failures. Including cleanout locations on the rough plumbing plan, sharing that plan with the finish contractor, and confirming that access panels are included in the finish scope for any cleanout that will be inside a finished wall or ceiling converts cleanout accessibility from a common final-inspection failure into a non-issue. That coordination takes minimal time at the planning stage and prevents a costly final-inspection correction that requires opening finished surfaces.

What Homeowners Get Wrong

Homeowners often think cleanouts are optional accessories that were added at the plumber's discretion rather than code-required access points. When a drain backs up and a service plumber asks where the cleanouts are, owners frequently do not know whether the system has compliant cleanouts, where they are located, or whether they are accessible. That uncertainty turns a routine service call into a longer and more expensive diagnostic process.

Another common mistake is treating cleanout caps as decorative items that should be hidden or painted over. Cleanout caps need to be removable by a service plumber using standard tools. Caps painted shut, buried under flooring material, or hidden behind permanently attached trim cannot serve their purpose. Keeping cleanout caps accessible and visible is a practical maintenance responsibility that owners should be informed about at project completion.

Owners who finish basements sometimes close off previously accessible cleanouts without thinking about the service implications. A cleanout cap that was accessible in an unfinished utility area becomes inaccessible when a closet or storage room wall is built in front of it during a basement finish project. That change requires either relocating the cleanout or adding an access panel before the wall is finished.

Homeowners also sometimes treat a nearby floor drain as a functional substitute for a proper cleanout on the building drain. A floor drain in the utility room connects to the drainage system at the fixture level, not at the building drain level where drain-cleaning access is most useful. A cable inserted through a floor drain can clear a local branch blockage but cannot reach a blockage in the building drain or in the sewer lateral between the building and the street. A correctly placed building drain cleanout gives the service plumber direct access to the section of drain that causes the most expensive blockage problems.

State and Local Amendments

Local amendments and inspection practices around cleanouts often focus on the exterior cleanout for the building drain, access panel requirements, and orientation standards. Some jurisdictions strongly prefer or require cleanouts at the foundation wall as a standard rather than an optional installation. Others have specific access-panel size and location requirements for cleanouts in finished spaces. Texas, Georgia, Virginia, North Carolina, and South Carolina on IRC 2018 apply cleanout requirements actively on residential permits, and local inspectors in those markets typically have clear expectations about exterior cleanout placement and finished-space access.

A few jurisdictions also have special requirements around cleanouts in seismic areas or in underground piping that is subject to settlement, where additional access points along the run may be required by local amendment beyond the base IRC interval.

When to Hire a Licensed Plumber

Drain additions, basement finish projects, and any project that changes horizontal drain routing should include a licensed plumber's evaluation of cleanout placement. A licensed plumber can identify where the code requires cleanouts, plan accessible locations before finish work constrains the options, and include appropriate access panels in the scope. For existing homes with drain problems where the cleanout location is unknown, a licensed plumber can locate the existing cleanouts and assess whether the system has adequate access for routine service.

Common Violations Found at Inspection

  • Missing cleanout at the upper terminal end of a horizontal drain run. The upper end is one of the most commonly required and most commonly omitted cleanout locations.
  • Direction changes exceeding 135 degrees without a cleanout. Complex horizontal routing with multiple fittings frequently exceeds the aggregate angle threshold without a required cleanout.
  • Cleanout installed inside a finished wall or closed cabinet without an access panel. Presence without accessibility fails the code requirement.
  • Cleanout sized smaller than the pipe it serves. An undersized cleanout limits equipment access and does not satisfy the functional purpose of the installation requirement.
  • Cleanout opening oriented so that equipment cannot be inserted effectively. Orientation toward a wall, angled downward into a cavity, or facing an obstruction defeats practical service access.
  • Exterior cleanout omitted or buried by landscaping, concrete, or exterior finishes. The exterior building-drain cleanout is one of the most important and most commonly damaged access points.
  • Long horizontal run without intermediate cleanout within the 100-foot maximum interval. Extended horizontal building drains that lack intermediate access cannot be cleaned from either end on longer runs.

Frequently Asked Questions

FAQ — IRC 2018 Cleanout Requirements: Where Drainage Systems Need Access

Where are cleanouts required in a residential drainage system?
At the upper terminal end of horizontal runs, at direction changes exceeding 135 degrees aggregate, at maximum 100-foot intervals on long runs, and at the base of each stack.
How large must a cleanout opening be?
The same nominal size as the pipe it serves, up to a maximum of 4 inches. An undersized opening limits the equipment that can be used for service.
What does accessible mean for a cleanout?
Accessible means the cleanout plug can be removed and drain-cleaning equipment inserted without demolishing or removing any permanent building component.
Can a cleanout be inside a cabinet?
Only if a permanent access panel of adequate size is provided so a service plumber can reach the cleanout without removing the cabinet.
Is an exterior cleanout required?
It is required at the upper terminal of the building drain run, which is often inside the building, but exterior cleanouts at the foundation wall are strongly preferred locally and often required by local amendment.
When should a licensed plumber evaluate cleanout placement?
During design of any drain addition, basement finish, or remodel that changes horizontal routing, before finish work constrains cleanout placement and access options.

Also in Sanitary Drainage

← All Sanitary Drainage articles

Have a code question about your project? Get personalized answers from our team — $9/mo.

Membership