The IPC (International Plumbing Code) comes from the International Code Council. The UPC (Uniform Plumbing Code) comes from IAPMO. Most states and cities adopt one or the other, usually with their own changes, and a few use a different code altogether.
A lot of the basics are the same. But some of the most tested rules aren't, and a number that's right on one code can be flat wrong on the other.
Stuff that's the same
- Trap seal: at least 2 in., no more than 4 in.
- PRV required once static pressure is over 80 psi
- Water heater relief valve set no higher than 150 psi
- A cleanout at least every 100 ft on long horizontal runs
- Water heater pan at least 1 1/2 in. deep
- Nonstop drain flow: 1 gpm counts as 2 dfu
Venting
Trap arms: The IPC table is in feet and gives you more length (a 2 in. trap gets 8 ft). The UPC table is in inches and is shorter (a 2 in. trap arm gets 60 in., which is 5 ft).
Wet venting: The IPC lets two bathroom groups share a horizontal wet vent. The UPC only allows one, and the toilet has to connect last.
Air admittance valves: The IPC has a whole section allowing them with conditions. The UPC doesn't mention them, so you'd need alternate approval from the AHJ before you put one in.
Drain slope
The IPC lets the slope drop as the pipe gets bigger: 1/8 in. per ft for 3 to 6 in. pipe and 1/16 in. per ft for 8 in. and up. The UPC sticks with 1/4 in. per ft, and only allows 1/8 on building drains 4 in. and bigger when 1/4 is impractical and the AHJ signs off first.
Cleanouts
The UPC wants a cleanout at the upper end of every horizontal drain, plus another one when the turns add up to more than 135 degrees. The IPC wants them at turns over 45 degrees, with one cleanout covering any turns within 40 ft.
Sizes are different too. On the IPC, the cleanout matches the pipe up to 4 in. The UPC table goes smaller, so a 3 in. pipe gets at least a 2 1/2 in. cleanout.
Water heaters
The IPC lets the relief valve drain into the water heater pan. The UPC doesn't. The IPC also wants the relief valve's air gap in the same room as the heater.
So which one's on your exam?
Ask your state licensing board. Your candidate bulletin will tell you the code and the edition your test uses. Study that one, and be careful with numbers you picked up from the other one.
Cheat sheet
- IPC comes from the ICC, UPC comes from IAPMO
- Trap arms: IPC is in feet and longer, UPC is in inches and shorter
- Wet venting: IPC allows two bathroom groups, UPC allows one with the toilet last
- AAVs: allowed on the IPC, not mentioned in the UPC
- Slope: IPC drops with pipe size, UPC sticks with 1/4 in. per ft
- Check your board's bulletin for your code and edition
Common questions
Which states use the UPC?
It depends on the state, and sometimes the city. Your state licensing board's candidate bulletin will tell you which code and edition are on your exam.
Is the IPC or UPC stricter?
Neither one across the board. The UPC is tighter on trap arm length and drain slope. The IPC has some rules the UPC doesn't, like keeping the relief valve air gap in the same room as the heater.
Can I study both codes at once?
You can, but be careful. A number that's right on one code is often wrong on the other.
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.