ProjectMath

Water Heater Replacement Cost in 2026: Tank, Tankless & Heat Pump

Hand tools laid out on a wooden surface

Quick answer

A standard 40–50 gallon tank costs $600–$3,100 installed; tankless runs $1,400–$5,600 (HomeGuide1, as of 2026-10-14).

On this page (11 sections)

Calculator

Regional factor: USACE PAX Newsletter 3.2.1 (18 Aug 2026), DoD Area Cost Factors2, as of 2026-10-14. How regional pricing works (incl. Canada/CAD note).

Installed cost by type

TypeUnit onlyInstalled
Standard tank (40–50 gal)$400–$2,100$600–$3,100
Tankless$600–$2,600$1,400–$5,600
Hybrid heat pump$1,500–$3,000$2,000–$4,600
Indirect$1,500–$3,000$2,000–$4,500
Solar$1,000–$6,000$3,000–$9,000

Source: HomeGuide, water heater installation cost1, as of 2026-10-14.

Labor and permits

ItemCost
Labor, tank-style$150–$450
Labor, tankless$600–$1,900
Labor, switching tank to tankless$150–$2,500
Permit$25–$300

Source: NerdWallet, water heater cost3, as of 2026-10-14.

Tank or tankless?

TanklessTank
Lifespan15–20 years8–12 years
Annual operating cost, gas$220–$480$250–$420
Annual operating cost, electric$340–$540$530–$600

Source: HomeGuide1, as of 2026-10-14.

DIY notes

  • Like-for-like swaps (same fuel, size and location) are the cheapest. Moving to tankless often needs gas line, venting or electrical upgrades.
  • Gas and electrical work usually needs a permit. Check yours before you start.

Tankless water heater installation cost

Most people asking about water heater costs are pricing tankless. HomeGuide puts a tankless unit at $600–$2,600 and the installed job at $1,400–$5,600. Replacing an existing tankless unit with a similar one avoids the conversion work. Switching from a tank is where the cost grows, because of the gas line, venting or electrical work:

ItemCostSource
Tankless unit only$600–$2,600HomeGuide
Tankless, installed (unit + labor)$1,400–$5,600HomeGuide
Tankless installation labor$600–$1,900NerdWallet
Labor when switching from a tank (gas line, venting, electrical)$150–$2,500NerdWallet
Permit$25–$300NerdWallet

Sources are linked in the tables above. HomeGuide and NerdWallet measure differently, so don’t add the rows together: use the installed range, and expect a tank-to-tankless conversion to land toward its top or above it.

Is the extra worth it? The worked example below spreads each type over its expected life. To compare the running cost of gas versus electric heat in your area, use the heating cost calculator.

What this guide covers

This guide is for a homeowner whose water heater is failing or getting old, deciding between a like-for-like tank swap and switching to tankless. It covers the unit, labor, permits, and cost per year of service life.

How this estimate is built

Installed ranges come from HomeGuide's and NerdWallet's 2026 cost tables (checked 2026-10-14), which break out the unit, labor, permit ($25–$300) and expected lifespan. Where the sources differ we show both, and we work out the lifespan math ourselves so you can check it.

Worked example

Comparing a gas tank swap with switching to a gas tankless unit, using midpoints of the installed ranges:

StepArithmetic
Tank, installed$600–$3,100 → midpoint $1,850
Tankless, installed$1,400–$5,600 → midpoint $3,500
Tank cost per year (about 10-year life)$1,850 ÷ 10 = $185/yr
Tankless cost per year (about 17.5-year life)$3,500 ÷ 17.5 = $200/yr
Up-front difference$1,650 more for tankless

Spread over its expected life, tankless costs about the same per year as a tank. The up-front cost is what differs. Switching also brings venting and gas-line work, which is why the tankless range runs so high.

Limits: when not to trust the number

  • Converting from tank to tankless can require a larger gas line, new venting or an electrical upgrade, which pushes costs toward the top of the range.
  • Code updates on a like-for-like swap, such as an expansion tank, seismic straps or drain pan, are extra where required.
  • Hard water shortens the life of both types unless you flush or soften. The per-year math assumes typical lifespans.
  • Heat pump water heaters may qualify for rebates that change the comparison. Check your utility.

Frequently asked questions

How long does a tank water heater last?

Typically 8–12 years in the sources above, and tankless units 15–20 years.

Is tankless cheaper over its life?

On the midpoints above, it costs about the same per year. It wins if you stay in the house long enough to use its longer life.

Do I need a permit?

Many jurisdictions require one for water heater replacement, at $25–$300 in our sources. A licensed installer usually pulls it.

Can I install it myself?

Gas and venting work is risky and often legally restricted to licensed trades. Electric tank swaps are more DIY-friendly, but still check your local permit rules.

How much does a tankless water heater cost installed?

About $1,400–$5,600 installed in HomeGuide’s 2026 table, with the unit alone at $600–$2,600. Switching from a tank adds gas line, venting or electrical work.

How much does it cost to replace a tankless water heater?

Swapping an old tankless unit for a similar one is usually the unit ($600–$2,600) plus tankless labor ($600–$1,900) and any permit, without the conversion costs.

How much does a heat pump water heater cost?

A hybrid heat pump water heater runs about $2,000–$4,600 installed, with the unit at $1,500–$3,000 (HomeGuide). Utility rebates can lower that.

Recommended tools & materials

As an Amazon Associate, ProjectMath earns from qualifying purchases. It doesn’t change what you pay. Links open Amazon search results (no prices here because they change daily). Affiliate disclosure.

Sources

  1. HomeGuide homeguide.com
  2. USACE PAX Newsletter 3.2.1 (18 Aug 2026), DoD Area Cost Factors usace.contentdm.oclc.org
  3. NerdWallet, water heater cost nerdwallet.com

← All heating & insulation calculators & guides

Last reviewed: 2026-11-19 by Craig Antoine, editor. Prices are national planning ranges; get local quotes. How we price.