7 min read By Upkeepify Team

How Much Does It Cost to Replace a Water Heater? (2026 Guide)

$1,200–$2,500 for a standard tank, $2,500–$4,500+ for tankless — installed. Here's the full breakdown, what drives the price, and how to save.

Plumber installing a new tank water heater in a basement

Short answer: replacing a water heater typically costs $1,200–$2,500 for a standard tank and $2,500–$4,500+ for a tankless unit — installed. The price swings based on the type, your fuel source, and what code upgrades your installer has to make along the way.

If your water heater is leaking, running cold, or simply old, here's exactly what to expect — and where the money goes.

Water Heater Replacement Cost at a Glance

TypeTypical installed cost
Standard tank (40–50 gal), electric$1,200–$2,200
Standard tank (40–50 gal), gas$1,400–$2,500
Tankless, electric$2,000–$3,500
Tankless, gas$2,800–$4,500+
High-efficiency heat-pump (hybrid)$2,500–$4,000

These are national-average ranges; your local labor rates and code requirements can push the number higher.

Where the Money Goes

A replacement quote is really two numbers — the unit and the labor — plus a few extras that catch people off guard:

  • The unit itself: $400–$1,000 for a standard tank; $1,000–$2,500+ for tankless.
  • Labor: $300–$800 for a straightforward tank swap; more for tankless (new gas line, venting, or electrical).
  • Permits & inspection: $50–$500 depending on your municipality.
  • Code upgrades: an expansion tank, new venting, a drain pan, or updated electrical/gas lines — often required when you replace an old unit.
  • Old-unit removal & disposal: sometimes included, sometimes a $50–$150 add-on.

What Drives the Price Up or Down

  1. Tank vs. tankless. Tankless costs more upfront but lasts longer (20+ years vs 8–12) and saves on energy.
  2. Fuel type. Gas units run a bit more and may need venting work; electric is usually simpler to install.
  3. Size. A 40-gallon tank is cheaper than an 80-gallon; tankless is sized by flow rate.
  4. Location. A tight closet, attic, or a unit far from existing connections adds labor.
  5. Code & permits. Older homes often need upgrades to meet current code — the most common "surprise" line item.

DIY vs. Hiring a Pro

A tank swap is technically DIY-able and would save you the labor — but it involves gas, water, and electrical, plus permits and code. For most homeowners, a licensed plumber is the right call, especially for gas or tankless. A botched install can void your warranty and your homeowner's insurance.

How to Save Money

  • Don't wait for a failure. An emergency replacement (nights/weekends, water everywhere) costs far more than a planned one. Know your unit's age.
  • Get 2–3 quotes. Prices vary widely between installers.
  • Right-size it. Bigger isn't always better — an oversized unit wastes energy for decades.
  • Ask about rebates. High-efficiency and heat-pump models often qualify for utility or tax rebates that close the price gap.

Should You Repair or Replace?

If your unit is under 8 years old and the problem is a part (thermostat, heating element, anode rod), a repair is usually worth it. If it's 10+ years old, leaking, or you're flushing rusty water, replacement is the smarter spend. We break this down in detail in Repair vs. Replace: When to Replace Home Systems.

And before you replace anything — most water heaters die early simply because they were never maintained. See How Often Should You Flush Your Water Heater? to get the full life out of your next one.

Plan for It Instead of Getting Surprised

The most expensive water heater is the one that fails without warning. Upkeepify tracks your water heater's age and condition, reminds you to maintain it, and helps you budget for the replacement before you're standing in a flooded basement.

Start for free — no credit card required.


Related Articles

Budget for the Big Repairs Before They Happen

Upkeepify tracks your home's systems and their age, so a water heater (or roof, or HVAC) never surprises you. Try it free — no credit card required.

Start for free