A cleanout is there so you can clear a stoppage without tearing the piping apart. Every cleanout rule is really about one thing: can you get a cable in there and work it?

Some cleanout rules are the same on both codes and some are really different. Here's the rundown.

Same on both codes

  • A cleanout at least every 100 ft on long horizontal runs
  • Required cleanouts have to stay reachable, not closed behind a fixed panel or buried in a wall
  • Cleanouts where cars drive over them have to be rated for the load (ASME A112.36.2M)

The 100 ft rule

On the UPC, it's one cleanout for every 100 ft or fraction of 100 ft. So a 240 ft run needs three, because that leftover 40 ft counts as its own stretch.

Changes of direction

IPC: You need a cleanout where a horizontal line turns more than 45 degrees. Exactly 45 doesn't count. If a few of those turns land within 40 ft of each other, one cleanout covers them all.

UPC: The UPC adds up all the turns. Once the total goes over 135 degrees, you need another cleanout. How far apart the turns are doesn't matter.

Heads up for the exam: Two 90s that are 30 ft apart only need one cleanout on the IPC, since they're inside the 40 ft window. On the UPC, those two turns add up to 180 degrees, which is over 135, so you need another one.

The upper end and the building sewer

The UPC wants a cleanout at the upper end of every horizontal drain. The IPC doesn't have that rule. The UPC also wants a cleanout above the fixture connection for every urinal.

The IPC wants a cleanout where the building drain meets the building sewer, or within 10 ft upstream of it. For sewers 8 in. and bigger, the IPC switches to manholes: the first within 200 ft of that junction, then one every 400 ft.

Cleanout size

IPC: The cleanout matches the pipe, up to 4 in. It never has to be bigger than 4 in. A cleanout on a stack can be one size smaller than the stack. And a removable 1 1/2 in. P-trap can count as the cleanout for 2 in. drain piping.

UPC: Sizes come from a table that goes smaller. A 3 in. pipe gets at least a 2 1/2 in. cleanout. It's a minimum, so going full size is fine.

Room to work

IPC: At least 18 in. in front of the opening for pipe 6 in. and smaller, and 36 in. for 8 in. and bigger.

UPC: 18 in. by 18 in. for pipe 2 in. and smaller, and 24 in. by 24 in. for anything bigger than 2 in.

Cheat sheet

  • Both codes: a cleanout at least every 100 ft
  • IPC: turns over 45 degrees, one cleanout per 40 ft window
  • UPC: another cleanout once the turns add up past 135 degrees
  • UPC: a cleanout at the upper end of every horizontal drain
  • IPC: cleanout matches the pipe up to 4 in.
  • Room in front: IPC 18 or 36 in., UPC 18x18 or 24x24 in.

Common questions

How often do you need a cleanout?

At least every 100 ft on long horizontal runs on both codes. The UPC counts each 100 ft or any part of it.

Do I need a cleanout at a 45?

Not on the IPC, which only counts turns over 45 degrees. The UPC adds up all the turns and wants one once they total more than 135 degrees.

Can a cleanout be behind a wall?

No. A required cleanout has to stay reachable on both codes.

Studying for the journeyman plumber exam?

Journeyman Plumber Pro has 1,800+ practice questions with clear explanations, so you know why every answer is right.

← Back to blog