Water Heater Relief Valves, Discharge Piping, and Pans (IRC 2024)
An inspector's guide to IRC 2024 Section P2804 relief valves, the P2804.6.1 discharge pipe items, and P2801.5 water heater pans, with a field checklist.
Code references covered
IRC 2024 Section P2804 · IRC 2024 Section P2804.6.1 · IRC 2024 Section P2801.5 · IRC 2024 Section P2801.5.1 · IRC 2024 Section P2801.5.2 · IRC 2024 Section P2903.4
Checked against the 2024 IRC (Second Printing) on 2026-11-06. Confirm the edition your exam and jurisdiction use, and any local amendments.
Water Heaters is 12% of the P1, and its largest task is valving, discharge piping and thermal expansion. In the field, the relief valve and its discharge pipe are among the most frequently corrected items on a water heater change-out. This guide goes through IRC 2024 Section P2804 and the pan rules in Section P2801.5 the way an inspector would check them.
Which relief protection is required
Section P2804.1 requires appliances that heat or store hot water to have either a separate pressure-relief valve and a separate temperature-relief valve, or a combination pressure-and-temperature (T&P) relief valve. Under Section P2804.2, relief valves must have a minimum rated capacity for the equipment served and conform to ANSI Z21.22.
Settings and location
- Pressure relief (P2804.3): installed directly in a tank tapping or in a water line close to the tank; set to open at not less than 25 psi above the system pressure and not more than 150 psi, and never above the tank's rated working pressure.
- Temperature relief (P2804.4): installed so the sensing element monitors the water within the top 6 inches of the tank; set to open at not more than 210°F.
- Combination valves (P2804.5): must meet the requirements for both separate valves.
Section P2804.6 prohibits a check valve or shutoff valve between the relief valve and the tank, between the relief valve and the heating equipment, and between the relief valve and the end of its discharge pipe. Nothing may be able to isolate the relief valve from the water it protects or block its outlet.
The discharge pipe: the P2804.6.1 list
Section P2804.6.1 is a numbered list of 14 items for the discharge piping from a pressure, temperature or combination relief valve. Questions often hinge on a single item, so it pays to know the list in groups. In our words:
Where it goes
- Not directly connected to the drainage system (item 1).
- Discharges through an air gap in the same room as the water heater (item 2).
- Discharges to the floor, the water heater pan, a waste receptor or the outdoors (item 5).
- Does not cause personal injury or structural damage, and ends where occupants can readily see it (items 6 and 7).
How big
- Not smaller than the valve outlet, full size all the way to the air gap (item 3).
- One nominal size larger than the valve outlet when installed with insert fittings, with the outlet end fastened in place (item 14).
How it runs
- Serves one relief device only, with no connection to piping from other devices or equipment (item 4).
- Not trapped, and flows by gravity (items 8 and 9).
- No valves or tee fittings (item 12).
- Made of materials listed in Section P2906.5 or approved under ASME A112.4.1 (item 13).
How it ends
- Terminates not more than 6 inches above the floor or receptor flood level rim, and not less than two times the discharge pipe diameter above it (item 10).
- No threaded connection at the end (item 11).
Example — Termination height
A 3/4-inch discharge pipe ends over a floor. Item 10 requires the end to be no higher than 6 inches and no lower than two pipe diameters — 1 1/2 inches — above the floor. A pipe that ends 10 inches up, or one that touches the floor, does not comply.
Example — Common field defects
A discharge pipe that runs uphill to a wall, ends in a threaded adapter, tees into a second relief line, or is reduced to 1/2-inch tubing each violates a separate item (items 9, 11, 4 and 3). On the exam, expect a scenario that bundles one of these into an otherwise compliant installation.
Vacuum relief and thermal expansion
Bottom-fed tank-type water heaters, and bottom-fed tanks connected to water heaters, need a vacuum relief valve complying with ANSI Z21.22 (Section P2804.7). Where a pressure-reducing valve, backflow preventer or check valve creates a closed system with storage water heating, thermal expansion can raise the pressure, and Section P2903.4 requires a means of controlling it. That is a separate requirement from the relief valve, which is a last line of defense.
Pans: Section P2801.5
A pan is required where a storage tank-type water heater or hot water storage tank is installed in a location where leakage would cause damage. Pan material may be galvanized steel or aluminum at least 0.0236 inch thick, plastic at least 0.036 inch thick, or other approved materials. A plastic pan under a gas-fired water heater must also meet flame-spread and smoke-developed limits.
- Size and drain (P2801.5.1): at least 1 1/2 inches deep, big enough to catch drips or condensate, and drained by an indirect waste pipe at least 3/4 inch in diameter, using materials from Table P2906.5. Where no pan drain was installed before, a replacement water heater does not require one.
- Termination (P2801.5.2): the pan drain runs full size to a suitable indirect waste receptor, or to the exterior, ending not less than 6 inches and not more than 24 inches above the adjacent ground.
- Contents (P2801.5.3): parts subject to water damage go above the pan's flood level rim; supports inside the pan must be water resistant and approved.
Related water heater checks
Every tank-type heater needs a drain valve at the bottom with at least a 3/4-inch inlet and a male hose thread outlet (Section P2801.1). A readily accessible full-open valve is required in the cold-water supply at or near the heater (Section P2903.10.2). In garages, the ignition source must be at least 18 inches above the floor unless the heater is listed as flammable vapor ignition-resistant (Section P2801.6). For where the gas and venting rules live, see the 2024 IRC plumbing chapter map.
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
Water Supply Fixture Units, Demand, and Manifold Sizing (IRC 2024)
From fixtures to w.s.f.u. to gpm to manifold size, in one worked example.
How to Find a Plumbing Section Fast in the 2024 IRC (Chapter Map)
Where every P1 topic lives in IRC Chapters 25–32, and the water heater parts of Chapters 20 and 24.
Common P1 Mistakes: Wrong Code, Old Numbering, Exceptions, and Table Notes
Wrong code, 2021 vs 2024 numbering, skipped exceptions and table notes — and how to avoid them.
Frequently asked questions
- How high above the floor may a relief valve discharge pipe terminate?
- Section P2804.6.1 item 10 says not more than 6 inches and not less than two times the discharge pipe diameter above the floor or the waste receptor flood level rim.
- Is a pan drain required when a water heater is replaced?
- Under Section P2801.5.1, where a pan drain was not previously installed, a pan drain is not required for a replacement water heater installation.