waterheaterreplacecost.com is an independent cost reference. We are not a plumbing contractor, retailer, or manufacturer. Costs shown are national averages for 2026 and may vary by location. Always get multiple quotes from licensed plumbers in your area.

Water Heater Drain Pan Cost

A water heater drain pan plus drain line costs $100 to $300 installed during a replacement, and is required by IRC P2801.5 for any unit installed above habitable space. The pan is a cheap insurance policy against the $4,000 to $25,000 ceiling repair you would otherwise face from a slow leak. Here is the cost, the code, and what to look for in the install.

Drain pan cost by installation scenario

ScenarioPanDrain lineLabourTotal
Basement install, short drain line to floor drain$25-$80$15-$40$30-$90$70-$210
Attic install, 10-20 ft drain line to soffit$35-$90$60-$150$80-$200$175-$440
Second floor closet, drain through wall to exterior$35-$90$80-$200$120-$300$235-$590
HPWH oversized pan plus condensate share$60-$120$40-$120$80-$200$180-$440
Retrofit pan onto existing unit$35-$90$50-$150$150-$300$235-$540

What IRC P2801.5 actually requires

The International Residential Code Section P2801.5 has been adopted in some form by virtually every US jurisdiction (state codes, local amendments). The text requires that "where water heaters or hot water storage tanks are installed in locations where leakage of the tanks or connections will cause damage, the tank or water heater shall be installed in a galvanised steel pan having a material thickness of not less than 0.0236 inch (24 gauge), or other pans approved for such use." In plain English: if the unit is anywhere where a leak would damage finished space (attic, second floor, anything above habitable rooms, anything in a finished closet adjacent to drywall), it needs a pan.

The drain-line companion requirement (P2801.5.1) is more specific: the pan must drain by gravity through a drain line of at least 1 inch in diameter to an approved indirect waste receptor or to the exterior. The drain line cannot terminate over a public way or in a location where it would freeze. It cannot be reduced in size along its run. It cannot have any traps or upward sections. Discharge must be conspicuous so a homeowner can see if water is flowing.

What the code does not require: a pan on a slab-on-grade basement install where the unit sits on a concrete floor that already slopes to a floor drain. Many basement installs in single-family homes legally skip the pan. But practical advice: install one anyway if the unit is on finished concrete or if any utility connections nearby would be damaged by a slow leak. Pan plus drain line at $100 to $300 is a small fraction of the damage cost from an unanticipated tank failure.

Material choices: aluminium vs galvanised vs plastic

Aluminium pan

Most common choice. Lightweight, corrosion-resistant, slightly higher cost than galvanised. $30 to $80 for a 26 to 30 inch round pan. Compatible with most water chemistries. The default for new construction and replacements in most markets.

Galvanised steel pan

Code-baseline at 24 gauge minimum. Slightly cheaper than aluminium ($25 to $60). Corrosion-resistant in normal use but the cut edges around drain fitting can rust over time. Most plumbers prefer aluminium for the long-term durability advantage at the small price premium.

Plastic pan

Approved in some jurisdictions, not in others; check your local code. Cheapest at $20 to $50. Concern is heat tolerance at the rim immediately under the tank. Not typically chosen unless cost is the only priority.

Manufactured under-pan with drain fitting

Combination unit with the pan, drain stub, and side-mounted drain line connection in one product. Easier install. $50 to $120. Brands: Holdrite, Camco, Sioux Chief. Worth the small premium for the cleaner install.

The pan plus smart-leak-detector combination

The pan catches a slow leak. A smart leak detector tells you the leak is happening. The combination is the gold standard for upper-floor or attic installs because it converts a slow-leak event from a discovery-by-water-stain to a discovery-by-phone-notification. The hardware: a battery-powered leak sensor placed in the drain pan ($25 to $80 standalone, or $0 if your home has Z-Wave or Zigbee smart home hub already), and optionally a motorised water shutoff valve at the main supply ($300 to $700 for Moen Flo, Phyn, or similar) that closes automatically on detected leak.

Cost-benefit: a $50 wireless leak detector in the pan saves you from coming home to discovered ceiling damage. A $500 smart shutoff valve also stops the leak before it gets worse. For upper-floor installs in homes with valuable contents below, the combined package at $400 to $800 pays back the first time it prevents even a small slow leak. For the full picture on water-damage exposure see leaking water heater replacement cost.

Frequently asked questions

How much does a water heater drain pan cost installed?
Drain pan and drain line installation costs $100 to $300 when done as part of a water heater replacement. The pan itself runs $25 to $80 (aluminium or galvanised steel, 26 inch or 30 inch round for most residential tanks). Drain line in 1 inch PVC: $20 to $60 in materials depending on length. Labour adds 30 to 90 minutes. Standalone retrofit on an existing unit (not during replacement) runs $200 to $500 because the existing unit must be raised or temporarily disconnected.
When is a drain pan code-required?
IRC P2801.5 requires a drain pan plus drain line to an approved discharge location for any water heater installed in a location where leakage from the tank would damage finished interior space below or around. That includes attic installs (universal requirement), second-floor closets, finished basement closets above finished basement areas, and any installation above a garage with conditioned space below. Slab-on-grade basements with concrete floors and floor drains typically do not require pans because there is no damage risk.
What size drain pan do I need?
Most US residential water heaters fit a 26 inch or 30 inch round pan. Standard 40 gallon tanks (typically 18 to 20 inch diameter) use a 26 inch pan. 50 to 75 gallon tanks (20 to 24 inch diameter) use a 30 inch pan. Heat pump water heaters often have a larger footprint due to the compressor housing and need a 32 inch or rectangular pan; check the manufacturer specs. The pan should extend at least 2 inches beyond the unit on all sides per IRC P2801.5.
Where does the drain line go?
Code requires discharge to an indirect waste receptor or to the exterior at a safe location. Options: a floor drain in the same room, a laundry tray standpipe, a sump pit (with appropriate clearance), or to the exterior at grade not less than 6 inches and not more than 24 inches above grade. Discharge to a finished interior wall or onto a finished floor is not allowed. The drain line must be 1 inch or larger, pitched continuously toward discharge, and made of approved material (PVC, copper, galvanised).
Can I skip the drain pan if I have a leak detector instead?
No. The code requires a physical drain pan; a smart-leak-detector is a useful supplementary device but does not replace the pan and drain line. The pan catches and routes a slow leak before damage; the leak detector alerts you to the situation. Many homeowners install both: pan plus drain line meets code, leak detector plus automatic shutoff valve adds active protection. A Moen Flo or Phyn smart shutoff costs $400 to $700 and is genuinely worth pairing with the pan in upper-floor installs.
What happens if my old install has no pan and I am not replacing the unit?
If your unit is in an attic or above habitable space and has no pan, you are non-compliant with current code but typically grandfathered to the install date. No retroactive enforcement. However, your insurance company may apply a higher deductible or limit coverage for water damage from a tank leak in this configuration. Adding a pan retroactively requires raising the unit on a temporary stand, sliding the pan under, connecting the drain line, and resetting the unit. A plumber can do this in 60 to 90 minutes for $200 to $400.

Related guides

T&P relief valve
Pairs with pan in safety stack
Expansion tank
Other required code device
Leaking unit
What pan prevents damaging
Ruptured tank
What pan does not fully prevent
Texas replace
Attic installs common
Florida replace
Storm-zone considerations

Updated 2026-04-27