Fix

Water heater replacement cost

Repair or replace your water heater, and what the swap costs.

A new water heater costs about $1,200–3,000 installed for a 40–50 gal gas tank, $900–2,000 for an electric tank, $2,800–5,000 for a 50 gal heat pump and $2,500–5,600 for a whole-house gas tankless (Angi, HomeGuide, Fixr). Replace it when the tank itself leaks, when it's past its usual 8–12 years and has a problem, or when the repair costs more than half a new heater installed. Otherwise repair it: a plumber charges about $125–350 for a new thermocouple, heating element or anode rod.

Updated · Installed and repair ranges from Angi, HomeGuide and Fixr (2025–26); the rules from Rheem and A. O. Smith · Not yet reviewed by a licensed plumber

At the store today

How much does it cost to replace a water heater?

Installed by a plumber, the heater included. A new gas line, new venting or a switch from gas to a heat pump costs more. The last column is the line the tool uses: a repair that can cost more than half the low end of a new one means replace.

Water heater replacement cost by type (2026)
TypeInstalledLastsReplace if a repair costs over
Gas tank, 40–50 gal$1,200–3,0008–12 yrs$600
Electric tank, 40–50 gal$900–2,0008–12 yrs$450
Heat pump, 50 gal$2,800–5,0008–12 yrs$1,400
Gas tankless, whole house$2,500–5,60015–20 yrs$1,250

Angi, HomeGuide, Fixr and Modernize (2025–26); prices vary by area.

Should I repair or replace my water heater?

The usual repair for each problem, what a plumber charges for it, and the tool's answer for a heater 5, 10 and 13 years old.

Water heater repair or replace, by problem and age
ProblemThe usual repairA proAt 5 yearsAt 10 yearsAt 13 years
No hot water, gasa new thermocouple (the most common cause)$125–300RepairRepair, and plan the swapReplace
No hot water, electrica new heating element$150–350RepairRepair, and plan the swapReplace
Not enough hot water, gasa flush (sediment), or a new dip tube$100–250RepairRepair, and plan the swapReplace
Not enough hot water, electrica new lower element or thermostat$150–350RepairRepair, and plan the swapReplace
Rumbling or poppinga flush to clear the sediment$100–250RepairRepair, and plan the swapReplace
Rusty hot watera new anode rod (if the cold water is clear)$150–350RepairRepair, and plan the swapReplace
Rotten-egg smellan aluminum-zinc anode rod, and a chlorine flush$150–350RepairRepair, and plan the swapReplace
The relief valve dripsan expansion tank, or a new relief valve$125–300RepairRepair, and plan the swapReplace
Tankless, not enough hot watera descale (scale in the heat exchanger)$150–350RepairRepairRepair
The tank leaksa new heater$1,200–3,000ReplaceReplaceReplace

Repair or replace a 10-year-old gas water heater with no hot water?

  1. The usual repair: a new thermocouple (the most common cause), $125–300 with a plumber.
  2. A new 40–50 gal gas tank installed: $1,200–3,000. Half the low end: $1,200 ÷ 2 = $600. The repair, $300 at most, is under it.
  3. At 10 years it's inside the usual 8–12, not past it, and the tank doesn't leak.
  4. So: repair, and plan the swap. Worth fixing, but it's in its last years: price the replacement now so it isn't a rush job.

How we decide

  1. A leak from the tank itself means a new heater: the lining has failed and can't be fixed (A. O. Smith).
  2. Past its usual life (8–12 years for a tank) and something's wrong: replace. A repair buys little time (Rheem).
  3. A repair over half the price of a new heater: replace (Rheem, Fixr).
  4. Otherwise repair, and if it's in its last years, price the swap now so it isn't an emergency.

Installed, by type

TypeInstalledLasts
Gas tank, 40–50 gal$1,200–3,0008–12 yrs
Electric tank, 40–50 gal$900–2,0008–12 yrs
Heat pump, 50 gal$2,800–5,000about like electric
Gas tankless$2,500–5,600up to 20 yrs

The numbers we use

Pro prices
Angi, HomeGuide, Fixr, HomeAdvisor, Modernize (2025–26)
Store prices
one Home Depot in Atlanta, checked weekly
Size
the first-hour rating ≥ your busiest hour (DOE Energy Saver): a shower 20 gal, a dishwasher 7, a washer 25
Tankless
GPM at your rise: winter water 40 °F north, 50 °F south, 60 °F Southwest and Gulf (Ruud)
Code
a permit for a new heater (IRC R105.2); an expansion tank on a closed system (P2903.4.2); a pan where a leak would do damage (P2801)
2029
new electric tanks over 35 gal must be heat pumps (DOE rule)

Sources: Rheem, Fixr, HomeGuide, Angi, DOE Energy Saver sizing worksheet (archived), Ruud sizing, IRS (25C), DOE notice 26-2, DOE water heater rule.

Questions people ask

How much does it cost to replace a water heater?

Installed, about $1,200–3,000 for a 40–50 gal gas tank, $900–2,000 for an electric tank, $2,800–5,000 for a 50 gal heat pump and $2,500–5,600 for a whole-house gas tankless (Angi, HomeGuide, Fixr, 2026). The heater itself is a third to a half of that; a new gas line or venting adds more.

Should I repair or replace my water heater?

Replace it if the tank itself leaks, if it's past its usual 8–12 years and has a problem, or if the repair costs more than half a new one. Otherwise repair: a thermocouple, an element or an anode rod is a small job (Rheem, Fixr).

What size water heater do I need?

Size a tank by its first-hour rating, not its gallons: add up the hot water your busiest hour uses (about 20 gal a shower, 7 a dishwasher, 25 a load of laundry) and pick a heater rated at least that much (DOE Energy Saver). For 2–4 people that's usually a 40–50 gal tank (Rheem).

Is there a tax credit for a heat pump water heater in 2026?

No: the federal 25C credit ended for heaters installed after 2025 (IRS). The HEEHR rebate (up to $1,750) still pays toward a heat pump that replaces an electric heater where your state runs it; since 2026 it no longer covers switching from gas (DOE).

Can I replace a water heater myself?

It usually needs a permit, and a gas heater means gas, venting and the relief valve's drain pipe: a plumber's job. Many repairs are fine to do yourself: an anode rod, an electric element with the power off, a flush.

More apps