Tankless vs Tank Water Heater: Cost, Running Cost and Payback
A tank water heater stores hot water; a tankless unit heats it on the way to the tap. This Old House (June 17, 2026) puts tank installs around $1,200 to $2,300 and tankless around $2,100 to $4,000. Its tankless guide (updated June 12, 2026) averages tankless at about $2,800. HomeGuide (January 2, 2026) prices standard tanks at $600 to $3,100 and tankless at $1,400 to $5,600. Here is how upfront cost, running cost and payback compare when the same home is priced both ways.
Key numbers
- Gas tank, like-for-like 50 gal (3 people, US average): about $1,930 installed, about $290 a year to run in our calculator.
- Gas tankless from a gas tank: about $4,330 installed, about $200 a year to run; upfront premium about $2,400.
- Electric tank like-for-like: about $1,480 installed, about $640 a year; electric tankless about $2,880 installed, about $650 a year.
- Published lifespans: tank about 8 to 12 years; tankless about 15 to 20 years (HomeGuide and Fixr).
Upfront cost: tank vs tankless
| Project | Typical installed | Full range | What the model includes |
|---|---|---|---|
| Gas tank, same-for-same | $1,930 | $1,130 to $3,300 | 50 gal unit, removal, permit |
| Gas tankless replacing a gas tank | $4,330 | $2,530 to $6,700 | Whole-house unit, larger gas line, new venting, removal, permit |
| Electric tank, same-for-same | $1,480 | $830 to $2,600 | 50 gal unit, removal, permit |
| Electric tankless replacing an electric tank | $2,880 | $1,630 to $4,500 | Whole-house unit, heavy circuits, removal, permit |
HomeGuide’s tankless guide (January 2, 2026) shows why tankless bids climb: gas units often need larger supply lines and new venting; electric whole-house units need heavy-gauge circuits. Those conversion lines are separate from the unit price. HomeGuide’s electric-to-gas figure of $400 to $2,000+ is a conversion package, not a gas-line-only price; our calculator’s electric-to-gas tankless scenario uses that package once rather than stacking it on top of a second vent line. HomeGuide’s gas line guide (January 6, 2026) prices a water heater gas line alone at $500 to $1,000 (tankless may need larger pipe) and could be combined with separately scoped venting; we keep the bundled conversion choice for electric-to-gas and exclude new street-to-meter utility service from the base.
Running cost
Energy is calculated from 10 CFR Part 430 Appendix E (2026 GovInfo edition): 365 times daily hot water use times 8.24 lb per gallon times a 67 F rise, divided by UEF, then priced with EIA electricity (YTD September 2026) and EIA gas (2025 annual, 2024 fallback labeled). Prefill UEF is the federal minimum for the draw pattern, a test-bin proxy until you enter a model’s certified rating.
| Type | UEF used | Energy per year | 10-year installed plus energy |
|---|---|---|---|
| Gas tank | 0.56 | $290 | $4,830 |
| Gas tankless | 0.81 | $200 | $6,330 |
| Electric tank | 0.92 | $640 | $7,880 |
| Electric tankless | 0.91 | $650 | $9,380 |
Payback
Simple energy-only payback is the model-specific upfront premium divided by positive annual energy savings (both rounded to the nearest $10 in the calculator). For gas tank to gas tankless in our default three-person home, the premium is about $2,400 and the annual energy savings about $90, so simple payback is roughly 27 years on energy alone. That is longer than a typical tank’s life, so tankless usually wins on comfort and longevity rather than a fast energy payback at today’s gas prices.
In the displayed electric comparison (like-for-like electric tank versus electric tankless, three people, US average rates), electric tankless costs about $1,400 more upfront and about $10 more per year to run, so there is no positive simple energy-only payback in that scenario. Choose electric tankless for continuous flow or space, not for an energy payback against a federal-minimum electric tank in this model.
Stretch the horizon to the full tankless life (15 to 20 years per HomeGuide and Fixr) and avoid a second tank replacement, and the gas comparison softens. It still depends on local energy prices, the UEF on the quote and how hard the unit has to work in winter.
When tankless is the better fit
- You want continuous hot water for back-to-back showers and can size GPM for winter inlet temperature
- You can reuse or afford the gas line and venting upgrade, or your panel already supports a whole-house electric unit
- You plan to stay long enough to use the longer equipment life
- Space is tight and a wall-hung unit helps
Stay with a tank when the plumbing is a straight swap, peak demand is modest, or a tankless install would force a panel or gas-service project you do not otherwise need. Size the decision from the model-specific premium and any positive annual savings in the calculator, not from a generic daily-gallon cutoff.
Tax credit timing
IRS Form 5695 (2025) What’s New (Termination of credits): you cannot claim section 25C energy efficient home improvement credits for property placed in service after December 31, 2025. A water heater placed in service in 2026 does not qualify for the federal Section 25C credit. The estimate assumes no federal credit.
About this guide. Written and fact-checked by the Viracas editorial team from the sources listed below. Read how we build our estimates, or tell us if a number looks wrong for your area.
Sources
- This Old House, Water Heater Installation Cost (updated June 17, 2026): tank and tankless installed ranges, average $1,950.
- This Old House, Tankless Water Heater Installation Cost (updated June 12, 2026): tankless average about $2,800; fuel-type totals.
- HomeGuide, Water Heater Installation Cost (January 2, 2026): tank and tankless ranges; electric-to-gas conversion package $400 to $2,000+.
- HomeGuide, Tankless Water Heater Installation Cost (January 2, 2026): electric and gas tankless installed ranges; lifespan 15 to 20 years.
- HomeGuide, Gas Line Installation Cost (January 6, 2026): water heater gas line alone $500 to $1,000; tankless larger-pipe footnote; street service excluded from our base.
- Fixr, Water Heater Installation Cost (updated January 27, 2026): national averages and tank vs tankless bands.
- 10 CFR Part 430 Appendix E (CFR 2026 GovInfo): running-cost test method.
- IRS Instructions for Form 5695 (2025): Termination of credits; property placed in service after December 31, 2025 does not qualify for section 25C.
- Viracas water heater replacement cost calculator: modeled scenarios above.