What IRC 2021 § P2801.5 requires
A drain pan is required under a storage-tank water heater or hot-water storage tank when the unit is installed where leakage could damage the building. In plain English, that usually means attics, platforms over finished rooms, closets over living space, and other places where even a slow seep can ruin drywall, insulation, flooring, or framing before anyone notices. The pan must be corrosion resistant, properly sized, and paired with an approved drain arrangement. If your local amendment or published code copy renumbers this rule, verify the adopted section with the authority having jurisdiction.
The article file is tied to IRC 2021 Section P2801.5, titled Required Pan. In several online code libraries and state publications, the same pan language appears as P2801.6, with size and drain details in P2801.6.1 and P2801.6.2. The practical requirement is the same: where a storage tank-type water heater or a hot-water storage tank is installed in a location where leakage from the tank will cause damage, the tank must be installed in a pan.
The code also limits what that pan can be made from. The approved materials are galvanized steel or aluminum of at least 0.0236 inch thickness, plastic at least 0.036 inch thick, or another approved material. Where the appliance is gas-fired, a plastic pan has to meet flame-spread and smoke-developed limits when tested under the applicable standard. That matters because the pan is not just a catch tray from the home center; it has to be suitable for the heat and environment beneath the appliance.
The pan requirement is not triggered by the mere fact that a water heater exists. It is triggered by location and damage potential. A garage slab installation with harmless drainage may be evaluated differently from a tank set over a finished ceiling. Once the pan is required, inspectors also look for the related drain provisions: depth, size, drain diameter, approved termination, and materials. The pan itself does not excuse a bad T&P discharge, poor seismic bracing where required, or a prohibited installation location.
Why This Rule Exists
Water heaters rarely fail all at once in a dramatic flood. Much more often, they sweat, rust at a seam, seep at a fitting, or drip from a relief event long before the homeowner realizes there is a problem. In a garage or unfinished utility room, that might be mostly a maintenance issue. Over a bedroom, hallway ceiling, finished basement soffit, or insulated platform, the same leak can destroy gypsum board, stain finishes, damage framing, wet insulation, and create mold conditions before anyone sees it.
The pan rule exists because the code assumes leaks are inevitable over the life of the appliance. It creates a cheap secondary layer of protection in the exact locations where hidden damage is most expensive. Inspectors like the rule because it is preventive, simple to verify, and far cheaper than repairing concealed water damage after the fact.
What the Inspector Checks at Rough and Final
At rough inspection, the inspector is usually asking a location question first: is the tank in a place where leakage could damage the building? If the answer is yes, the pan cannot be treated as an optional accessory. The inspector will also look at framing openings, routing for the pan drain, and whether the proposed termination can be observed and will not dump onto a walking surface, crawlspace, or foundation area that creates another problem.
At final inspection, the check becomes more specific. Is there actually a pan under the appliance, not just under part of the footprint? Is the pan made of an approved material and not a flimsy improvised tray? Is the tank centered so drips fall into the pan instead of bypassing it at an edge? If the unit is gas-fired, is the plastic pan suitable for that use? Is the pan drain connected, full size, and sloped by gravity to its termination point?
Inspectors also look for coordination failures. The pan cannot block service access, burner access, control replacement, condensate routing, or required clearances. If the tank sits on blocks inside the pan, the supports should still allow the pan to catch leakage and should not puncture or distort the pan. A common reinspection trigger is a pan installed late in the job with no usable drain route, or a drain route that disappears into the wall without an approved receptor or outdoor termination.
What Contractors Need to Know
Contractors usually get in trouble with pans when the decision is postponed until replacement day. On a like-for-like tank swap, the old unit may not have had a pan, the closet may be tight, and there may be no easy gravity-drain path. If the location can damage the building, that does not make the requirement disappear. It means the installer has to solve the routing problem before the inspection is called, sometimes by reworking nearby piping, shifting the platform layout, or relocating the equipment.
Material selection matters. Metal pans are common and durable. Plastic pans can be acceptable, but on gas-fired units they need to satisfy the flame-spread and smoke-developed limitations in the code language used by many jurisdictions. Installers should also check the appliance instructions, because some manufacturers want the tank fully supported, want specific stand arrangements, or show preferred pan clearances.
Trade coordination matters too. On high-efficiency gas units, condensate drains, vent routing, gas shutoff access, and combustion-air details can all compete for the same tight footprint. A pan should be part of the layout from the beginning, not something forced in after piping is complete. If there is any doubt about the local interpretation of “where leakage will cause damage,” contractors should ask the AHJ before work starts, because inspectors tend to interpret that phrase broadly anywhere finished construction is below or adjacent to the unit.
What Homeowners Get Wrong
The most common homeowner misunderstanding is thinking a pan is only for attics. Attics are the obvious example, but not the only one. A tank in a second-floor closet, over a finished garage ceiling, on a raised wood platform, or above expensive flooring can still meet the “could damage the building” test.
Another common mistake is assuming the pan is there to handle a catastrophic tank burst. It is not a flood basin. It is a secondary defense against normal leakage, nuisance drips, and early failure signs. If the drain is missing or clogged, the pan only delays the damage. That is why the pan and the drain have to be treated as one system.
Homeowners also confuse the pan drain with the temperature-and-pressure relief discharge. They are not interchangeable. The T&P discharge has its own full-size, gravity, and termination rules and should not be casually tied into whatever pipe is nearby. Likewise, a pan is not proof that the installation is safe overall. A tank can sit in a shiny new pan and still fail for improper venting, missing expansion control, bad relief piping, or unapproved location.
Finally, many people assume replacement work is exempt because “it was already that way.” Existing conditions matter, but once you pull a permit, the inspector evaluates the permitted scope and the current adopted rules. If your jurisdiction has a specific replacement exception or local policy, get that in writing instead of relying on hearsay from the last installer.
From an EEAT standpoint, it helps to think like the inspector writing the correction. They are not trying to make a routine replacement difficult; they are trying to avoid the very predictable claim that starts with, “It was only a slow leak and we did not know it was happening.” A pan is cheap, but access after failure is expensive. That is why inspectors are especially alert when the heater sits over finished drywall, inside a linen closet, or on a framed platform with no visible drainage path.
Good installers also photograph the completed pan and drain before the tank blocks visibility. That jobsite habit pays off later when a homeowner asks whether the pan was actually installed, when another contractor replaces the appliance, or when the AHJ wants proof that the drain route existed before finish surfaces hid it. For resale work, those photos can also explain why a future buyer sees an exterior pan-drain outlet and prevent it from being confused with a relief-valve discharge.
State and Local Amendments
Pan rules are a classic amendment topic. Some states publish the same IRC concept under slightly different section numbering. Some local handouts make the trigger more explicit by calling out attics, platforms, and locations above habitable or occupied space. Other jurisdictions add prescriptive language about exterior termination, approved receptors, or replacement-water-heater permit requirements.
The safe approach is to treat the model IRC as the baseline and then verify the actual adopted code, local amendments, and inspection handouts for your city or county. If the permit office publishes a residential water-heater checklist, use that checklist in addition to the model code text. Do not claim a special local exception unless you can point to an adopted amendment, written policy, or correction notice from the AHJ.
When to Hire a Licensed Contractor
Hire a licensed contractor when adding or replacing a water heater pan requires new drain piping, relocation of the appliance, alterations to gas piping, venting, T&P discharge piping, combustion-air arrangements, or structural work around a platform or closet. Those tasks often trigger permit and inspection requirements even when the water heater swap seems simple. You should also use a licensed contractor if the tank is in an attic, in a tight interior closet, or above finished living space, because those are the locations where a code miss can become expensive quickly. The right contractor can coordinate pan, drain, relief piping, and manufacturer clearances in one inspection-ready installation.
For inspectors and contractors alike, the pan rule is one of those simple code provisions that reveals whether the installer was thinking ahead. A project with a clean pan, a visible drain path, and documented routing usually reflects broader installation quality. A project with no pan, no drain, and a shrug about possible leakage usually predicts other misses too. That is one reason correction notices about pans often come bundled with comments about access, relief piping, or overall workmanship.
Common Violations Found at Inspection
- No pan installed even though the water heater is above or adjacent to finished construction that can be damaged by leakage.
- Pan installed under only part of the tank footprint, leaving fittings or seams able to drip outside the pan.
- Improvised pan made from unapproved or flimsy material.
- Plastic pan used under a gas-fired water heater without confirming the required flame-spread and smoke-developed characteristics.
- Pan present but no drain connected.
- Pan drain routed uphill, trapped, kinked, or reduced in size.
- Drain termination hidden where leakage cannot be observed, or discharged in a place that creates erosion, slip hazards, or moisture problems.
- Pan added so tightly that service access, controls, or required clearances are compromised.
- Installer treated the pan drain as a substitute for proper T&P relief discharge piping.
- Permit applicant relied on “existing conditions” without verifying whether the local jurisdiction still requires a pan for the permitted replacement.
Key takeaways
The points to remember from this section
- 01 IRC 2021 requires a corrosion-resistant pan where a storage-type water heater or hot-water storage tank is installed where leakage could damage the building.
- 02 In many published code libraries the same rule appears under P2801.6, so always verify the numbering used by your adopted local code book and inspector.
- 03 A required pan is only compliant when it is made from approved material, sized for the appliance, and paired with a usable drain path to an approved termination.
- 04 Inspectors focus on real damage potential, not just whether the job is in an attic, so closets, raised platforms, and installations over finished rooms often trigger the pan rule.
- 05 A pan does not replace T&P discharge piping, venting, seismic bracing, or any other water-heater safety requirement.
Field Q&A
Common questions about P2801.5
01 Do I need a drain pan under a water heater in a garage? ▸
02 Is a water heater pan required only in an attic? ▸
03 Can I replace my water heater without adding a pan if the old one never had one? ▸
04 Can the water heater pan drain into the same pipe as the T&P valve? ▸
05 What kind of pan can go under a gas water heater? ▸
06 Why did the inspector fail my pan even though I installed one? ▸
Educational reference only. Code text is paraphrased from the ICC model; adopted code may differ due to state or local amendments. Always verify with your Authority Having Jurisdiction before relying on this content for construction.