Home / Guides

INSTALLATION, CODES & SAFETY

Can you replace a water heater yourself?

Many cities let you replace your own water heater with a homeowner permit. Whether you should depends on the fuel, the warranty and what goes wrong when it’s done badly.

Should you replace a water heater yourself? A decision chart Five questions in order. One: is the new heater the same fuel, type, size and location? If no, a fuel switch, tankless conversion or move needs new gas, vent or wiring work, so hire a pro. Two: can a homeowner get the permit where you live? If no, as with gas work in Boston, hire a licensed contractor. Three: is it a gas or propane heater? If yes, the gas line, venting and carbon monoxide risk call for a licensed pro. Four: are you comfortable shutting off and wiring 240 volts? If no, since shock can cause severe injury or death, hire an electrician or plumber. Five: does the warranty require a licensed installer? If yes, as with Navien and Takagi, hire a pro. If you pass all five, a like-for-like electric tank swap under a homeowner permit, with the inspection booked, is the realistic do-it-yourself case. 1 Same fuel, type, size and location as the old one? No Fuel switch, tankless or a move: new gas, vent or wiring work. Hire a pro. Yes 2 Can a homeowner get the permit where you live? No Boston gas work, for one: licensed contractors only. Hire a pro. Yes 3 Is it a gas or propane heater? Yes Gas line, venting and carbon monoxide risk: hire a licensed pro. No 4 Comfortable shutting off and wiring 240 volts? No Shock can cause severe injury or death. Hire an electrician or plumber. Yes 5 Does the warranty need a licensed installer? Yes Navien and Takagi void theirs otherwise. Hire a pro. No DIY is realistic: a like-for-like electric tank swap under a homeowner permit, with the inspection booked.
Five questions before you pick up a wrench. A “hire a pro” answer at any step ends the DIY case. Permit rules come from each city’s own pages; warranty rules from the Navien and Takagi manuals.

THE SHORT VERSION

  • Often legal, rarely without a permit. The model building code requires a permit to replace a plumbing or gas system. Many places let an owner-occupant pull a homeowner permit (Denver after an exam; Seattle and King County; Austin’s Homestead Permit). Some don’t: in Boston only licensed contractors can get a gas permit.
  • The realistic DIY job is a same-type electric tank. Gas and propane heaters add a gas connection and venting, where mistakes cause leaks and carbon monoxide. Tankless conversions, moves and fuel switches are pro work.
  • You save mostly the labor: This Old House puts tank installation labor at $300–$800, against Home Depot’s $1,600–$2,400 installed range. You still buy the heater, the permit and the parts, and you haul the old tank away.
  • Check the warranty first. Navien and Takagi void theirs if a non-licensed installer puts the unit in; Bradford White routes claims through the contractor; Rinnai says improper installation may void its warranty.
  • If you do it yourself, pull the permit in your name, follow the installation manual exactly, fill the tank before power goes on, and have the work inspected.

Where DIY replacements go wrong

Rheem’s list of the installation mistakes plumbers see most is a good map of the risks. It names improper venting on gas heaters as “one of the most dangerous mistakes,” because exhaust can backdraft carbon monoxide into the home. The others are less deadly but expensive.

The main risks in a water heater swap
RiskWhat goes wrongWho it applies to
VentingWrong pipe size, poor pitch, loose sections or mixed materials let exhaust spill indoors (Rheem)Gas and propane tanks
Gas connectionLeaks at fittings; a missing shutoff valve within 6 feet or sediment trap, both IRC requirements (G2420.5.1, G2419.4)Gas and propane
Electrical shockA.O. Smith warns that working on an energized circuit “can result in severe injury or death”Electric and heat pump
Dry firingPower on before the tank is full burns out the upper element almost instantly (Rheem, A.O. Smith)Electric tanks
Relief valve pipeAn improperly installed discharge line is on Rheem’s list of common mistakesAll tanks
Thermal expansionA closed system without an expansion tank builds pressure; A.O. Smith’s warranty excludes itHomes with a check valve or pressure-reducing valve
Weight and waterA 50-gallon tank holds about 417 pounds of water (50 × 8.34 lb); draining, lifting and leaks at new jointsAll tanks

Sources: Rheem, “The top installation mistakes plumbers see with water heaters” (2026); A.O. Smith installation manuals and limited warranty. Code details are in water heater code requirements.

A.O. Smith’s gas-tank manual is blunt: installation needs skills in “plumbing, air supply, venting, gas supply and electrical supply,” and if you are not qualified and “licensed or certified as required by the authority having jurisdiction” to do a task, “do not attempt to perform any of the procedures described in this manual.” For how carbon monoxide and flammable vapors become hazards, see water heater safety and water heater venting.

Electric tanks sold at retail are a different case. A.O. Smith’s 2026 manual for a Lowe’s electric model is written as step-by-step owner instructions, and tells buyers who aren’t sure they can do the work “safely and properly” to arrange professional installation or call a licensed plumber or electrician. That is why the realistic DIY case is a same-type electric swap.

