Cleanouts and Drainage Fittings for the P1 Exam: Table P3005.1 and Section P3005.2 (IRC 2024)

Where the 2024 IRC requires cleanouts (100 ft, 10 ft from the sewer junction, over 45°), cleanout size, 18-inch clearance, and which fitting fits each change in direction.

Code references covered

IRC 2024 Table P3005.1 · IRC 2024 Sections P3005.1.1, P3005.1.2, P3005.1.4, P3005.1.6 · IRC 2024 Sections P3005.2.1–P3005.2.5 · IRC 2024 Sections P3005.2.8–P3005.2.11

Checked against the 2024 IRC (Second Printing) on 2026-12-01. Confirm the edition your exam and jurisdiction use, and any local amendments.

Two parts of Section P3005 show up again and again on the P1 exam: which fitting may turn the flow in which direction, and where a cleanout has to be. Both are short, both are full of numbers, and both are easy to look up once you know where they sit. This guide covers the fitting table, the cleanout rules and the traps examiners like to set.

Fittings for a change in direction: Table P3005.1

Table P3005.1 has three columns: horizontal to vertical, vertical to horizontal and horizontal to horizontal. Read the fitting in the row and check the column for the way the flow turns.

FittingHorizontal → verticalVertical → horizontalHorizontal → horizontal
Sixteenth, eighth and sixth bendsYesYesYes
Quarter bendYesFixture drain 2 in. or smaller onlyFixture drain 2 in. or smaller only
Short sweepYesLimited (footnotes a and b)Fixture drain 2 in. or smaller only
Long sweepYesYesYes
Sanitary teeYes (see P3005.1.1)NoNo
Wye; combination wye and eighth bendYesYesYes

The question the exam asks most is the sanitary tee. Its short radius is fine when water drops from a horizontal branch into a stack. Laid on its back (vertical to horizontal) or flat (horizontal to horizontal) it is not allowed; use a wye, a combo or a long sweep instead.

The fitting rules around the table

  • P3005.1.1: double sanitary tees and back-to-back fixtures may connect at the same level when the opposing inlets are the same size and serve similar fixtures. Back-to-back water closets may not discharge into a double sanitary tee unless each closet outlet is at least 18 inches of horizontal developed length from the tee. Fixtures with pumping action are kept off double sanitary tees, too.
  • P3005.1.2: a heel-inlet quarter bend is acceptable for drainage, except when the bend serves a water closet. A low-heel inlet can't be used as a wet-vent connection.
  • P3005.1.4: a 3-inch quarter bend can serve a water closet when a 4 × 3 closet flange receives the horn.
  • P3005.1.6: drain pipe is never reduced in the direction of flow. A 4 × 3 closet flange, a 4 × 3 closet bend with the 4-inch leg upright, and an offset closet flange don't count as reductions.

Where cleanouts are required

RuleRequirementSection
Horizontal drains and building drainsEvery 100 ft of developed length (manholes: 400 ft)P3005.2.1
Building sewer smaller than 8 in.Every 100 ftP3005.2.2
Building sewer 8 in. and largerManhole within 200 ft of the junction, then every 400 ftP3005.2.2
Building drain to building sewer junctionAt the junction or within 10 ft upstreamP3005.2.3
Horizontal change of direction over 45°At the change; one cleanout covers all such changes within 40 ftP3005.2.4

The 100-foot interval is measured along the developed length of the pipe, from the cleanout opening to the next fitting that gives access for cleaning or to the end of the drain. The fixture drain between a nonremovable trap and its vent needs no cleanout (P3005.2.1, exception). At the sewer junction, pulling a water closet doesn't count as access (P3005.2.3).

Worked example — three turns in one run

A 3-inch building drain makes a 90° turn, then a second 90° turn 25 feet later, then a 45° offset another 30 feet on. The first turn needs a cleanout. The second turn is within 40 feet of the first, so the first cleanout covers it (P3005.2.4). The 45° offset is not greater than 45°, so it doesn't trigger a cleanout at all. Answer: one cleanout for the turns, plus the 100-foot and junction rules.

Cleanout size, arrangement and clearance

  • P3005.2.5: a cleanout is the same size as the pipe it serves, but never needs to be larger than 4 inches. Exceptions: a removable slip-joint P-trap can serve drain pipe one size larger than the trap, and a cleanout on a stack can be one size smaller than the stack.
  • P3005.2.8: a cleanout must let you rod only in the direction of flow. Test tees and an approved two-way cleanout at the sewer junction are the exceptions.
  • P3005.2.9: clear space in front of the opening, measured perpendicular to its face: 18 inches for pipe 6 inches and smaller, 36 inches for 8 inches and larger.

Access: no hidden cleanouts

P3005.2.10 says a required cleanout can't be concealed: not in a plenum, a wall or a floor/ceiling assembly, not below grade, and not in a crawl space where the clear height along the path to the cleanout is less than 24 inches. A cleanout opening at a finished wall has its face within 1 1/2 inches of the wall surface. One below grade is extended up so the plug is at or above grade. A floor cleanout without a trim cover gets a countersunk plug flush with the floor.

A removable fixture trap, or a fixture with an integral trap that comes off without opening concealed piping, counts as a cleanout equivalent (P3005.2.10.1). Plugs are never covered with mortar or plaster (P3005.2.10.2). And a threaded cleanout opening can't be used to add a fixture or extend the pipe unless another cleanout of equal size is installed with proper access (P3005.2.11).

Common mistakes

  1. Allowing a sanitary tee for vertical-to-horizontal flow.
  2. Requiring a cleanout at every 45° fitting (the rule is more than 45°).
  3. Forgetting the 40-foot rule that lets one cleanout serve several turns.
  4. Mixing up the clearances: 18 in. up to 6-inch pipe, 36 in. for 8-inch and larger.
  5. Counting a toilet as access for the junction cleanout.

Related P1 guides: sizing branches, stacks and the building drain and DWV pipe materials and joints.

For the exact code language, read the sections on the official ICC Digital Codes site. We cite section identifiers and explain the logic in our own words — always confirm the current text and any local amendments there.

Practice this topic with 2024 IRC-based P1 questions

Create a free account to practice P1 questions with written explanations and 2024 IRC references.

Related guides

Frequently asked questions

How far apart must cleanouts be on a building drain?
Section P3005.2.1 sets a maximum interval of 100 feet for horizontal drains and building drains, measured along the developed length. Where manholes are used instead, they can be up to 400 feet apart.
Where is a cleanout required at the building sewer?
Section P3005.2.3 requires a cleanout at the junction of the building drain and building sewer, or within 10 feet of developed length upstream of it. Removing a water closet doesn't count as cleanout access.
Can a sanitary tee be used on its back?
No. Table P3005.1 allows a sanitary tee only for a horizontal-to-vertical change in direction. For vertical-to-horizontal and horizontal-to-horizontal changes, use a wye, a combination wye and eighth bend, or a long sweep.