Skip to content
Independent home-inspection guidance. We are not affiliated with the prior occupant of this domain.
Find an inspector

Water Heater Drain Pans: Sizing, Drain Lines, and Leak Alarms

By InspectandTest Editorial Team Published October 5, 2026 Updated November 26, 2026

We may earn commission from links on this page. Lead-form submissions are forwarded to local inspector partners. How we research and review.

Photo via Unsplash by Ilya Semenov

Every tank water heater will eventually leak. The steel tank corrodes from the inside, fittings loosen, and relief valves discharge. In a basement with a floor drain, that leak may be a minor cleanup. In an attic, a second-floor laundry room or a finished basement closet, it can soak through ceilings, flooring and drywall before anyone notices. A water heater drain pan is a simple, inexpensive part designed to catch that water and send it somewhere safe. It only works when it is sized correctly and connected to a drain line that actually goes somewhere. This guide explains where pans are required or useful, how to size them, where the drain line should terminate, why the relief valve discharge is a separate pipe, and how leak alarms and automatic shutoffs add protection, with typical costs for Front Range homes.

Plumbing problem? Talk to a local plumber now.

📞 Call (877) 637-1527

Free, no-obligation quote · Connect with a local pro. Calls may connect you with a partner contractor; we may be compensated for calls.

What a Water Heater Drain Pan Does

A water heater drain pan is a shallow tray, usually made of aluminum, galvanized steel or high-temperature plastic, that sits under a tank water heater. It has a fitting on the side for a drain line. When the tank leaks, a fitting drips or condensation runs down the jacket, water collects in the pan and flows out through the drain line to a floor drain, an indirect waste receptor, the exterior or another approved location.

The pan does not stop a leak. It contains small and moderate leaks and directs them away from finishes and framing. A large rupture can overwhelm almost any pan, which is why the drain line and leak detection both matter.

The key point many homeowners miss is that a pan without a drain line is really just a tray. It can hold a small amount of water and may buy some time, but once it fills it overflows, and a slow leak can fill it over days. In an attic or upper floor, an undrained pan provides much less protection than many owners assume.

Where Drain Pans Are Required or Useful

Requirements come from the plumbing code adopted by each jurisdiction, along with local amendments and manufacturer instructions. Model codes used across much of the United States generally call for a pan where a storage water heater is installed in a location where leakage would cause damage to the building, such as attics, upper floors and spaces above finished rooms. Front Range cities and counties adopt and amend codes on their own schedules, so the local building department is the authority on what applies to a specific installation.

Common locations where a pan is typically required or strongly advisable include:

  • Attics. Less common in Colorado than in warmer states, but found in some townhomes and additions.
  • Upper floors. Closets on second floors, often in condos and newer construction with upstairs laundry.
  • Finished basements. Water heaters tucked into closets surrounded by carpet, drywall and wood flooring.
  • Interior closets on wood-framed floors on any level where a leak would reach finished space or structure.
  • Condos and multifamily buildings where a leak can damage a neighbor’s unit below.

Pans are less critical in unfinished basements and garages with concrete floors and nearby floor drains, though some homeowners still choose one for added protection. Garage installations should follow local requirements for elevation and protection of gas appliances.

Replacement often triggers the requirement. When a water heater is replaced in a location that calls for a pan, the permit inspection may require one even if the old heater did not have it. Permits for water heater replacement are commonly required in Front Range jurisdictions, and the installer usually pulls them.

Best Water Heaters: our top 3 picks

ProductBest forKey featuresPriceBuy
Rheem PROE50 M2 RH95Best overall whole-house tank
  • Rated for 3 to 5 people
  • Relief valve and brass drain valve
  • Anode rod
$835.02as of Dec 4, 2026 8:27 am GMT+0000Buy now →Check current price
Rheem RTG 7.0 IndoorIndoor gas tankless upgrade
  • 7.0 GPM at 35°F rise
  • Direct vent
  • LeakGuard leak detection
$745.42as of Dec 4, 2026 8:27 am GMT+0000Buy now →Check current price
Rheem RTEX-24All-electric home, no venting
  • Up to 5.9 GPM
  • Three 40 A breakers
  • 200 A panel minimum
$530.00as of Dec 4, 2026 8:27 am GMT+0000Buy now →Check current price