Manufacturer warranties and licensed installation

Before you buy a heater to install yourself, read its warranty. Some brands tie coverage to a licensed installer; others void it for installation that doesn’t follow code or the manual, whoever did it.

What five manufacturers say about who installs
BrandWhat the manual or warranty says
Navien (NPE-2 tankless)Warranty void if “installed by a non-licensed installer,” or if bought online or from a seller Navien hasn’t authorized
Takagi (HX3 tankless)Installation and service “must be performed by a qualified installer (for example, a licensed plumber or gas fitter). Otherwise, the warranty will be void.”
Rinnai (Sensei tankless)Recommends a professional who has attended Rinnai training; “Improper installation may void this Limited Warranty.”
Bradford WhiteSays heaters should be installed and serviced by “qualified licensed professionals only”; warranty claims are submitted by the servicing contractor
A.O. Smith (tanks)No coverage if not installed to local code (or the National Fuel Gas Code) and the printed instructions; gas manual says not to attempt any procedure you aren’t qualified and licensed for

Sources: each manufacturer’s installation manual, warranty or warranty center page. Terms differ between product lines; read the warranty for the model you buy. Brand-by-brand terms are in water heater warranties.

What doing it yourself actually saves

Home Depot’s published range for an installed tank, gas or electric, is $1,600–$2,400, and it includes the heater, labor and materials, the permit and removal of the old unit. The heater is the biggest piece of that, so DIY saves less than people expect.

What a tank replacement costs, and the part DIY saves Range bars on a scale from 0 to 2,500 dollars. Installed by a pro, tank: 1,600 to 2,400 dollars, Home Depot’s published range including heater, labor, materials, permit and haul-away. Heater alone: 600 to 1,000 dollars, This Old House estimate. Labor for a tank swap: 300 to 800 dollars, This Old House. Venting work on gas models: 300 to 500 dollars, This Old House. Permit for one heater: 40 to 164 dollars across 12 official fee schedules. Doing it yourself saves mainly the labor, and you still buy the heater, the permit and the parts. DIY saves the labor, not the heater $0 $500 $1,000 $1,500 $2,000 $2,500 Installed by a pro, tank Home Depot’s published range $1,600–$2,400 Heater alone, tank This Old House estimate $600–$1,000 Labor for a tank swap This Old House estimate $300–$800 Venting work, gas models This Old House estimate $300–$500 Permit, one heater 12 official fee schedules $40–$164 Ranges come from different sources and aren’t additive.
The labor is what you save. This Old House’s breakdown of a tank installation: a $600–$1,000 unit, $300–$800 of labor, $300–$500 for venting on gas models and $100–$200 for water connections. Permit fees from the official schedules in our permits guide.

This Old House’s own verdict is that DIY “might save a couple hundred dollars.” Here is a hypothetical electric swap: a heater in This Old House’s $600–$1,000 range, a permit between $40 (Colorado Springs region) and $164 (Seattle and King County), plus fittings, a new relief valve line if yours doesn’t meet code, and a way to dispose of the old tank. Against $1,600–$2,400 installed, the difference is close to This Old House’s $300–$800 labor estimate, and it shrinks if the inspector asks for an expansion tank or pan you didn’t plan for.

What a professional installation includes

When you compare a quote with a DIY plan, compare everything the job includes. A complete professional replacement should include:

In a complete pro install

  • The permit pulled in the contractor’s name and the inspection booked; Rheem notes unusually low quotes “may exclude permits”
  • Removal and haul-away of the old heater (included in Home Depot’s published price)
  • Code updates the inspector will look for: relief valve discharge pipe, expansion tank on a closed system, pan, seismic straps where required
  • For gas: a leak check and a check that the vent drafts properly, two steps Rheem says are skipped in common installation mistakes
  • Startup: tank filled and air purged before power or gas, then the temperature set
  • Warranty registration and a written labor warranty from the installer
  • A licensed, insured installer; This Old House notes licensed plumbers carry insurance against installation damage

Rheem says most standard replacements take a few hours. Use how to compare quotes to check that each quote covers the same items, and installation cost factors for what pushes a job above the typical range.

What the job involves: an overview, not instructions

  1. Permit and planning

    Pull the permit, confirm the new heater fits the space and clearances, and buy the code items your city requires. The code requirements guide lists them.

  2. Shut off and drain

    Turn off the power at the breaker, or the gas at the heater’s shutoff, and close the cold-water supply. Draining takes time, and the water can scald; see how to flush a tank for the burn warnings.

  3. Disconnect and remove

    Water, then gas and vent or wiring are disconnected. This is where gas and electrical work begins; on a gas heater it is a job for a licensed plumber or gas fitter.

  4. Set the new heater

    On a pan or stand where required, strapped where required, with the clearances the manual lists.

  5. Connect water and the relief valve line

    With a shutoff valve on the cold supply, an expansion tank on a closed system, and a full-size relief valve discharge pipe that runs down to an approved end point.

  6. Connect fuel and venting

    Gas connector and vent for a gas heater, or the 240-volt circuit for an electric one, done to code by someone qualified for it.

  7. Fill before firing

    Fill the tank with a hot tap open until water runs steadily and all air is out. Only then turn on the power or light the burner, by the label instructions; powering an empty electric tank burns out its element.

  8. Check, set and inspect

    Check every joint for leaks, set the thermostat (see water heater temperature) and have the work inspected.

