Project permit guide
Do I Need a Permit to Replace a Water Heater?
Reviewed · 11 cited sources
Short answer
In most US jurisdictions, yes. Replacing a tank or tankless water heater usually needs a plumbing permit (and often a gas or electrical permit), even for a same-size swap, because the venting, gas connection, and relief valve are safety items. A few places exempt like-for-like replacements, so confirm with your local building department.
On this page
Replacing a water heater feels like a simple swap: disconnect the old tank, set the new one, reconnect the pipes. Building departments see it differently. A water heater combines pressurized hot water, a fuel source or high-amperage circuit, and (for gas units) combustion gases that must be vented outside. A bad relief valve or a disconnected flue can injure or kill people, which is why most jurisdictions require a permit even for a same-size, same-fuel replacement.
The good news is that a water heater permit is usually one of the simplest permits to get. Many departments issue it over the counter or online the same day, and the job typically needs only a single final inspection.
When you usually need a permit
The model International Residential Code (IRC), which most states adopt with local amendments, does not include water heater replacement in its list of work exempt from permits (R105.2). Its plumbing exemptions cover only stopping leaks and clearing stoppages, and its gas exemptions cover portable appliances and minor parts. In practice, you should expect to need a permit when you:
- Replace an existing tank water heater, even with the same size and fuel type
- Install a tankless (on-demand) water heater, or switch from tank to tankless
- Switch fuels, for example from gas to electric or electric to a heat pump water heater
- Move the water heater to a new location
- Add or alter a gas line, vent, or flue
- Add a new electrical circuit or upgrade the electrical service to support the unit
Depending on the job, you may need a plumbing permit, a mechanical or gas permit, and an electrical permit. Some departments bundle these into one “water heater replacement” permit.
Work that is often exempt
The model IRC exempts minor plumbing repairs, such as stopping leaks in drains or water pipes and clearing stoppages, as long as no pipe or valve is replaced or rearranged. Applied to water heaters, that generally means these tasks do not need a permit:
- Flushing or draining the tank
- Replacing an anode rod
- Replacing a heating element or thermostat on an electric unit with an identical part
- Relighting a pilot light or adjusting the temperature setting
Replacing a gas control valve, thermocouple, or relief valve sits in a gray area. Some departments treat it as a repair and others want a permit. A few jurisdictions also exempt like-for-like water heater replacement outright. Do not assume either; ask.
Code items inspectors check
Inspectors focus on a short list of safety items. Knowing them ahead of time helps you or your installer pass the first time.
Temperature and pressure relief valve
Every storage water heater needs a temperature and pressure (T&P) relief valve (P2804). Under the model IRC, its discharge pipe must be at least the same size as the valve outlet, run by gravity without valves, tees, or traps, and terminate no more than 6 inches above the floor or waste receptor, and its end can’t be threaded (P2804.6.1). A capped, undersized, or missing discharge line is one of the most common failed items.
Venting and combustion air
Gas and oil water heaters must vent combustion gases outdoors through a properly sized vent with correct slope and clearances to combustibles. A new unit with a different input rating or vent size may not match the old flue. Power-vent and condensing units often use PVC venting and a different termination location. The appliance also needs enough combustion air for the space it’s in.
Gas line and shutoff
Inspectors check for a shutoff valve in the same room and within 6 feet of the appliance (G2420.5), a sediment trap (drip leg) downstream of that valve where the appliance doesn’t include one (G2419.4), approved connector type, and a leak-free connection. Higher-input units, especially tankless, often need a larger gas line than the old tank used.
Drain pan and location
The model IRC requires a drain pan where a leaking tank would damage the building, such as an attic or finished space (P2801.6), with at least a 3/4-inch drain to an approved location (P2801.6.1). There is a useful exception for replacements: where no pan drain was installed before, a pan drain isn’t required for the replacement unit. Water heaters with an ignition source in a garage need that ignition source at least 18 inches above the floor unless the unit is listed as flammable vapor ignition-resistant (P2801.7).
Seismic strapping and expansion tanks
In Seismic Design Categories D0, D1 and D2, and for townhouses in Category C, the model IRC requires anchoring or strapping in the upper and lower thirds of the water heater (P2801.8). Many homes also need a thermal expansion tank or other pressure-control device, which the code requires where a backflow preventer, check valve, or pressure-reducing valve lets thermal expansion build pressure in the system (P2903.4).
Electrical connection
Electric and heat pump water heaters need a correctly sized circuit, conductors, and overcurrent protection, plus a disconnecting means. A conversion from gas to electric often triggers an electrical permit and sometimes a panel or service upgrade.
How the rules differ by city
Water heater permits range from fully exempt to required for every swap. Examples from official sources:
- Phoenix’s published guideline on work exempt from permits (revised July 2014) exempts replacing an existing water heater in a one- or two-family home when the work is done by a licensed contractor. Its fee schedule effective January 20, 2026 sets a $98 minimum permit fee for residential water heaters valued up to $1,000.
- Denver issues water heater permits for single-family and duplex homes as plumbing or mechanical quick permits, without plan review. Fees follow the building permit fee table on the city’s Development Fees page (as posted in October 2026): $20 for work valued up to $500 and $35 for $501 to $2,000.
- Fairfax County, Virginia lists “direct replacement of household appliances,” including water heaters, among residential projects that require a permit.
- Minneapolis lets pre-approved licensed contractors pull water heater permits for existing one- and two-family homes through its express permit tool.
What the inspection covers
For a straight replacement, most departments do a single final inspection after the unit is installed and running. Expect the inspector to look at the T&P valve and discharge line, venting, gas connection and shutoff, strapping, expansion tank, drain pan if required, and electrical connection.
For tankless conversions, relocations, or fuel changes, you may also have a rough-in inspection before new gas piping, venting, or wiring is covered by drywall, plus a gas pressure test on new piping.
What to have ready when you apply
Water heater permits are usually short applications. Have these on hand:
- The property address and owner information
- Make, model, capacity, and fuel type of the new unit, and its input rating (BTU/h) or electrical rating
- Whether the unit is a like-for-like replacement or involves new gas, venting, or electrical work
- The contractor’s license number, if a contractor is pulling the permit
- For tankless units, gas line sizing information or an electrical load calculation if the department asks
Before the installer starts, confirm these items:
- The permit is pulled, or will be filed within the emergency window if the old unit failed.
- The new unit’s vent, gas line, or circuit matches its rating, not just the old unit’s.
- The T&P discharge line can run full size to an approved termination.
- A drain pan is planned where a leak would cause damage.
- Strapping and an expansion tank are included if your area or plumbing system requires them.
Many departments let licensed plumbers pull these permits online. Fees are often a flat amount for a water heater, sometimes with a separate charge for gas or electrical work and small state or technology surcharges. The exact fee schedule is usually posted on the department’s website.
Hiring a contractor vs doing it yourself
Most homeowners hire a licensed plumber, and the plumber normally pulls the permit as part of the job. Ask whether the price includes the permit and inspection; if it doesn’t, that is a warning sign.
If you want to do the work yourself, rules vary widely. Many jurisdictions allow an owner-occupant to pull a homeowner plumbing permit for their own single-family home. Some require a licensed plumber for any gas work, and some require licensed trades for all plumbing. See the owner-builder permits guide for how homeowner permits typically work.
Choosing a replacement
Federal efficiency standards from the U.S. Department of Energy affect which units are sold. Under 10 CFR 430.32(d), electric storage water heaters over 55 gallons must already meet a uniform energy factor of about 1.8 to 2.2, depending on size and draw pattern. Electric-resistance tanks can’t reach those levels, so in practice these are heat pump units. For water heaters manufactured on or after May 6, 2029, the standard for most 20- to 55-gallon electric tanks rises to 2.30. If you are replacing a large electric tank, a same-size conventional unit may not be available.
Heat pump water heaters need more space and airflow than a standard tank, a condensate drain, and usually a dedicated 240-volt circuit. Some 120-volt models plug into an existing outlet. Ask your installer about these requirements before you buy, because they can change what permits you need.
Questions to ask your building department
- Is a permit required for a like-for-like water heater replacement here?
- Do I need separate plumbing, gas, and electrical permits, or is there a combined permit?
- Can a homeowner pull the permit, and can a homeowner do gas work?
- Is an expansion tank or seismic strapping required at my address?
- Is the final inspection scheduled online, and does someone need to be home?
To find the office that handles permits for your address, find your local building department. If the old water heater was replaced without a permit, the unpermitted work guide explains how after-the-fact permits usually work.
Frequently asked questions
Do I need a permit to replace a water heater with the same size and type?
Usually, yes. The model International Residential Code does not list water heater replacement among the work exempt from permits, and most cities and counties require a plumbing permit for a like-for-like swap. A small number of jurisdictions exempt or simplify same-type replacements, so check locally before assuming you're exempt.
Can a homeowner pull a permit to replace their own water heater?
Many jurisdictions let owner-occupants pull a homeowner plumbing permit for their own single-family home, sometimes after signing an owner-builder affidavit. Others require a licensed plumber for gas work or for any plumbing. Your building department can tell you which applies.
What happens if I replace a water heater without a permit?
Often nothing until you sell, refinance, or file an insurance claim. A home inspector may flag a newer unit with no permit on record, and a jurisdiction can require you to get an after-the-fact permit and inspection. If a leak or gas problem is traced to an uninspected installation, an insurer may question the claim.
Does switching from a tank to a tankless water heater need a permit?
Yes, almost everywhere. A tankless conversion usually changes the gas line size, venting, or electrical service, all of which need permits and inspections. Gas tankless units often need a larger gas line, and electric tankless units can require a dedicated high-amperage circuit or a service upgrade.
Do I need to strap my water heater?
In areas with significant seismic risk, yes. The model IRC requires water heaters in Seismic Design Categories D0, D1 and D2, and in townhouses in Category C, to be anchored or strapped in the upper and lower thirds of the appliance (P2801.8). Ask your department which seismic design category applies to your address.
My water heater failed. Can it be replaced before the permit is issued?
Usually. The model IRC lets emergency equipment replacements go ahead as long as the permit application is submitted within the next working business day (R105.2.1). Some cities set their own window; Phoenix's published guideline allows 72 hours. The work still has to pass inspection afterward.
Sources
- 2021 International Residential Code, Chapter 1 Scoping and Administration (Sections R105.2 and R105.2.1), UpCodes copy
- 2021 International Residential Code, Chapter 28 Water Heaters, UpCodes copy
- 2021 International Residential Code, Chapter 29 Water Supply and Distribution (Section P2903.4), UpCodes copy
- 2021 International Residential Code, Chapter 24 Fuel Gas (Sections G2408, G2419, G2420), UpCodes copy
- Electronic Code of Federal Regulations, 10 CFR 430.32 Energy and water conservation standards
- City of Phoenix, Work Exempt from Permit (TRT/DOC/00618)
- City of Phoenix Planning & Development Department, PDD Fee Schedule (effective January 20, 2026)
- City and County of Denver, Quick Permits
- City and County of Denver, Development Fees (building permit fee table)
- Fairfax County Land Development Services, Does My Project Require a Permit?
- City of Minneapolis, Express Limited Permits for Contractors