Prices are Amazon’s listed prices as of the time shown and change often; check Amazon for today’s price. As an Amazon Associate we earn from qualifying purchases.

See every pick compared: Best Water Heaters →

Sizing the Pan Correctly

A pan needs to be large enough to catch water running down the sides of the tank. Model codes commonly specify a pan at least 1.5 inches deep and at least 2 inches wider than the diameter of the water heater jacket, although exact numbers can vary by code edition and local amendment. In practice that means measuring the tank diameter, not the gallon rating, and buying the next size up. A 50-gallon tank may be 20 to 24 inches in diameter depending on the model, so pan sizes like 22, 24, 26 and 28 inches are commonly sold.

Other sizing and material considerations:

  • Material. Metal pans are typical under gas water heaters. Some plastic pans are rated for gas units and others are not, so the label matters.
  • Strength. The pan has to support the full weight of the water heater, which is substantial when filled.
  • Drain fitting size. Codes commonly call for a drain of at least 3/4 inch diameter. Many pans come with a pre-punched opening and fitting.
  • Clearances. The pan must not block combustion air openings at the base of a gas water heater, and the burner must remain accessible.

An undersized pan is a frequent inspection finding. If the tank edges overhang the rim, water running down the jacket can miss the pan entirely.

Where the Drain Line Should Go

The drain line is what turns a tray into real protection. It should run from the pan fitting to an approved location, typically one of these:

  • An indirect waste receptor or floor drain, with an air gap where required.
  • The exterior of the building, terminating at a visible point no more than a short distance above grade, where local codes allow it.
  • Another location permitted by the authority having jurisdiction.

The line should slope continuously toward its outlet, be made of a suitable material and have no traps or low points that hold water. Where a pan drain terminates outdoors, Front Range freeze conditions are a consideration. The end of the line should be open and positioned where an ice plug will not block it, and it should be visible enough that dripping water signals a problem.

Common drain line problems inspectors find include:

  • No drain line connected to the pan fitting at all.
  • A line that runs uphill or sags.
  • A line terminating behind the water heater, under the floor or inside a wall cavity.
  • A line glued or tied directly into a sanitary drain without an air gap.
  • Crushed or kinked flexible tubing.

Washing machines in upstairs laundry rooms raise the same issues. Our washer drain pan guide covers sizing and drain lines for laundry equipment.

The Relief Valve Discharge Is a Separate System

Every tank water heater has a temperature and pressure relief valve, or T&P valve, near the top of the tank, with a discharge pipe running down the side. That pipe and the pan drain serve different purposes and are generally treated separately in plumbing codes.

The T&P discharge pipe is designed to carry water released when the tank’s temperature or pressure exceeds safe limits. Its termination requirements are specific. Commonly, it must be full size, run downward, terminate within a short distance of the floor or to an approved receptor, and not be reduced, capped, threaded at the end or valved. Some codes permit the T&P discharge to terminate over the pan under certain conditions, while others restrict it. Local rules decide.

What matters for homeowners is not confusing the two. A pan drain line is not a substitute for a properly terminated T&P discharge. A pan with a T&P line ending in it still needs a drain. Our water heater pressure relief valve guide explains testing, discharge piping and signs of a failing valve.

A T&P valve that discharges repeatedly may indicate high water pressure or thermal expansion in a closed system. A thermal expansion tank is the usual fix where a check valve or pressure-reducing valve creates a closed system. The water heater expansion tank guide covers sizing and pre-charge pressure.

Leak Alarms and Automatic Shutoff Valves

Even a properly drained pan cannot alert anyone that the water heater is failing. Adding detection closes that gap.

Water leak alarms

Battery-powered leak sensors placed in or next to the pan sound an alarm when they get wet. Smart sensors send notifications to a phone. EPA WaterSense notes that leak detection and flow monitoring devices can help identify leaks or alert homeowners to irregular water use, reducing water waste and damage. Our water leak detector guide compares basic alarms, Wi-Fi sensors and whole-house systems.

Automatic shutoff valves

Dedicated water heater shutoff kits pair a sensor in the pan with a motorized valve on the cold water inlet. When water is detected, the valve closes, stopping the tank from refilling. That limits a leak to the water already in the tank rather than a continuous flow from the supply. Whole-house shutoffs can do the same at the main. Both need periodic testing and battery replacement.

