Home / Home Systems / Cost guide
Plumbing

Water heater replacement cost in 2026

Water heaters fail on their own schedule, usually without warning, which makes this one of the more urgent replacements homeowners face. Expect $1,200–$5,500 installed, with tank vs. tankless and gas vs. electric explaining almost the entire spread.

Water heaters fail on their own schedule, usually without warning, which makes this one of the more urgent replacements homeowners face. The good news is the cost is fairly predictable once you know which of four combinations you're buying: tank or tankless, gas or electric.

What it costs, by type

Installed cost by typeTypical range
Tank, electric 40–50 gal, most common$1,200–2,500
Tank, gas Needs venting; often similar labor$1,400–3,000
Tankless, electric Compact; may need panel upgrade$1,800–3,500
Tankless, gas Needs new venting & gas line sizing$3,000–5,500
Typical tank replacement$1,200–3,000

Tank vs. tankless: the real tradeoff

Tank units are cheaper to buy and install and are a like-for-like swap in most homes. Tankless units cost more up front — sometimes double, once venting and gas-line changes are factored in — but heat water on demand, take up less space, and typically last longer. The payback comes from lower energy use, but it takes years, so tankless makes more sense if you're staying in the home long enough to recoup the difference, or if you're replacing an aging unit anyway rather than converting one that still works.

The hidden line item: venting and gas lines

Switching from tank to tankless, or from electric to gas, often requires new venting or a resized gas line — costs a simple "unit swap" quote won't include. Ask explicitly whether your quote assumes a like-for-like replacement or a conversion, since the latter can add $500–1,500.

Factors that move the price

What actually happens once the old tank's drained

A straightforward tank-to-tank swap is usually a half-day job. Converting fuel types or switching to tankless, which often requires new venting or gas line sizing, can take a full day.

Handling it yourself vs. calling a plumber

A water heater sits at the intersection of plumbing, gas or electrical, and venting — three systems where mistakes carry real safety risk, from gas leaks to carbon monoxide issues with improper venting. Most manufacturers also require professional installation to honor the warranty. Some experienced DIYers handle a like-for-like electric tank swap, but gas units, any venting changes, and tankless conversions are worth hiring out regardless of skill level, given the stakes if something's wrong.

Mistakes that create safety problems, not just cost ones

Frequently asked questions

How long do water heaters last?

Tank units typically last 8–12 years; tankless units often last 15–20 years with proper maintenance, including periodic descaling in hard-water areas.

Is it worth switching to tankless?

If you're already replacing a failed unit and can afford the higher upfront cost, tankless offers lower operating costs and more space, but the payback period is often long. It's a stronger case in high-usage households or when a hot water shortage is a recurring complaint.

Can I install a water heater myself?

A licensed plumber is strongly recommended — improper installation can create safety hazards (gas leaks, improper venting, electrical issues) and may void the manufacturer's warranty.

What size water heater do I need?

As a rough guide, 30–40 gallons suits one to two people, 40–50 gallons suits a typical family of three to four, and larger households or homes with high simultaneous hot-water demand may need 50+ gallons or a tankless unit sized to peak flow rate.

Why is my water heater making noise?

Popping or rumbling often means sediment buildup at the bottom of the tank, which periodic flushing can reduce. Persistent noise alongside reduced hot water output can signal a unit nearing the end of its life.

Should I repair or replace an aging water heater?

A tank past 8–10 years with a costly repair (like a failed heating element on an electric unit, or significant sediment buildup reducing capacity) is usually a better candidate for replacement, since you're investing in an appliance already near the end of its expected life.

Sources & further reading

  1. Angi/HomeAdvisor cost data for water heater replacement by type.
  2. Local plumbing code requirements for water heater installation vary by jurisdiction — confirm with your local building department.
  3. U.S. Department of Energy and ENERGY STAR efficiency comparison data for tank vs. tankless water heaters.
Project Price Point Editorial Team
Cost Research Desk · Project Price Point

Our editorial team sources and maintains the pricing datasets behind our home-systems guides, drawing on public industry data and contractor pricing surveys.

This guide reflects independent research using public pricing data and industry sources, not a professional site assessment. Cost ranges are estimates for planning only and vary by region, home and unit choice — always confirm with local, itemized quotes.