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.
Is it legal to replace your own water heater?
Usually yes in your own home, as long as you get the permit. The International Residential Code (IRC), which most US cities adopt for houses, requires anyone who intends to “install … or replace any electrical, gas, mechanical or plumbing system” to get a permit first (R105.1). Its exempt list covers replacing a “minor part,” not a whole heater. The code says “owner or owner’s authorized agent,” so it doesn’t bar owners by itself; local licensing rules decide who may do the work.
| Jurisdiction | Can the owner do the work? | Conditions |
|---|---|---|
| Texas (state law) | Yes, in the owner’s homestead | Occupations Code 1301.051: no plumbing license needed for plumbing in your own homestead. City permits still apply. |
| Austin, TX | Yes, with a Homestead Permit | Homestead exemption on file; your principal residence; you do the work yourself; propane (LP) systems excluded; no homestead permit for another home in the prior 12 months. |
| Denver, CO | Yes, single-family only | Legal owner and resident; pass the city’s plumbing exam (a state license can substitute); no trusts or LLCs; live there at least a year after. |
| Seattle and King County, WA | Yes, with a homeowner permit | Separate “Plumbing – by Homeowner” and “Natural Gas – by Homeowner” permits; work by the homeowner only. $137 plus $27 per fixture. |
| Boston, MA | Not for gas work | Gas permits, including for gas heater replacement, go to licensed contractors only. “Homeowners can’t apply.” |
| Phoenix, AZ | Ask the city | A same-type replacement is permit-exempt only “when the work is performed by a licensed contractor.” A homeowner doing it doesn’t get the exemption. |
Sources: each jurisdiction’s official page or code, read October 5, 2026. Rules change; check your own city or county, and outside city limits, the county. More examples are in permits and inspections.
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.
| Risk | What goes wrong | Who it applies to |
|---|---|---|
| Venting | Wrong pipe size, poor pitch, loose sections or mixed materials let exhaust spill indoors (Rheem) | Gas and propane tanks |
| Gas connection | Leaks at fittings; a missing shutoff valve within 6 feet or sediment trap, both IRC requirements (G2420.5.1, G2419.4) | Gas and propane |
| Electrical shock | A.O. Smith warns that working on an energized circuit “can result in severe injury or death” | Electric and heat pump |
| Dry firing | Power on before the tank is full burns out the upper element almost instantly (Rheem, A.O. Smith) | Electric tanks |
| Relief valve pipe | An improperly installed discharge line is on Rheem’s list of common mistakes | All tanks |
| Thermal expansion | A closed system without an expansion tank builds pressure; A.O. Smith’s warranty excludes it | Homes with a check valve or pressure-reducing valve |
| Weight and water | A 50-gallon tank holds about 417 pounds of water (50 × 8.34 lb); draining, lifting and leaks at new joints | All 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.
| Brand | What 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 White | Says 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.
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
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.
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.
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.
Set the new heater
On a pan or stand where required, strapped where required, with the clearances the manual lists.
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.
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.
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.
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.
- 2024 IRC Chapter 1, Scope and Administration (R105.1, R105.2), Maryland adoption ↗ · International Code Council, via UpCodes
- 2024 IRC Chapter 24, Fuel Gas (G2419.4 sediment trap, G2420.5.1 shutoff valve), Maryland adoption ↗ · International Code Council, via UpCodes
- Texas Plumbing License Law, Occupations Code ch. 1301 (Sept 2025 plain-view text) ↗ · Texas State Board of Plumbing Examiners
- Homeowner’s (Homestead) permit ↗ · City of Austin Development Services
- Applying for permits as a homeowner ↗ · City and County of Denver
- Plumbing and gas permit types (effective December 2025) ↗ · Public Health – Seattle & King County
- Plumbing and gas piping fees, effective January 1, 2026 ↗ · Public Health – Seattle & King County
- Current building permit fee schedule ↗ · Pikes Peak Regional Building Department
- Gas permit ↗ · City of Boston
- 2024 Phoenix Building Construction Code, chapter 1 amendments (105.2 exemptions) ↗ · City of Phoenix
- The top installation mistakes plumbers see with water heaters ↗ · Rheem
- What to ask your installer before a water heater replacement ↗ · Rheem
- How much does water heater installation cost? (updated June 17, 2026) ↗ · This Old House
- Cost to replace a water heater (installed ranges and scope) ↗ · Home Depot
- Signature 100 gas water heater installation instructions and use & care guide 100341468 ↗ · A.O. Smith
- Residential electric water heater installation instructions and use & care guide 100404292 (2026) ↗ · A.O. Smith, hosted by Lowe’s
- Residential water heater limited warranty 100286376 (retailer copy, 2018) ↗ · A.O. Smith
- NPE-2 user’s information manual, including limited warranty ↗ · Navien
- On-demand water heater installation manual and owner’s guide 2000599585 (240HX3/340HX3/540HX3) ↗ · Takagi
- Tankless water heater installation and operation manual 100000773 (RSC/Sensei) ↗ · Rinnai
- Warranty center FAQ ↗ · Bradford White