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.
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.
| Type | Installed | Lasts | Replace if a repair costs over |
|---|---|---|---|
| Gas tank, 40–50 gal | $1,200–3,000 | 8–12 yrs | $600 |
| Electric tank, 40–50 gal | $900–2,000 | 8–12 yrs | $450 |
| Heat pump, 50 gal | $2,800–5,000 | 8–12 yrs | $1,400 |
| Gas tankless, whole house | $2,500–5,600 | 15–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.
| Problem | The usual repair | A pro | At 5 years | At 10 years | At 13 years |
|---|---|---|---|---|---|
| No hot water, gas | a new thermocouple (the most common cause) | $125–300 | Repair | Repair, and plan the swap | Replace |
| No hot water, electric | a new heating element | $150–350 | Repair | Repair, and plan the swap | Replace |
| Not enough hot water, gas | a flush (sediment), or a new dip tube | $100–250 | Repair | Repair, and plan the swap | Replace |
| Not enough hot water, electric | a new lower element or thermostat | $150–350 | Repair | Repair, and plan the swap | Replace |
| Rumbling or popping | a flush to clear the sediment | $100–250 | Repair | Repair, and plan the swap | Replace |
| Rusty hot water | a new anode rod (if the cold water is clear) | $150–350 | Repair | Repair, and plan the swap | Replace |
| Rotten-egg smell | an aluminum-zinc anode rod, and a chlorine flush | $150–350 | Repair | Repair, and plan the swap | Replace |
| The relief valve drips | an expansion tank, or a new relief valve | $125–300 | Repair | Repair, and plan the swap | Replace |
| Tankless, not enough hot water | a descale (scale in the heat exchanger) | $150–350 | Repair | Repair | Repair |
| The tank leaks | a new heater | $1,200–3,000 | Replace | Replace | Replace |
Repair or replace a 10-year-old gas water heater with no hot water?
- The usual repair: a new thermocouple (the most common cause), $125–300 with a plumber.
- 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.
- At 10 years it's inside the usual 8–12, not past it, and the tank doesn't leak.
- 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
- A leak from the tank itself means a new heater: the lining has failed and can't be fixed (A. O. Smith).
- Past its usual life (8–12 years for a tank) and something's wrong: replace. A repair buys little time (Rheem).
- A repair over half the price of a new heater: replace (Rheem, Fixr).
- Otherwise repair, and if it's in its last years, price the swap now so it isn't an emergency.
Installed, by type
| Type | Installed | Lasts |
|---|---|---|
| Gas tank, 40–50 gal | $1,200–3,000 | 8–12 yrs |
| Electric tank, 40–50 gal | $900–2,000 | 8–12 yrs |
| Heat pump, 50 gal | $2,800–5,000 | about like electric |
| Gas tankless | $2,500–5,600 | up 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.