
Affiliate Disclosure
Some links on this page are affiliate links. As an Amazon Associate, we earn from qualifying purchases — at no extra cost to you. We do not buy, test, or physically handle the products we cover; our rankings come from aggregated owner reviews, ratings and expert consensus. Commissions never change our verdicts. How we rank · full disclosure.
In most US jurisdictions, yes — replacing a water heater requires a permit, even a like-for-like swap. It is regulated work because it involves gas or 240-volt wiring, a pressure vessel, a combustion vent, and a relief valve — all of which are governed by Chapter 28 of the International Residential Code, which most US jurisdictions adopt in some form. Permits typically cost $50 to $250 and include an inspection. A minority of jurisdictions exempt straight replacements that meet strict conditions, and a few require additional gas or electrical permits on top. Requirements are set at state, county and city level, so confirm with your local building department before you buy anything.
We never buy, test or physically handle the products we rank; recommendations come from aggregated owner reviews and expert consensus, described in how we rank. More at the DIY plumbing hub.
Why is a permit required for something this routine?
Because the failure modes are severe. A water heater is a vessel under mains pressure holding 40 to 80 gallons at 120°F or more — the CPSC's recommended setting, and already hot enough to scald; if its temperature and pressure relief valve is missing, blocked or discharged into the wrong place, the failure is violent. A gas unit vents combustion products, and a badly sized or disconnected flue puts carbon monoxide into living space. An electric unit is a 240-volt appliance. The permit exists so that a second person confirms the relief line, the venting, the gas connection and the seismic or leak protections before the panel goes back on.

How much does it vary by jurisdiction?
A great deal — this is why no article can give you a national answer. Real published examples show the range:
| Jurisdiction | Published position on water heater replacement |
|---|---|
| Kirkland, Washington | Permit requirements depend on scope; a building permit may be needed if walls, floors or ceilings are opened, and an electrical permit if an electric unit replaces a gas one |
| City of Fairfax, Virginia | Changes to gas-fired equipment, including a water heater, require a gas permit — even for an in-kind replacement |
| North Carolina | State law (G.S. 160D-1110) exempts certain like-for-like replacements in one- and two-family dwellings, but only where conditions are met: same fuel, same thermal input, no change of location, and no change to venting or piping routing or sizing |
| San Diego, California | Offers a simplified plumbing permit path for water heater replacement, with some categories handled differently |
Note what those four have in common: even the most permissive one attaches conditions. North Carolina is the closest thing to a genuine exemption in this list, and it evaporates the moment the fuel type, location, capacity or vent changes. Treat any exemption as narrow until your building department tells you otherwise in writing.

What always triggers a permit?
Whatever your local exemption says, these changes turn a replacement into an alteration and require permitting essentially everywhere in the US:
- Changing fuel type — gas to electric or electric to gas.
- Changing technology — tank to tankless, or adding a heat pump water heater.
- Moving the unit to a different room, closet, attic or garage.
- Changing capacity or input rating — a larger burner needs re-checked gas line sizing and combustion air.
- Altering the vent — different diameter, material, or route.
- New or modified gas piping, which in many states also requires a licensed gas fitter, not just a permit.

What does the inspector actually look at?
Knowing the checklist is the best way to pass first time. The common items, drawn from the International Plumbing Code, the Uniform Plumbing Code and the National Fuel Gas Code (NFPA 54) as adopted locally:
- Temperature and pressure relief valve with a full-size discharge pipe running downward to a safe termination, no threads on the end, no valve in the line.
- Thermal expansion control — an expansion tank where a check valve, backflow preventer or pressure-reducing valve makes the system closed.
- Drain pan piped to an approved point where a leak would damage the building.
- Seismic strapping — two straps, upper and lower third of the tank, required in California and other seismic jurisdictions.
- Vent of the correct material, size and slope, with proper connector rise and clearance to combustibles.
- Combustion air for gas units in confined spaces, and an 18-inch elevation of the ignition source in a garage in many jurisdictions.
- Sediment trap on the gas line and an accessible shutoff.
- Dielectric unions or approved connectors at the water connections.
Should you do it yourself at all?
An electric tank swap in an accessible location is within reach of a competent DIYer who pulls a permit and follows the inspection list. A gas unit is a different question. Gas piping, flue connection and combustion air are the three items most likely to injure someone if they are wrong, and the consequences are a fire or carbon monoxide, not a puddle. Several states require a licensed contractor for gas appliance connections regardless of permits. Unless you are licensed for gas work, hire a licensed plumber for a gas water heater — and ask them to include the permit and inspection in the quote. Typical installed cost is $1,200 to $2,500; see how much a plumber charges per hour for how that is built up.
Before you buy, it is worth reading how long a water heater lasts to judge whether replacement is actually due, and what temperature to set it to once it is in. Maintenance that extends the new one is in how often to flush a water heater.
