Water Heater Replacement Cost in 2026
Tank and tankless replacement, installed — including the extras nobody warns you about.
Replacing a standard 40–50 gallon tank water heater costs most homeowners $900–$2,200 installed. Tankless replacement runs $1,800–$4,500. The unit itself is often less than half the bill — labor, code upgrades and disposal make up the rest.
"Water heater replacement" is one of the most-searched plumbing jobs in America — hundreds of thousands of searches a month — because it fails without warning and showers do not wait. The good news: this is one of the most standardized jobs in plumbing, so prices should be tight and comparable.
Water heater replacement cost by type
| Type | Unit cost | Total installed | Lifespan |
|---|---|---|---|
| Gas tank, 40–50 gal | $550 – $1,100 | $1,100 – $2,200 | 8–12 yrs |
| Electric tank, 40–50 gal | $450 – $950 | $900 – $1,900 | 8–12 yrs |
| High-efficiency / power-vent tank | $900 – $1,800 | $1,700 – $3,200 | 10–12 yrs |
| Tankless gas | $900 – $2,200 | $2,200 – $4,500 | 18–20 yrs |
| Tankless electric | $600 – $1,500 | $1,800 – $3,800 | 18–20 yrs |
The extras that surprise people
- Code upgrades: expansion tank ($250–$450 installed), new shutoff valves, drip pan and drain — older installs often predate current code, and the upgrade is not optional.
- Venting changes: switching tank sizes or efficiency classes can require new venting ($300–$900).
- Gas line upsizing for tankless: tankless units demand far more gas flow; upsizing a line adds $400–$1,200 and is the main reason tankless quotes surprise people.
- Location: attic and tight-closet installs cost more in labor than open garage or basement installs.
How we estimate these numbers
Every range on this page blends published national contractor pricing data, the annual Cost vs. Value remodeling benchmarks, and regional labor indexes — then gets reviewed against live market pricing before publication. Figures are national planning estimates: your metro area, material choices and home's condition will move the final quote.
Frequently asked questions
How long do water heaters last?
Conventional tank water heaters last 8–12 years; tankless units last 18–20 years with annual descaling. If your tank is past 10 years and showing rust at the base or rumbling loudly, replacement on your schedule beats replacement on its schedule.
Is tankless worth the extra cost?
Tankless costs roughly twice as much installed but uses 20–30% less energy and lasts nearly twice as long. For households with high hot-water use it usually pays back; for a low-use household or a short remaining stay in the home, a quality tank is often the smarter buy.
Can I install a water heater myself?
It is legal for homeowners in many areas but rarely wise: the job involves gas or high-amperage electrical, venting, pressure relief and permits, and a bad install can flood a house or worse. DIY also voids most manufacturer warranties. Most homeowners hire this one out.