How Long Does a Water Heater Last? Lifespan by Type

Jessica Martinez
By Jessica Martinez, home improvement cost analyst
Updated 2026-07-09

Most people find out their water heater's lifespan the hard way: it fails. The better version of that story starts two years earlier, with a homeowner who checked the serial number, did the math, and started budgeting before the tank made the decision unilaterally. A gas tank lasts 8 to 12 years on average. Electric does 10 to 15. Tankless reaches 15 to 25 with regular maintenance.

The maintenance checklist that actually moves the number

  1. Inspect and replace the anode rod every three to five years. This single step accounts for most early tank failures when skipped. The sacrificial rod corrodes in place of the tank lining.
  2. Flush the tank annually. A plumber does it in 30 to 45 minutes for $75 to $150, or you can do it yourself with a garden hose and an afternoon. Sediment at the bottom accelerates corrosion and cuts efficiency.
  3. Set the thermostat to 120 degrees. Above 140 accelerates corrosion and scaling without a meaningful benefit for most households.
  4. Insulate the first six feet of pipe at the unit. Reduces standby heat loss and the cycling that adds wear over years.
  5. Install a softener or whole-house filter above 7 grains per gallon hardness. The investment typically pays back in extended appliance life across the whole house, not just the water heater.

Lifespan by water heater type

Water heater typeAverage lifespanMaximum with good maintenance
Gas tank8 to 12 years14 to 15 years
Electric tank10 to 15 years16 to 18 years
Tankless gas15 to 20 years25 years
Tankless electric15 to 20 years20 to 25 years
Heat pump (hybrid)10 to 15 years15 to 20 years
Solar water heater15 to 20 years25 years

Find out if yours is worth replacing now

A plumber can check your unit's age and condition before it decides for you.
Schedule a check →
Free to request. A referral fee from the contractor, not you, keeps this page running.

Five things that shorten the number above

Should you replace before it fails

Yes, generally. A planned replacement costs $300 to $600 less than an emergency weekend call, and it skips the water damage that comes with a sudden failure. Start budgeting one to two years before the expected end of lifespan; a gas tank at 10 years or an electric tank at 12 is not necessarily near death, but it is close enough to start collecting quotes. See the seven warning signs for the specific indicators worth watching.

Frequently asked

Why do electric tanks outlast gas tanks? Gas burners cycle more aggressively, creating thermal stress on the tank lining, and combustion produces byproducts that slowly accelerate internal corrosion. Electric elements heat more gently and produce no combustion gases. It is a real gap, typically two to three years, not a dramatic one.

Does a tankless unit really last 20 years? With annual descaling and filter cleaning, quality tankless units routinely reach 15 to 20 years, and some well-maintained units exceed 25. Mineral scale in the heat exchanger is the primary cause of early failure and is entirely preventable with a $100 to $200 annual service.

Related reading

What to do next

Plan on replacement at 10 to 12 years for gas and 12 to 15 for electric. Tankless units should reach 15 to 20 years with consistent annual maintenance. Use the calculator to budget ahead, and get quotes from a licensed plumber before your old unit forces the timeline.