What is a water heater drain pan?
A water heater drain pan is a shallow pan under the heater that catches water from leaks and relief valve drips. A drain line connected to it carries that water to an approved location, such as a floor drain or the outdoors, so it doesn't overflow onto floors or into ceilings. Plumbing codes require a pan where a leak would cause damage.
Pans matter most where a heater sits above living space: attics, upstairs closets, interior closets with finished floors and anywhere a leak would reach drywall or flooring. In a garage on a slab, a pan is still a smart addition, especially when stored items sit nearby.
A pan without a drain line only buys time. It holds a small amount of water and then overflows. The line is what turns the pan into real protection, and a leak sensor inside it adds an early warning.
Because the pan goes under the heater, installing one usually means draining, disconnecting and lifting the heater, which is why many homeowners add a pan during a replacement or major repair.
How are drain pans and drain lines installed?
The pan has to be the right size and material. It should be wider than the heater so drips from fittings and the relief valve land inside, with a rim deep enough to hold water until it drains. Metal pans are common under gas heaters, while plastic pans rated for the purpose are often used under electric units.
For an existing heater, the installer shuts off fuel or power and water, drains the tank, disconnects the water lines and the gas or electrical connection, and lifts the heater out. The pan goes down, the heater is set back inside it, and everything is reconnected, leveled and restrained with seismic straps.
The drain line connects to the pan's outlet and runs downhill to an approved termination. Depending on the space, that may be a floor drain, an indirect waste receptor or an exterior wall, where it should end a short distance above grade. The line can't be smaller than the pan's outlet and must not be trapped or run uphill.
Afterward, the installer pours water into the pan to confirm it drains freely and checks the heater and connections for leaks.
Relief valve discharge vs. pan drain
The relief valve's discharge pipe and the pan's drain line are separate systems with different rules. The discharge pipe carries hot water released under pressure and has its own sizing and termination requirements, while the pan drain carries leaks and drips. In some installations the discharge may end over the pan; in others it must run elsewhere. The installer follows the requirements for the specific location.
Attic and upstairs installs
Heaters above living space carry the highest risk, because a leak flows straight into the ceiling below. In these locations a pan with a correctly routed drain is essential, and a sensor with an automatic shut-off valve adds an important second layer of protection.
8 signs you need a pan or a better drain line
- No pan under a heater above living spaceAttic, upstairs or interior closet installs.
- A pan with no drain lineIt holds only a little before overflowing.
- A drain line that's clogged or runs uphillWater stays trapped in the pan.
- A cracked, rusted or warped panIt can no longer hold water.
- Ceiling stains below the heaterEvidence that leaks have escaped before.
- Relief valve drips landing outside the panWater reaches the floor instead.
- Stored items or flooring right against the heaterAny leak causes damage immediately.
- A replacement is coming upThe ideal time to add a pan properly.
Why do leaks escape without a working pan?
Many older installations never had a pan, especially in garages and ground-floor closets where one wasn't required at the time. Others had a pan added without a drain line, which handles a few ounces of water and fails during a real leak.
Drain lines fail too. They clog with debris, sag and hold water, or get disconnected during remodeling. A line that ends inside a wall or somewhere nobody would notice water can hide a leak instead of revealing it.
Undersized pans are the third problem. A pan barely wider than the heater lets drips from fittings and the relief valve land outside the rim. Over time that water damages the floor around the pan even though the pan itself stays dry.
Where heaters are placed plays a part too. Interior closets and attics free up garage space, but they put leaks closer to finished rooms. A heater moved during a remodel sometimes keeps its old setup without the pan its new location calls for.
What can you check yourself?
- Look under the heater: is there a pan, and does it extend past the heater's footprint?
- Find the pan's drain line and follow it to where it ends.
- Pour a cup of water into the pan and see whether it drains out of the line.
- Check for rust, cracks or standing water in the pan.
Note the flooring around the heater and what sits on the other side of the wall or ceiling. That helps the installer decide how much protection the location needs.
Pro tip
If the pan has no drain line, a water alarm inside it is an inexpensive stop-gap until a proper line can be installed.
For attic heaters, check the ceiling below for stains and the pan for rust lines or standing water. Both mean water has already reached the pan at some point.
What happens during a drain pan installation?
- Site assessment. Heater location, floor type and drain options.
- Pan selection. Size and material suited to the heater and fuel type.
- Shutdown and drain. Fuel or power off, water off, tank drained.
- Disconnect and lift. Water and gas or electrical connections removed.
- Pan placement. Set level with the heater centered inside.
- Reconnect and strap. Connections restored and seismic straps secured.
- Drain line. Routed downhill to an approved termination.
- Water test. Pan drained with water, heater refilled and checked.
When the heater is already being replaced, the pan simply goes down first, which keeps the added time and cost small.
What affects the cost of a drain pan installation?
| Factor | Why it matters |
|---|---|
| Heater location | Attic and closet installs take more handling. |
| Pan size and material | Larger heaters need larger, sturdier pans. |
| Drain line routing | Short runs vs. long runs through walls or attics. |
| Heater lift | Moving an existing heater adds labor. |
| Combined work | Adding a pan during a replacement avoids a second lift. |
When is a pan problem an emergency?
If the pan is overflowing, water is coming through a ceiling or the drain line is running nonstop, the heater is actively leaking. Shut off the cold supply and the fuel or power, then use 24/7 emergency response. The pan did its job buying time; now the source needs fixing.
Drain pan FAQ
Is a drain pan required in California?
Plumbing codes require pans where a water heater leak would cause damage, such as in attics or above finished spaces. The installer can confirm what applies to your location.
Can a pan go under my existing heater?
Yes, but the heater has to be drained, disconnected and lifted, so it's a plumber's job. Many owners add one during a replacement.
Where can the drain line end?
At an approved location such as a floor drain, an indirect waste receptor or the exterior, depending on the building and local rules.
Do I need a pan in the garage?
On a garage slab it often isn't required, but it still protects stored items, walls and whatever is on the other side of the garage wall.
What material should the pan be?
Metal pans are common under gas heaters, and plastic pans rated for the use are often used with electric heaters. The installer chooses based on the heater and code.
Should I add a leak sensor to the pan?
It's an excellent addition. The sensor alerts you the moment water reaches the pan, even while the drain line carries it away.