Water heater replacement cost, and what each type costs to run

A standard tank water heater costs $600 to $3,100 installed and a tankless unit $1,400 to $5,600, according to HomeGuide's cost guide. Tanks typically last 8 to 12 years and tankless units 15 to 20. The bigger long-run cost is energy: the calculator on this page works out the yearly running cost of an electric tank, a heat pump water heater, a gas tank and a gas tankless unit from your hot water use and your state's EIA energy prices.

$600 to $3,100tank water heater, installed (HomeGuide)
$1,400 to $5,600tankless water heater, installed (HomeGuide)
8 to 12 yearstypical tank lifespan; tankless 15 to 20 (HomeGuide)
2 to 3 timesheat pump efficiency vs electric resistance (DOE)

Installed price by type

TypeInstalled priceTypical lifespanWhat to know
Tank (gas or electric)$600 to $3,1008 to 12 yearsCheapest to buy and simplest to swap like for like.
Tankless (on demand)$1,400 to $5,60015 to 20 yearsHigher price, longer life; a gas unit can need a new vent or a larger gas line.
Heat pump (hybrid electric)Not in our source; ask for a quoteNot in our sourceNeeds a space that stays 40 to 90 °F with at least 1,000 cubic feet of air (DOE). It cools the room it sits in.
Price and lifespan ranges: HomeGuide cost guide (no publication date shown; checked November 27, 2026). Heat pump siting rules: U.S. Department of Energy.

The range is wide because the job is not always a straight swap. Moving the unit, switching fuel, adding a vent, a drain pan, an expansion tank or a new circuit, and local permit fees all add to the bill. Ask each installer to list those items separately so you can compare quotes line by line.

What each type costs to run

Over a 10 to 20 year life, energy can cost more than the heater itself. This calculator works out the yearly energy cost of the four common types from the same amount of hot water, using your state's average prices or the rates on your bill.

Electric tank$0
Heat pump water heater$0
Gas tank$0
Gas tankless$0


Where the calculator's numbers come from

Ready to price your project?

Answer a few questions about your home and the system you need. Licensed local HVAC contractors can give you real quotes.

Get local quotes Free and no obligation. Takes about a minute.

Repair or replace?

Replacement makes sense when a tank leaks from the body (not a fitting), when it is past its typical life and needs a costly repair, or when you want to switch to a type that is cheaper to run. A failed heating element, thermostat or gas valve on a younger tank is usually worth repairing. If you are replacing anyway, run the calculator first: the cheapest heater to buy is not always the cheapest to own.

Heat pump water heaters: the trade-off

DOE says heat pump water heaters can be two to three times more efficient than conventional electric models, and typically cost more up front but less to run. They pull heat from the surrounding air, so they need a space that stays between 40 and 90 °F year round with at least 1,000 cubic feet of air around them, and they cool the room they are in. A warm garage or a large basement often works; a small closet usually doesn't. Because of the 25C tax credit's end date, a unit installed in 2026 does not qualify for the federal credit. See what changed for 2026.

Questions to ask an installer

Frequently asked questions

How long does a water heater last?

HomeGuide puts a standard tank at 8 to 12 years and a tankless unit at 15 to 20 years. Hard water, the tank's anode rod and how hot you set it all affect the real number, so plan for replacement once a tank passes about 10 years.

Is a heat pump water heater worth it?

It usually costs more to buy but less to run. The U.S. Department of Energy says heat pump water heaters can be two to three times more energy efficient than conventional electric resistance models. The calculator shows what that means in dollars at your electricity price. It needs a space that stays between 40 and 90 °F with at least 1,000 cubic feet of air around it.

Is there a federal tax credit for a new water heater in 2026?

No. The IRS says the 25C Energy Efficient Home Improvement Credit is not allowed for property placed in service after December 31, 2025. Check your utility and state energy office for rebates instead.

What does UEF mean on a water heater?

Uniform energy factor. DOE uses it to rate water heater efficiency, and it is printed on the yellow EnergyGuide label. A higher UEF means less energy for the same hot water, but DOE notes that a higher UEF does not always mean a lower bill when you compare different fuels, because electricity and gas are priced differently.

How much does it cost to run a water heater per year?

It depends on how much hot water you use, how much the water has to be heated and what you pay for energy. Enter your numbers in the calculator above; it shows the math for each type.

Sources

  1. HomeGuide, Water heater installation and replacement cost (no publication date shown), checked 2026-11-27
  2. U.S. Department of Energy, Heat pump water heaters, checked 2026-11-28
  3. U.S. Department of Energy, Estimating costs and efficiency of storage, demand and heat pump water heaters, checked 2026-11-28
  4. U.S. Department of Energy, Sizing a new water heater (50 °F inlet, 120 °F output example), checked 2026-11-28
  5. ENERGY STAR, Residential water heaters key product criteria (minimum UEF), checked 2026-11-28
  6. 10 CFR Part 430, Subpart B, Appendix E, uniform test method for water heaters, sections 2.3 and 2.4 (GPO, 2025 edition), checked 2026-11-28
  7. EIA, British thermal units (Btu): definition; 1 kWh = 3,412 Btu; 1 therm = 100,000 Btu, checked 2026-11-28
  8. USGS Water Science School, Water density (62.300 lb per cubic foot at 70 °F), checked 2026-11-28
  9. EIA, Electric Power Annual, Table 2.10: Average price of electricity by state, 2025, checked 2026-11-27
  10. EIA, Natural gas residential prices by state, annual, checked 2026-11-27
  11. IRS, FAQs on Public Law 119-21 changes to sections 25C and 25D, checked 2026-11-27