Water heater drip pan code requirements come from one of two model plumbing codes adopted by your local jurisdiction. Both require a pan under any tank-type water heater installed where a leak would damage the building, with specific rules on pan material, depth, drain size, and where that drain can discharge. The short version: at least 1½ inches deep, sized to catch water from the tank, drained by a ¾-inch line to a visible termination, and made of metal rather than plastic if the heater burns gas.
When a Pan Is Required
The Uniform Plumbing Code (UPC) names the triggering locations in Section 507.5: attics, attic-ceiling assemblies, floor-ceiling assemblies, and floor-subfloor assemblies where leakage would cause damage.1International Association of Plumbing and Mechanical Officials. IAPMO Uniform Codes Spotlight – 507.5 Drainage Pan The International Plumbing Code (IPC), Section 504.7, uses broader language: a pan is required wherever water leakage from the tank “will cause damage.”2International Code Council. 2018 International Plumbing Code – Chapter 5 Water Heaters In practice, both reach the same high-risk spots: second-floor utility closets, attic installations, and anywhere above finished living space.
A pan generally isn’t required where leakage drains harmlessly away. A heater on a sloped garage slab or a basement floor with a drain directly beneath the unit is the typical example. Your local building department enforces one of these model codes with its own amendments, so check which code and which edition apply before you buy materials.
Skipping a required pan has real consequences. Inspectors can hold up a certificate of occupancy until the installation complies, and water-damage claims on heaters that lacked a code-required pan are the kind insurers routinely deny.
Approved Pan Materials
Codes recognize three material categories:
- Galvanized steel or aluminum at least 0.0236 inches thick.
- Plastic (typically polypropylene) at least 0.036 inches thick.
- Other materials approved by the local authority.
The rule that trips up the most installations: plastic pans cannot be used under a gas-fired water heater.2International Code Council. 2018 International Plumbing Code – Chapter 5 Water Heaters The burner at the base generates enough heat to warp or melt the plastic over time. Gas units need an aluminum or galvanized steel pan. Electric heaters can use any of the three, and lightweight plastic is the common choice because it resists corrosion and costs less.
Pan Size and Drain Line
Code requires the pan to be at least 1½ inches deep and large enough to catch dripping water or condensate from the tank.3International Code Council. 2021 International Residential Code – Chapter 28 Water Heaters That depth gives you buffer if the drain clogs or the leak outpaces the drain’s flow rate. Measure the outer diameter of your heater and choose a pan a couple of inches wider so the tank sits inside without resting on the rim. Standard pans run about 18 to 30 inches across.
The drain fitting on the pan connects to an indirect waste pipe with a minimum diameter of ¾ inch.3International Code Council. 2021 International Residential Code – Chapter 28 Water Heaters The UPC specifies the same ¾-inch minimum.1International Association of Plumbing and Mechanical Officials. IAPMO Uniform Codes Spotlight – 507.5 Drainage Pan PVC or CPVC is the standard pipe material. The line must maintain a consistent downward slope so gravity moves water along; standard plumbing practice calls for roughly a quarter-inch drop per linear foot. The pipe runs at full size to the termination point with no reduction in diameter along the way.
Where the Drain Must Terminate
You have two code-approved endpoints. The first is an indirect waste receptor inside the building, such as a floor drain. The second is the building exterior, with the pipe ending between 6 and 24 inches above the adjacent ground surface.
Whichever route you pick, the termination has to be readily visible. This is deliberate. If the pan starts collecting water, you need to see the discharge so you catch a leaking tank before the damage compounds. Running the drain into a wall cavity or hiding it in a crawlspace defeats the point of the pan.
Under the UPC, pan drain lines are indirect waste and must discharge into the drainage system through an air gap or air break rather than connecting directly to a drain pipe.4International Association of Plumbing and Mechanical Officials. IAPMO Uniform Codes Spotlight – 801.2 Air Gap or Air Break Required An air gap is a vertical separation of at least 1 inch between the end of the drain pipe and the rim of the receptor below. It keeps sewage from backing up into the pan if the building drain blocks.
Can the T&P Relief Valve Drain Into the Pan?
Under the IPC, yes. The code allows the temperature and pressure relief discharge line to terminate into the water heater’s drain pan, onto the floor, to an exterior point, or into a waste receptor.5International Code Council. Plumbing Code Essentials: Relief Valve Discharge
If you route it into the pan, several rules attach. The discharge line must be at least as large as the relief valve outlet and cannot be reduced downstream. No shutoff valve or check valve goes anywhere on the line. The termination sits no more than 6 inches above the floor or the flood-level rim of the receptor and must be visible to building occupants. The whole line drains by gravity with no traps or uphill sections.5International Code Council. Plumbing Code Essentials: Relief Valve Discharge
One practical caveat. A T&P valve can release a significant volume of hot water during a pressure event, and a ¾-inch pan drain may not keep up. Some installers prefer to send the T&P discharge directly to the exterior or to a floor drain and leave the pan drain to handle slow tank leaks on its own.
Heat Pump Water Heaters
Heat pump (hybrid) units follow the same pan requirements as standard tanks. Material, depth, and drain specs are identical.6Building America Solution Center. Heat Pump Water Heaters – Code Compliance Brief What changes is condensate. The unit pulls heat from surrounding air across an evaporator coil, and moisture from that air condenses continuously during operation, so you need a path to a drain.
A nearby floor drain lets gravity do the work. Without one, you may need a condensate pump to lift the water to an appropriate drain line. Heat pump condensate is essentially distilled water and does not require a neutralization kit, unlike condensate from gas-fired equipment.6Building America Solution Center. Heat Pump Water Heaters – Code Compliance Brief Plan the condensate route before you commit to the location; retrofitting a pump later is awkward.
Installing It to Pass Inspection
Set the pan first, with its drain outlet facing the direction of the drain run. Then lower an empty tank into it. A loaded residential heater can exceed 400 pounds, and trying to maneuver a full tank into position tends to crack the basin or pinch the drain fitting. Leave clearance between the tank and the pan walls so you can inspect the pan later without moving the heater.
Connect the ¾-inch PVC or CPVC drain to the pan’s side fitting through a threaded adapter. Hand-tighten firmly; a wrench cracks plastic fittings. Support the pipe with hangers or clips every few feet to hold the slope.
Before you refill and energize the heater, pour a gallon of water into the pan and watch the drain end. Confirm three things: the water flows freely to the termination, no joints leak, and you can see the discharge from a normal vantage point. Five minutes of testing beats discovering a problem with a full tank sitting on top of the pan.
Keeping the Pan Working
A pan that passed inspection on day one can fail quietly later. Once a year, look for cracks, scaling, or corrosion in the basin and clear out dust, insulation fragments, or debris that could block the drain outlet. Hand-check threaded fittings for tightness; vibration loosens them over time. On glued joints, discoloration, moisture stains, or mineral deposits around a joint tell you the seal is going.
A leak alarm earns its keep, especially for heaters in attics or upper-floor closets where a slow drip goes unseen for weeks. A basic moisture sensor sits in the pan and sounds when it gets wet. Wi-Fi models can shut off the water supply to the heater automatically and send a phone notification. For something under $50, it closes the gap between a pan catching the water and someone actually noticing.