The three decisions that matter
1. Which type
Most replacements are the same type as the old heater, because the gas line, vent or circuit is already there. Changing type is where the cost moves most.
| Type | Installed | Lifespan | Best for |
|---|---|---|---|
| Gas tank, 50 gal | $1,200 to $2,550 | 8 to 15 years | Homes with gas and a working flue |
| Electric tank, 50 gal | $1,050 to $2,250 | 8 to 15 years | Homes without gas; the cheapest unit |
| Heat pump, 50 gal | $2,250 to $4,750 | 13 to 15 years | Replacing an electric tank in a roomy, warm space |
| Gas tankless | $2,450 to $5,100 | 15 to 20+ years | Long showers back to back; small spaces |
Installed costs are like for like except gas tankless, priced as a switch from a gas tank. Lifespans: DOE, ENERGY STAR, A. O. Smith and Rheem, which differ; see how long a water heater lasts.
Weighing two types? Read tank vs tankless and heat pump water heaters.
2. What size
Size a tank by its first-hour rating, the gallons of hot water it delivers in your busiest hour, and a tankless unit by the flow you run at once in the coldest month. Gallons on the label alone can mislead: 50 gallon gas tanks range widely in first-hour rating depending on the burner. The water heater size calculator works out both.
3. Swap or switch
A like-for-like swap is the cheapest job. Switching adds the work the new type needs: about $1,500 to $2,300 for a new gas line, $250 to $900 for a new 240 volt circuit, or $1,000 to $3,000 in labor and materials to go from gas to a heat pump, which puts that whole job at about $2,750 to $6,150. The water heater replacement cost calculator prices your exact switch.
Every step, in order
-
Materials
- Heat pump water heaters How they work, what they cost to buy and run, and where they fit.
- Tank vs tankless water heater Cost, lifespan, running cost and hot water supply side by side.
-
Cost
- Water heater replacement cost Installed cost by type and size, priced for your state.
- Tankless water heater cost What a tankless install costs, and why it runs more than a tank.
-
How much
- Water heater size calculator Tank gallons or tankless flow for your household.
-
Do it
- How to flush a water heater Drain the sediment out of a tank, step by step, and how often to do it.
-
Upkeep and fixes
- How long a water heater lasts Years by type, and the signs yours is near the end.
- Water heater leaking Top or bottom: find the source, from a fitting to the tank itself.
- No hot water Safe checks for gas and electric heaters, free checks first.
- Water heater popping noise What the popping means and how to stop it.
How long the job takes
A like-for-like tank swap takes 1 to 3 hours by HomeAdvisor's and This Old House's estimates, and up to 6 by HomeGuide's. A tankless install runs 4 to 8 hours, and a first switch from a tank can take a full day.
Repair or replace?
ENERGY STAR and Bradford White both suggest looking at replacement once a heater passes 10 years. HomeGuide's rule of thumb is to replace when a repair would cost more than half the price of a new heater. Rust in the hot water, a leak from the tank itself and rumbling from sediment are the usual signs a tank is near the end; a leaking tank can't be repaired.
Tax credits in 2026
The federal 25C credit for efficient water heaters ended for anything installed after December 31, 2025. State rebate programs, where they have launched, can still help with an electric tank to heat pump swap.
More on water heaters
Tank vs tankless water heater
Cost, lifespan, running cost and hot water supply side by side.
Heat pump water heaters
How they work, what they cost to buy and run, and where they fit.
How to flush a water heater
Drain the sediment out of a tank, step by step, and how often to do it.
How long a water heater lasts
Years by type, and the signs yours is near the end.
Water heater leaking
Top or bottom: find the source, from a fitting to the tank itself.
No hot water
Safe checks for gas and electric heaters, free checks first.
Water heater size calculator
Tank gallons or tankless flow for your household.
More on plumbing
Sources
- How much does water heater installation or replacement cost?, HomeGuide, 2026-01-02.
- Water Heater Installation Cost, This Old House, 2026-06-17.
- How Much Does a Water Heater Replacement Cost?, HomeAdvisor, 2026-06-17.
- Tankless Water Heater Installation Cost, This Old House, 2026-06-12.
- When Should You Replace Your Water Heater?, ENERGY STAR, 2024-02-02.
- What Goes into the Cost of Installing a Heat Pump Water Heater?, ENERGY STAR, 2024-02-02.
- Energy Saver Guide, U.S. Department of Energy, 2022-08.
- How Long Do Tankless Water Heaters Last?, A. O. Smith.
- Tank vs. Tankless Water Heater Lifespan Comparison, Rheem, 2026-03-05.
- Is your water heater too old?, Bradford White.
- FS-2025-05: FAQs for modification of sections 25C, 25D and others under Public Law 119-21, IRS, 2025-08-21.