The T&P valve is the last thing standing between a water heater and a really bad day. Its discharge pipe has one job: get that hot water somewhere safe where somebody will notice it, with nothing that could ever block it.

If you keep that idea in mind, almost every rule below makes sense. Here's what both codes want and where they split.

What both codes agree on

  • No shutoff or check valve between the relief valve and the heater
  • No valves anywhere in the discharge line, period
  • Never smaller than the valve outlet, and full size all the way to the end
  • No traps or dips anywhere in the line
  • Every relief valve gets its own line, no sharing
  • No threads on the end of the pipe
  • It has to discharge through an air gap, not tie straight into the drain

Why no valves and no threads?

A valve can get shut. A threaded end can get capped. Either way, you've turned a safety line into a dead end, and a relief valve with nowhere to go isn't protecting anybody. The UPC goes even further and bans any valve, obstruction, or way of closing the line off. That covers plugs and caps too.

Heads up: Putting a ball valve near the end so you can shut it off in winter is a no-go. Neither code allows a valve anywhere in that line, for any reason.

Why no dips?

A sag in the line holds water after the valve opens even once. That water can freeze or eat away at the pipe. The UPC also says no part of the line can be somewhere it could freeze.

Setting and capacity

Both codes cap the relief valve at 150 psi. The IPC says it's whichever is lower, the heater's rated working pressure or 150 psi. And the valve's relieving capacity has to at least match the heat input of the water heater.

Where the IPC and UPC split

How high it ends (IPC): If it ends above the floor, it has to be no more than 6 in. up and at least two pipe diameters up. For a 3/4 in. line, that's anywhere between 1 1/2 in. and 6 in.

Same room (IPC): The air gap has to be in the same room as the heater, so somebody actually sees it when it goes off.

Into the pan: The IPC lets you discharge into the water heater pan. The UPC flat out doesn't.

Outside (UPC): At least 6 in. and no more than 2 ft above the ground, pointing down. The UPC wants the outlet pointing down in general too.

Insert fittings (IPC): If you run it in tubing with insert fittings, go one size bigger than the valve outlet.

The water heater pan

Both codes want the pan at least 1 1/2 in. deep with at least a 3/4 in. drain. The pan is there to catch a slow leak, not a full blast from the relief valve. That's exactly why the UPC keeps the relief line out of it.

Cheat sheet

  • No valves between the relief valve and the heater, and none in the line
  • Full size the whole way, no dips, no threads on the end
  • One discharge line per relief valve
  • Max setting is 150 psi on both codes
  • IPC: 2x the pipe size up to 6 in. above the floor, air gap in the same room
  • UPC: never into the pan, outside it's 6 in. to 2 ft above grade, pointing down

Common questions

Can I reduce the T&P discharge pipe?

No. It can't be smaller than the valve outlet, and it has to stay full size all the way under both codes.

Can two water heaters share one discharge line?

No. Every relief valve needs its own line.

Can the relief valve drain into the pan?

The IPC says yes. The UPC says no.

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