Gas water heaters may have additional considerations, and installation instructions for any shutoff device should be followed.

Leaks, Maintenance and the Pan

A wet pan is a symptom, not a diagnosis. Water may come from:

  • A corroded tank, which usually means replacement.
  • Loose or corroded fittings at the cold inlet, hot outlet or drain valve.
  • A weeping T&P valve.
  • Condensation on the tank or piping, especially with very cold incoming water.
  • Condensate from a heat pump water heater, which typically has a separate condensate drain.

Our water heater leaking guide walks through diagnosing each source. Routine maintenance helps prevent some of these. Flushing sediment can extend tank life in hard-water areas and allows inspection of the drain valve, and the water heater flush guide covers the steps.

Heat pump water heaters also deserve mention. ENERGY STAR advises installing them in interior spaces that remain between 40 and 90 degrees Fahrenheit year-round with about 1,000 cubic feet of air space around the unit. Many of those spaces are finished basements or utility closets where a pan and leak sensor make sense.

Tankless water heaters do not hold a large volume of water, but they can still leak at connections, and condensing gas units produce condensate that must be drained. Pan requirements for tankless units vary. The tankless water heater guide covers venting and maintenance.

Leaks that soak wood or drywall should be addressed quickly. EPA’s mold guidance recommends drying water-damaged areas and items within 24 to 48 hours to prevent mold growth and stresses fixing the water problem, not just cleaning up afterward.

Retrofitting a Pan Under an Existing Water Heater

Adding a pan to a water heater that is already installed is more involved than it sounds, because the full tank has to come out of position. A typical retrofit follows a sequence like this:

  1. Turn off the gas or electric supply to the heater, and for gas units set the control to the pilot or off position as the manufacturer directs.
  2. Shut off the cold water supply and let the water cool, since tank water can scald.
  3. Drain the tank through the drain valve with a hose routed to a floor drain or outdoors.
  4. Disconnect the water lines, the gas line or electrical connection, and the vent connector on gas units.
  5. Move the empty tank, set the pan level, and route the drain line before setting the tank back.
  6. Reconnect everything, refill the tank with a hot faucet open to purge air, and restore power or gas only once the tank is full.
  7. Check every connection for leaks, and on gas units confirm proper venting and draft.

Because the job touches gas piping, venting and sometimes electrical connections, it is typically best handled by a licensed plumber, and a permit may apply. Tanks that are already showing rust or age may be better replaced at the same time rather than moved and reset.

Checking an Existing Pan

For homes that already have a pan, a short annual check keeps it useful:

  • Look inside the pan. It should be dry. Standing water, rust stains or white mineral residue suggest a past or ongoing leak.
  • Trace the drain line. Follow it from the pan fitting to its outlet and confirm it is connected, sloped and unobstructed.
  • Test the outlet. Pouring a small amount of water into the pan and watching it exit at the termination confirms the line works. Avoid splashing water near burners or electrical components.
  • Check the rim. Dents or cracks can let water escape over the edge.
  • Test the sensor. Leak alarms and shutoff sensors usually have a test button or can be triggered with a damp cloth.

Storage clutter is a common problem in utility closets. Boxes stacked against the tank can hide a wet pan and can block combustion air on gas units.

What Home Inspectors Look For

The ASHI Standard of Practice directs inspectors to inspect water heating equipment and hot water supply systems, and to describe the water heating equipment and its energy source. Within that scope, inspectors commonly note:

  • Whether a pan is present in locations where leaks could damage finishes.
  • Whether the pan is sized to the tank and connected to a drain line.
  • Water, rust or mineral deposits in the pan.
  • T&P discharge piping material, size and termination.
  • Signs of past leaks on nearby flooring, drywall and framing.

Buyers can read more about scope and expectations in our guide to the home inspector hiring process, and the plumbing and water hub collects guides on water heaters, valves and leak detection.

Water Heater Drain Pan Costs

The pan itself is one of the cheaper parts of a water heater installation. Plastic and aluminum pans commonly sell for roughly $20 to $60, with larger or heavier-gauge metal pans costing somewhat more. Drain line materials add a small amount.

