What a tankless and a tank water heater each cost to buy, install, run, and maintain over 20 years in 2026, and which one comes out ahead for your home.
Typical cost, installed · gas tankless replacing a gas tank · 2026
$2,500–$4,500most U.S. homes
Enter the total installed price from your quote.
- Standard 40 to 50 gallon tank, same-spot swap
- $900–$1,800
- Electric tankless, whole house
- $1,000–$3,000
- Heat pump (hybrid) tank
- $1,200–$4,600
In this guide
- Cost at a glance
- Purchase and installation cost
- Cost to run by fuel
- Extra costs on a tankless quote
- Maintenance and lifespan
- Total cost over 20 years
- When each one wins
- Heat pump water heaters
- Tax credits and rebates in 2026
- Example quote: tank to tankless
- How to get a fair price
- FAQ
A gas tankless water heater costs $2,500 to $4,500 installed in 2026 when it replaces a gas tank, against $900 to $1,800 for a like-for-like tank swap. That is the short answer to the tankless water heater vs tank cost question. The longer one: a tankless unit costs about $100 a year less to run on natural gas, lasts roughly twice as long, and needs a yearly descaling a tank does not. Over 20 years the two land within a few hundred dollars of each other on gas; on electricity, neither is the cheap choice.
Key points
- Installed: a standard tank runs $900 to $1,800; a gas tankless unit replacing a tank $2,500 to $4,500; an electric tankless unit $1,000 to $3,000 if your panel can take it.
- Running cost for a family of four: about $280 a year for a gas tank versus $175 for a condensing gas tankless unit. On electricity, $650 versus $630.
- Tanks last 8 to 12 years; tankless units 15 to 20 or more. Over 20 years you buy two tanks or one tankless heater, but a yearly professional descaling at $150 to $350 eats most of the tankless savings. Doing it yourself with vinegar keeps them.
- No federal tax credit applies in 2026; the federal heat pump rebate of up to $1,750 now covers only electric-to-electric replacements.
Tankless vs. tank cost at a glance
| Item | Tank (40 to 50 gallon) | Tankless (whole house) |
|---|---|---|
| Unit price, gas | $500 to $1,500 | $800 to $2,000 |
| Installed, replacing the same type | $900 to $1,800 | $1,400 to $3,500 |
| Installed, converting from a tank | n/a | $2,500 to $4,500 (up to $5,600) |
| Annual energy, natural gas (family of four) | about $280 | about $175 to $200 |
| Annual energy, electric | about $650 | about $630 |
| Lifespan | 8 to 12 years | 15 to 20+ years |
Installed ranges blend Fixr (typical $2,500 to $4,500, average $2,811), Angi (average $2,622), and HomeGuide ($2,100 to $5,600 for gas). Tank pricing by size: our water heater replacement cost guide.
Purchase and installation cost by type
Gas tankless is where the money goes. Fixr says a tank-to-tankless conversion adds $1,000 to $4,000 for gas line, venting, or panel upgrades. A whole-house unit burns 140,000 to 199,000 Btu per hour, several times a tank's burner, so the half-inch gas line that fed the tank often has to become three-quarter inch. Condensing models reach 0.95 UEF and vent in PVC; non-condensing models sit near 0.82 UEF and need stainless steel venting.
Electric tankless is cheap to buy (Angi: $420 to $800 for a 27 to 36 kW unit) but hard to feed. A 36 kW unit draws 150 amps at 240 volts; Stiebel Eltron's 36 kW Tempra needs three 50-amp breakers and 300-amp service, its 29 kW model 200-amp service. On 100- or 150-amp service, budget an electrical panel upgrade and a licensed electrician for the circuits.
The gas line and the venting explain most of the spread between a $2,500 conversion and a $4,500 one.
Cost to run: gas, propane, and electricity
Every water heater carries a Uniform Energy Factor (UEF), the share of the energy you buy that ends up as hot water. The federal standard (10 CFR 430.32, for products made before May 6, 2029) sets 0.56 for a 50-gallon gas tank, 0.92 for an electric tank, 0.81 for gas tankless, and 0.91 for electric tankless; ENERGY STAR requires 0.81, 0.95, and 3.30 for gas tanks, gas tankless, and heat pump models. A tank scores lower because it loses heat to the room around the clock (standby loss).
To turn UEF into dollars we used the DOE test's medium draw pattern (55 gallons a day, heated from 58°F to 125°F), UEFs set at or just above the minimums above (our assumptions), and EIA prices: natural gas $15.34 per thousand cubic feet (2025), electricity 18.2 cents per kWh (January to August 2026), propane $2.82 a gallon (week of November 2, 2026).
| System | UEF used | Energy per year | Cost per year |
|---|---|---|---|
| Gas tank, 50 gallons | 0.60 | 18 Mcf (about 187 therms) | $280 |
| Gas tankless, non-condensing | 0.82 | 13.2 Mcf | $200 |
| Gas tankless, condensing | 0.95 | 11.4 Mcf | $175 |
| Propane tank, 50 gallons | 0.60 | 205 gallons | $580 |
| Propane tankless, condensing | 0.95 | 129 gallons | $365 |
| Electric tank, 50 gallons | 0.92 | 3,570 kWh | $650 |
| Electric tankless, whole house | 0.95 | 3,460 kWh | $630 |
| Heat pump water heater | 3.30 | 1,000 kWh | $180 |
On natural gas, going tankless saves $80 to $105 a year, in line with ENERGY STAR's $95 for a family of four (its fuel costs of $200 to $300 for a gas tank and $175 to $225 for tankless bracket our estimates). On electricity it saves about $20, because an electric tank is already 92% efficient. The DOE's 24% to 34% savings figure applies to light users (41 gallons a day or less) and shrinks to 8% to 14% at 86 gallons. Propane is the exception: tankless saves about $215 a year.
Extra costs that can show up on a tankless quote
- Gas line upsizing: $275 to $825 to add or extend a line, per Bob Vila, up to $1,000 on a tankless job; the connection is work for a plumber or gas fitter licensed where your state requires it.
- Venting: $300 to $1,000 for a power vent and its wiring, per Fixr. If the old tank shared a chimney with a gas furnace, the furnace may need a liner; see our furnace replacement cost guide.
- Electrical for electric tankless: $550 to $2,300 in new wiring, per Bob Vila, plus a panel upgrade below 200-amp service.
- Expansion tank: $40 to $350, and this one favors tankless. Section 607.3 of the 2018 International Plumbing Code, where adopted, requires one for a storage heater on a closed system; a North Carolina fire marshal ruling exempts tankless units outside a recirculation loop.
- Isolation valves: service ports for descaling without disconnecting pipes.
- Permit: $25 to $300, plus $50 to $300 if the gas line changes. Most cities require a permit and inspection for either type.
- Haul-away and safety: removal is usually included ($75 to $500 if itemized). For any gas or propane heater, the CPSC recommends a CO alarm on every level.
Maintenance and lifespan: anode and flush vs. descaling
A tank needs a yearly flush and an anode rod check every two years, with a new rod every three to five. A tankless unit needs its heat exchanger descaled: Rinnai says at least once a year, and A. O. Smith puts a professional visit at $200 or more. DIY takes a pump kit ($100 to $300 once) and four gallons of white vinegar. Skip it and scale clogs the exchanger, and Rinnai's manual excludes scale damage from the warranty. If you descale it yourself, follow the manual.
| Task | Tank | Tankless |
|---|---|---|
| Yearly flush or descaling, professional | $75 to $200 | $150 to $350 |
| Yearly flush or descaling, DIY | Free (a hose) | $10 to $20 of vinegar after the kit |
| Anode rod, every 3 to 5 years | $150 to $350 ($20 to $50 DIY) | None |
| Hard water (121 mg/L or more, USGS scale) | Anode wears faster | Descale more often or add a softener |
| Lifespan (Rheem, A. O. Smith) | 8 to 12 years | 15 to 20+ years |
| Typical warranty | 6 years on the tank (ENERGY STAR minimum) | 15 years on the heat exchanger (Rinnai, A. O. Smith) |
| 20-year maintenance budget | About $2,100 with a pro; about $140 DIY | $3,000 with a pro; about $500 DIY |
The USGS calls water above 120 milligrams per liter hard and above 180 very hard, mostly in the east-central and western states; your utility's water quality report lists your number.
Total cost of ownership over 20 years
Family of four, 2026 prices held flat, tank replaced at year 10. Equipment is at midpoints ($1,350 tank swap, $3,500 gas tankless conversion, $2,000 electric tankless with no panel work, $2,900 heat pump). Maintenance is professional at the low end of each range above (tank: $75 a year plus four anode rods at $150; tankless: $150 a year) or DIY (tank: four rods at $35; tankless: a $200 kit plus $15 of vinegar a year):
| Scenario (family of four) | Equipment, installed | Energy, 20 years | Maintenance, 20 years | 20-year total |
|---|---|---|---|---|
| Gas tank, two units, pro upkeep | $2,700 | $5,600 | $2,100 | $10,400 |
| Gas tank, two units, DIY upkeep | $2,700 | $5,600 | $140 | $8,440 |
| Gas tankless, condensing, pro descaling | $3,500 | $3,500 | $3,000 | $10,000 |
| Gas tankless, condensing, DIY descaling | $3,500 | $3,500 | $500 | $7,500 |
| Electric tank, two units, pro upkeep | $2,700 | $13,000 | $2,100 | $17,800 |
| Electric tankless, pro descaling | $2,000 | $12,600 | $3,000 | $17,600 |
| Heat pump water heater, two units, pro upkeep | $5,800 | $3,600 | $2,100 | $11,500 |
Payback. A converted gas tankless unit costs about $2,150 more up front than a tank swap. On energy alone, at roughly $105 a year, that is a 20-year payback, the heater's entire life. Count the second tank you never buy, with upkeep done the same way on both: with paid service the tankless household finishes $400 ahead; with DIY it pulls ahead around year 11 and finishes $940 ahead.
Electric tankless lands within $200 of the electric tank, and both trail a heat pump water heater by more than $6,000. In an all-electric home, compare tank versus heat pump.
When tankless wins and when a tank wins
- Large households with simultaneous demand: tankless. A 50-gallon tank runs out; a properly sized tankless unit does not. Two showers at 2.0 gallons per minute plus a sink is about 5 GPM, needed at your winter temperature rise, not the 35°F rise on the box.
- Cold climates: size up or stay with a tank. Groundwater runs from 37°F in the coldest zone to 77°F in the warmest (Eemax's sizing map), so heating 40°F water to 120°F is an 80°F rise. A 199,000 Btu condensing unit delivers roughly 8 GPM at a 45°F rise but under 5 GPM at 80°F.
- Small homes and light users: tank. One or two people on gas (the DOE's 38-gallon low-usage pattern) spend about $190 a year on hot water; saving a third of that does not justify a $2,150 premium.
- Hard water: tank, unless you add a softener. A tank tolerates scale for years; a tankless heat exchanger does not.
- Propane: tankless. The saving is about $215 a year, the only fuel where energy alone pays back a conversion within the heater's life.
- Frequent power outages: tank. Tankless units need electricity to fire, even gas ones; a gas tank keeps delivering what it holds.
The third option: heat pump water heaters
If your home heats water with electricity, the better answer is a heat pump (hybrid) water heater, a tank that moves heat from the surrounding air instead of making it. ENERGY STAR estimates a family of four saves about $550 a year over a standard electric tank, paying back in three to six years. The unit costs $1,500 to $3,000 plus $1,000 to $3,000 to install, and needs a 240-volt circuit, a condensate drain, and 450 to 700 cubic feet of air. The DOE standard will require most electric tanks made on or after May 6, 2029 to meet heat-pump-level efficiency anyway.
Tax credits and rebates in 2026
The federal Energy Efficient Home Improvement Credit paid up to $600 for an efficient gas water heater and up to $2,000 for a heat pump water heater. According to the IRS, it covers improvements made through December 31, 2025; nothing installed in 2026 qualifies.
The Department of Energy's home upgrades page lists a High-Efficiency Electric Home Rebate of up to $1,750 for an ENERGY STAR heat pump water heater, run by states for households under 150% of area median income. Under DOE Program Notice 26-2, effective May 29, 2026, it pays only to replace an existing electric water heater with a more efficient electric one, not to switch from gas. Gas tankless units get nothing from it, though some gas utilities pay their own rebates (Washington Gas: up to $400 on ENERGY STAR models).
Example quote: gas tank to gas tankless
An illustrative breakdown for replacing a 50-gallon natural gas tank with a 199,000 Btu condensing tankless unit on the same wall, with an upsized gas line and a new PVC vent.
| Line item | Cost |
|---|---|
| Condensing gas tankless unit, 199,000 Btu, 0.95 UEF | $1,500 |
| Labor (one plumber, about eight hours) | $900 |
| Gas line upsized to three-quarter inch | $600 |
| PVC intake and exhaust vent with wall termination | $450 |
| Isolation valve kit and condensate drain line | $200 |
| Plumbing and gas permits | $150 |
| Haul-away of old tank | $100 |
| Total | $3,900 |
The same job as a tank swap is about $1,675 in our tank guide's worked example, so the conversion premium here is $2,225. If a quote is well above $4,500 and none of the extras apply, ask for an itemized breakdown.
How to get a fair price
- Get three written, itemized quotes from licensed plumbers, and ask each to price both options, the same approach we recommend for an AC replacement.
- Ask for the model, UEF, and GPM at your winter temperature rise. A bid that only lists the headline GPM is not sized yet.
- Have the gas line and vent path confirmed before the bid.
- Get isolation valves in the quote, and confirm the permit, the inspection, haul-away, and how long labor is covered.
Frequently asked questions
Is a tankless water heater cheaper than a tank in the long run?
On natural gas it is roughly break-even over 20 years: $10,000 for a tankless unit with professional descaling versus $10,400 for two tanks, or $7,500 versus $8,440 with DIY upkeep. On propane, tankless wins. On electricity, a heat pump water heater beats both.
How much does it cost to switch from a tank to a tankless water heater?
Expect $2,500 to $4,500 for a gas conversion in 2026, with published ranges reaching $5,600.
Does a tankless water heater work in a cold climate?
Yes, if it is sized for the winter temperature rise: a large gas unit that delivers 8 GPM in summer delivers under 5 GPM in January.
Is there a tax credit for a tankless water heater in 2026?
No. The federal credit covered installations through December 31, 2025, per the IRS. In 2026 the only federal money is the heat pump rebate of up to $1,750 for replacing an electric heater, where your state has an open program.
Last reviewed: November 4, 2026. Costs are estimated ranges compiled from cost guides, manufacturers, ENERGY STAR, EIA, IRS, and Department of Energy pages; annual energy and 20-year figures are our own estimates under the stated assumptions. Your quote will depend on your home, your location, and your contractor. Photo: Infrogmation of New Orleans, CC BY-SA 4.0. Read our editorial policy and disclaimer.
