How much does water heater installation cost in 2026?

Updated May 2026 · How we source these numbers
Summary
A standard 50-gallon tank water heater installation runs $1,200–$2,500 in 2026 (unit + labor + permit + haul-away). Tankless installations run $2,500–$4,500 because of the gas-line upsizing, vent re-work, and electrical changes most homes need. Same-day swap-outs are usually possible if the location and fuel type stay the same.

Cost breakdown

Job type Typical low Typical high
Tank water heater swap (50 gal, gas, same location) $1,200 $2,500
Tank water heater swap (50 gal, electric, same location) $1,100 $2,200
Tankless water heater install (gas, in-wall mount) $2,500 $4,500
Tankless water heater install (electric whole-home) $2,000 $4,000
Tank → tankless conversion (gas line + vent + electrical) $3,500 $6,500
Heat-pump water heater install $2,500 $4,500
Expansion tank install (where required by code) $150 $350
Permit + inspection $50 $200

Tank vs tankless: 10-year cost

A 50-gallon gas tank water heater costs $700–$1,500 to buy and lasts 8–12 years. A tankless gas unit costs $1,000–$2,500 to buy and lasts 18–25 years. Over 20 years, you'll buy 2 tanks vs 1 tankless. Tankless also saves 8–34% on water-heating energy (per DOE), worth $80–$300/year in most homes. The math favors tankless if you stay in the home 10+ years; tank wins if you're moving in under 5.

Why installation costs more than the unit

For a like-for-like tank swap (gas tank → gas tank, same location), labor runs $400–$700, permit $50–$150, haul-away $50–$100, plus minor parts (T&P relief valve, expansion tank where required, vent kit if old vent is corroded). For a tank → tankless conversion, you're adding gas-line resizing (3/4" minimum, often 1" for high-BTU tankless), new vent (PVC for condensing units, stainless for non-condensing), 120V electrical for the unit's electronics, and code-compliant condensate drainage. Each of those is $200–$600.

Permit, code, and inspection

Water heater installs require permits in nearly every U.S. jurisdiction. The permit ensures: (a) earthquake straps in seismic zones; (b) drain pan with discharge line in second-floor or attic installs; (c) T&P discharge to the exterior or floor drain (never to a tile cap or open drain underneath the unit); (d) sediment trap on gas line; (e) code-compliant venting. Pros include the permit in the quote — confirm it's pulled in your name (or the pro's licensed contractor name) before payment.

Sizing the unit

For a tank: family of 1–2 = 30–40 gallons; 3–4 = 40–50 gallons; 5+ = 50–80 gallons. Tankless sizing is by GPM (gallons per minute) of simultaneous demand: 1–2 fixtures = 5–7 GPM; 3 fixtures = 7–9 GPM; 4+ fixtures = 9–11 GPM. A pro will calculate your home's peak hot-water demand based on fixture count and incoming water temp before sizing.

Common upcharges and surprises

Five things commonly drive a quote higher mid-job: (1) the water heater isn't in the original location and the gas/water/vent runs need extending; (2) the existing T&P or drain pan isn't code-compliant; (3) the existing flex connectors are illegal in your jurisdiction (gas connectors have a 6-foot max length and many old installs exceed it); (4) the gas meter or main gas line isn't sized for tankless flow; (5) hard-water scale buildup means the new unit needs a softener loop or scale-prevention installed at the same time. Ask for a written quote AFTER on-site assessment, not just a phone estimate.

Get a real quote, not a range.

Verified local pros, free quotes, instant booking.

Find a handyman near you →

Frequently asked questions

How long does a water heater installation take?

Tank swap (same fuel, same location): 2–4 hours. Tankless install: 4–8 hours. Tank → tankless conversion: full day, sometimes 2 days if the gas line needs upsizing.

Can a handyman install a water heater?

Most states require a licensed plumber for water heater installation, and most jurisdictions require a permit. Like-for-like swaps in some states allow handyman installation, but check local rules — and the manufacturer's warranty often requires licensed-plumber installation.

Should I get tank or tankless?

Tankless if you're staying 10+ years and have natural gas. Tank if you're moving sooner, have only electric service, or use very little hot water. Heat-pump tanks are a strong middle option in mild climates.

How long does a water heater last?

Tank: 8–12 years for gas, 10–15 for electric. Tankless: 18–25 years. Heat-pump: 12–15 years. Hard water shortens lifespan by 30–50%; an annual flush extends it.

What's an expansion tank and do I need one?

A small (2-gallon) tank that absorbs thermal expansion when water heats up. Required by code in homes with a check valve or pressure-reducing valve on the main supply line. Most homes built after ~1990 need one; most homes before 1980 don't.

Should I get a federal tax credit?

Heat-pump water heaters and high-efficiency tankless units (EF 0.95+) qualify for federal energy tax credits — typically 30% up to $2,000 (Inflation Reduction Act provisions). Check current IRS guidance and ask the pro for the unit's ENERGY STAR Most Efficient certification.

Why does my new water heater smell like rotten eggs?

Sulfur-reducing bacteria reacting with the magnesium anode rod. Replace the magnesium anode with an aluminum-zinc alloy rod ($30–$60 part, 30 minutes labor) — fixes 90% of cases.

Is a leaking water heater an emergency?

Yes — water heater leaks indicate tank corrosion through-failure and the tank is likely about to fail completely. Shut off the water supply and gas/electric, call a plumber. Most pros offer same-day emergency service for water heater failures.

Related guides