Adding a pan to an existing installation means draining and disconnecting the water heater, lifting it into the pan and reconnecting it, which is a labor-intensive job. As a general guide for 2026, retrofitting a pan and drain line might run a few hundred dollars in the Denver metro, depending on access and how far the drain line must run. Including a pan during a planned replacement usually adds less, since the tank is already being moved. Leak alarms range from inexpensive battery units to pricier smart systems, and motorized shutoff kits often cost more plus installation. Quotes from licensed plumbers will reflect local conditions.

More Questions About Water Heater Drain Pans

Is a metal or plastic water heater drain pan better?

Metal water heater drain pans, usually aluminum or galvanized steel, are generally preferred under gas water heaters because they resist heat near the burner. Plastic pans are common and acceptable under electric heaters where the manufacturer and local code allow them.

Some plastic pans are rated for use under gas heaters; check the product listing. Aluminum resists corrosion well, while galvanized steel can rust over time in damp locations. Whatever the material, the pan should be sized to the tank and have a drain fitting.

Does a water heater drain pan need to be level?

A water heater drain pan should be close to level, or tilted slightly toward the drain fitting, so collected water flows out instead of pooling in a corner. A pan sloped away from its drain can overflow before the drain line carries water away.

Shims under the pan or the heater stand can correct a sloping floor. The water heater itself must also sit level and stable, since an uneven tank can stress gas connectors, venting and water lines.

Can a water heater drain pan handle a full tank failure?

A water heater drain pan cannot contain a full tank failure. A typical pan holds only a few gallons and its drain line carries water away slowly, while a ruptured 40- or 50-gallon tank keeps refilling from the supply line until the water is shut off.

Drain pans are designed for drips, condensation and slow leaks, which are the most common early failure signs. Protection against a sudden rupture needs an automatic shutoff valve on the cold inlet, triggered by a leak sensor in the pan, so the supply closes within seconds of water appearing.

Do heat pump and tankless water heaters need drain pans?

Heat pump water heaters often need a drain pan plus a condensate drain, since they produce condensation as they pull heat from the air. Tankless water heaters usually do not sit over a pan, but condensing tankless models need condensate drainage and a neutralizer.

Placement matters most. Any water heater installed in an attic or over finished space benefits from leak protection, whether a pan, a leak sensor, or an automatic shutoff valve on the supply line.

References

Frequently asked questions

Is a water heater drain pan required?

Model plumbing codes generally call for a pan where a leak would damage the building, such as attics, upper floors and finished areas. Local codes and amendments govern, so the building department or a licensed plumber can confirm what applies.

Does a water heater drain pan need a drain line?

Yes, for real protection. Without a drain, the pan only holds a small amount of water and will overflow during a slow or steady leak. The line should run to an approved location such as a floor drain or the exterior.

What size drain pan does my water heater need?

Measure the tank's diameter and choose a pan that is at least about 2 inches wider and around 1.5 inches deep, which are common code minimums. Check local requirements and the pan's rating for gas units.

Can the relief valve pipe drain into the pan?

Rules vary. The T&P discharge is treated separately from the pan drain, and some codes restrict terminating it over a pan. Either way, the pan still needs its own drain line.

Should I add a leak alarm to the drain pan?

A leak alarm or automatic shutoff valve is inexpensive protection, especially for water heaters above finished space. It warns of a leak before the pan overflows or the drain line becomes the only safeguard.

Does homeowners insurance require a water heater drain pan?

Homeowners insurance usually does not require a water heater drain pan, but water damage from a heater without required protection can complicate a claim. Some insurers offer discounts for leak detection or automatic shutoffs. Ask the insurer about specific requirements or credits.

Why is there water in the drain pan but no visible leak?

Water in a drain pan without a visible leak can come from condensation on a cold tank, a dripping relief valve, a leaking drain valve, or a slow leak at fittings above. Dry the pan and check again after a day to see where water reappears.

How long does a water heater drain pan last?

A water heater drain pan can last as long as the heater if it stays dry and undamaged. Plastic pans can crack, and steel pans can rust. Replace a pan that is cracked, corroded or deformed, ideally when the water heater itself is replaced.

Is the water heater in the home you are buying tucked into a finished closet or upstairs? Connect with a Front Range inspector who checks pans, drain lines and relief valve piping.