Water Heater Code — T&P Valve, Discharge Pipe, Drain Pan & Strapping
Water heater inspections turn on four things: the relief valve, where its discharge pipe ends, the pan under the tank, and whether the tank is strapped. Almost every correction notice is one of those four.
Worth knowing
- The pan-drain exception is the most-missed line in the chapter. Swapping a heater in a location that never had a pan drain does not oblige you to add one — but it does not excuse the pan itself.
- Mid-tank strapping does not comply. The code asks for restraint at the upper and lower thirds, which is two straps at specific heights, not one strap around the middle.
- The IRC sets no general maximum water temperature at the heater. The 140°F and ASSE 1017 mixing-valve requirements people cite are conditional, attaching to solar preheat and to combined space-heating systems, and the limits that protect bathers live in the fixture chapter.
- A water heater in a bedroom or bathroom is not flatly prohibited. A fuel-burning unit needs a sealed enclosure with combustion air from outside, direct-vent appliances are exempt, and the fuel-gas chapter lists further exceptions.
- Chapter 28 was renumbered for the 2024 edition, moving the pan requirement from P2801.6 to P2801.5. Some third-party pages labeled 2021 already print the 2024 numbers.
Common questions
What does the code say about relief valve for Water Heater Installation?
The temperature and pressure relief valve must open at no more than 210°F and at a pressure at least 25 psi above system pressure but not over 150 psi, with the temperature element in the top 6 in. of the tank. (IRC P2804.3, P2804.4)
What does the code say about nothing in the way for Water Heater Installation?
No check valve or shutoff may be installed between the relief valve and the tank, or in the discharge line. (IRC P2804.6)
What does the code say about discharge piping for Water Heater Installation?
Discharge piping must run full size to an approved point, terminate no more than 6 in. and no less than two pipe diameters above the receiving surface, discharge through an air gap in the same room as the heater, and end without threads. (IRC P2804.6.1)
Adopted edition by state
Base-code year from BuildSpec’s adoption records. States often amend the base code, and your city or county may differ, so confirm with your building department.