Water heater replacement cost by size and fuel
The table below is the water heater calculator’s 2026 installed range for a like-for-like tank swap, including removal and disposal of the old unit, an expansion tank, a drain pan, and a permit. HomeGuide prices tanks by size rather than fuel, so on a straight replacement a gas and an electric tank of the same size price the same; capacity and code upgrades move it more.
What drives the price
On a straight tank swap the appliance is only part of the bill. The line items that move the total:
- Capacity — a 50-gallon tank is the standard for a 3–4 person home; larger 75–80-gallon tanks cost more and take longer to install.
- Removal and disposal of the old unit — draining, disconnecting, and hauling.
- Code upgrades — depending on local code and the existing installation, an older install may need an expansion tank, a drain pan, seismic strapping, or updated venting or gas connectors; confirm locally.
- Switching fuel or location — a first-time or relocated install can need a larger gas line (HomeGuide prints $350–$2,000 to upgrade to a larger diameter), a dedicated circuit ($250–$900), or new venting ($500–$1,500) on top of a 50-gallon replacement.
- Permit and inspection — requirements depend on local rules; HomeGuide notes some cities do not require a permit for a replacement.
Tank vs tankless vs heat pump
A standard tank is the cheapest to install and the default replacement. Two upgrades change the long-run math:
- Tankless (on-demand) — higher upfront, endless hot water, and lower standby losses; may need gas-line and venting upgrades.
- Heat-pump (hybrid) electric — the most efficient option, cutting water-heating energy sharply, at a higher install cost and with space and temperature requirements.
For a full side-by-side on install price, lifespan, and running cost across all three, see tankless vs tank vs heat-pump water heater cost. Federal tax credits that once offset high-efficiency and heat-pump units (25C) applied through 2025-12-31; installs in 2026 generally do not qualify.
Frequently asked questions
How much does it cost to replace a water heater?
A like-for-like tank replacement runs about $900–$4,200 installed in 2026 for a 40-gallon gas or electric unit and $1,000–$4,300 for a 50-gallon, including old-unit removal, an expansion tank, a drain pan, and a permit. A 75-gallon gas tank runs $1,400–$4,800 and an 80-gallon electric tank $1,500–$5,200. Adding a gas line, circuit, or new venting raises the total.
How much does a 50-gallon water heater cost installed?
A 50-gallon tank — the standard for a 3–4 person home — runs about $1,000–$4,300 installed in 2026, gas or electric, including removal, expansion tank, drain pan, and permit. This calculator prices gas and electric the same on a straight replacement, because HomeGuide prices tanks by size rather than fuel.
Is gas or electric water heater cheaper?
On a like-for-like replacement this calculator prices them the same, because HomeGuide prices tanks by size rather than fuel — a 50-gallon gas or electric tank runs about $1,000–$4,300. Gas units usually cost a bit more to buy but less to run where gas is cheap; electric is simpler to install if there is no gas line. The bigger cost difference is fuel over the unit’s life, not the install.
What code upgrades add to the cost?
Depending on local code and the existing installation, bringing an older install to code may mean adding an expansion tank, a drain pan, seismic strapping, or updated venting or gas connectors; confirm which apply locally. On a 50-gallon replacement, upgrading to a larger gas line adds about $350–$2,000, a dedicated circuit $250–$900, and new venting $500–$1,500. Whether a permit is required is set locally.
Is it worth upgrading to tankless or heat pump?
A standard tank is cheapest to install. Tankless costs more upfront but delivers endless hot water and lower standby losses; a heat-pump (hybrid) electric unit is the most efficient and cuts water-heating energy sharply, at a higher install cost. Whether the upgrade pays off depends on your hot-water use, fuel prices, and how long you stay — see the tankless-vs-tank comparison for the full math.
Which water heater should you pick?
- Cheapest, simplest replacement? A same-fuel, same-size tank — usually a 50-gallon for a family.
- Want lower bills and endless hot water? Tankless — higher upfront, may need gas/venting upgrades.
- Most efficient, have the space? Heat-pump (hybrid) electric — biggest energy savings at a higher install cost.
- Large household? Step up to a 75–80 gallon tank or a high-capacity tankless.
Water heater cost calculator →