IRC Water Heater Installation: Drain Pan, Drain Line, and Seismic Strapping

Where a water heater leak could reach finished space, the residential code sets the tank in a pan at least 1.5 inches deep, drained by a three-quarter-inch line to a safe outlet. Seismic strapping applies only in the higher design categories, which most of Arizona sits below. A garage tank on a slab often needs neither one.

Updated July 23, 2026 3 min read
Primary source2021 IRC Chapter 28 (Water Heaters) This page summarizes and quotes limited excerpts for commentary and education. See the source for the full, authoritative text.

A water heater is one of the few appliances in a new home that can fail dangerously. So the code wraps it in a short list of firm rules. Most of Arizona builds to the 2021 International Residential Code, and its Chapter 28 sets how the tank gets drained, secured, and relieved. None of it is complicated. Skip any one piece and you have an easy inspection failure.

The relief valve, in one line

Every storage tank needs a temperature-and-pressure relief valve, and the settings and the discharge piping have a section of their own: see P2804 water heater relief valves for the pressure cap, the temperature trigger, and where that discharge line is allowed to end.

The drip pan and its drain

Where a leak could reach finished space, the tank sits in a pan. Think of a heater in an interior closet, or one on an upper floor. The pan has to be at least 1.5 inches deep. Its drain pipe has to be at least three-quarters of an inch across. That pipe runs to an approved waste receptor, or out to the exterior, and the code is exact about where it ends outside:

terminate not less than 6 inches and not more than 24 inches above the adjacent ground surface.

The logic is simple. If the tank starts to weep, the water shows up somewhere visible and harmless, on the ground outside, instead of inside a wall or a ceiling below.

The trigger is the damage, not the tank. A heater standing on a garage slab usually needs no pan at all, which is why so many Valley garages have a bare tank sitting on the concrete. Put that same heater in an interior closet and the pan, the drain line, and the exterior outlet all come with it.

For example, say the heater sits in an upstairs laundry closet on a Chandler build. It gets a pan at least 1.5 inches deep, a three-quarter-inch drain line dropped down inside the wall, and an outlet on the exterior wall somewhere between 6 and 24 inches above the dirt. Nothing about that setup stops a leak. It just makes sure the first sign of one is a wet patch by the foundation instead of a stained ceiling over the dining room.

Seismic strapping, and why Arizona usually skips it

The IRC also calls for water heaters to be strapped against earthquakes. That rule only bites in the higher seismic design categories: D0, D1, and D2, plus townhouses in category C. Where it applies, the strap wraps the tank at its upper third and its lower third. It has to resist a sideways force of about one-third of the full tank's weight. Most of Arizona sits below that line, in the lower categories. So a detached custom home here is usually not required to strap its heater at all. Plenty of builders strap anyway. The hardware costs a few dollars, and a gas tank that topples and shears its supply line is a real hazard. Confirm your project's seismic design category. That number, not the state line, decides whether strapping is mandatory.

Which edition applies to your build

These water heater rules are stable from one code edition to the next. What shifts between the 2018, 2021, and 2024 codes is the exact section numbers and a few details. Arizona has no statewide code. Each city and county adopts its own, so check which edition your AHJ enforces in the building code editions by city reference before your plumber sets the unit.

When the heater gets signed off

The tank is pressure-tested and approved as part of the home's plumbing tests and inspection, not as a separate visit. Its running cost rides on the same efficiency choices you make for your HVAC system. Weighing a solar or heat pump tank to cut that cost? Start with whether solar is worth it on a new Arizona home. Chapter 28 of the 2021 IRC holds the full set of requirements.

Keep exploring

All Residential Code Explained
Desert landscape
Build With Us

Begin Your Build

Relax while we manage every detail, throughout the entire process. Tell us about your vision, and we'll be in touch to schedule a consultation.

How can we help?

Call usText us