When to hire a pro

  • Any gas or propane heater, unless you are licensed or qualified for gas work where you live.
  • Tankless, heat pump or a fuel switch, which add gas line sizing, new venting, condensate drains or a new circuit; see switching from gas to electric.
  • A move to a new location, which brings back plan review and location rules; see where a water heater can go.
  • Your city won’t issue you the permit, or your warranty requires a licensed installer.
  • You need hot water tonight. An emergency swap is where shortcuts happen; see water heater emergency.

Common questions

Do I need a permit to replace my own water heater?

Almost always. The IRC requires a permit to replace a plumbing or gas system, and local exemptions usually apply only to licensed contractors; Phoenix’s, for example. Ask your city or county for a homeowner permit.

Can a homeowner replace a gas water heater?

In some places, with a homeowner permit; King County, Washington issues separate homeowner gas permits. In others, no: Boston issues gas permits only to licensed contractors. Even where it’s allowed, the gas connection and venting carry the most serious risks, including carbon monoxide.

Will installing it myself void the warranty?

It can. Navien voids its warranty for a non-licensed installer, and Takagi says installation must be by a qualified installer such as a licensed plumber or gas fitter. Others, like A.O. Smith, void coverage if the installation doesn’t meet code or the instructions, whoever did it.

How much do you save by installing a water heater yourself?

Mostly the labor. This Old House puts tank installation labor at $300–$800 and says DIY “might save a couple hundred dollars.” You still pay for the heater, the permit, fittings and disposal.

How long does it take to replace a water heater?

Rheem says most standard replacements take a professional a few hours. A first-timer should plan for longer, including draining the old tank, and for the inspection afterward.

Is it easier to replace an electric water heater than a gas one?

Yes. There is no gas line or vent, and retail electric manuals such as A.O. Smith’s include owner instructions. You still work with a 240-volt circuit and must fill the tank completely before turning the power on.

Can a handyman install a water heater?

Check your state’s plumbing license law before you hire one. Homeowner permits like Austin’s and King County’s cover only the owner’s own work, and Texas’s licensing exemption covers a property owner in their own homestead, not someone they hire. A licensed plumber pulls the permit in their own name.

Sources

Sources checked October 5, 2026. Prices, codes and rebates change. Check current details with your installer and local permit office.

  1. 2024 IRC Chapter 1, Scope and Administration (R105.1, R105.2), Maryland adoption ↗ · International Code Council, via UpCodes
  2. 2024 IRC Chapter 24, Fuel Gas (G2419.4 sediment trap, G2420.5.1 shutoff valve), Maryland adoption ↗ · International Code Council, via UpCodes
  3. Texas Plumbing License Law, Occupations Code ch. 1301 (Sept 2025 plain-view text) ↗ · Texas State Board of Plumbing Examiners
  4. Homeowner’s (Homestead) permit ↗ · City of Austin Development Services
  5. Applying for permits as a homeowner ↗ · City and County of Denver
  6. Plumbing and gas permit types (effective December 2025) ↗ · Public Health – Seattle & King County
  7. Plumbing and gas piping fees, effective January 1, 2026 ↗ · Public Health – Seattle & King County
  8. Current building permit fee schedule ↗ · Pikes Peak Regional Building Department
  9. Gas permit ↗ · City of Boston
  10. 2024 Phoenix Building Construction Code, chapter 1 amendments (105.2 exemptions) ↗ · City of Phoenix
  11. The top installation mistakes plumbers see with water heaters ↗ · Rheem
  12. What to ask your installer before a water heater replacement ↗ · Rheem
  13. How much does water heater installation cost? (updated June 17, 2026) ↗ · This Old House
  14. Cost to replace a water heater (installed ranges and scope) ↗ · Home Depot
  15. Signature 100 gas water heater installation instructions and use & care guide 100341468 ↗ · A.O. Smith
  16. Residential electric water heater installation instructions and use & care guide 100404292 (2026) ↗ · A.O. Smith, hosted by Lowe’s
  17. Residential water heater limited warranty 100286376 (retailer copy, 2018) ↗ · A.O. Smith
  18. NPE-2 user’s information manual, including limited warranty ↗ · Navien
  19. On-demand water heater installation manual and owner’s guide 2000599585 (240HX3/340HX3/540HX3) ↗ · Takagi
  20. Tankless water heater installation and operation manual 100000773 (RSC/Sensei) ↗ · Rinnai
  21. Warranty center FAQ ↗ · Bradford White