Most homeowners pay $2,200 to $4,200 to replace a standard 40- or 50-gallon water heater, and $4,500 to $7,500 for a whole-home gas tankless system. Those figures are installed prices: the unit, labor, permits and haul-away of the old heater.

The ranges below come from Payless Water Heaters’ own pricing, based on more than 120,000 installations over 35+ years. Water heaters are the only thing we do, so this is what homeowners actually pay for a professional, code-compliant replacement, not a parts-only estimate. Labor rates and permit fees vary by market, so your exact quote will depend on where you live and your home’s setup.

Average Water Heater Replacement Cost by Type

The type of water heater you choose drives the biggest difference in price. Here is what each system typically costs fully installed:

System TypeInstalled CostExpected LifespanBest For
Electric tank$2,100–$3,10010–12 yearsHomes without natural gas
40-gallon gas tank$2,200–$3,8008–12 years1–2 person households
50-gallon gas tank$2,400–$4,2008–12 years3–5 person households
Gas tankless (whole home)$4,500–$7,50018–22 yearsHigh demand, endless hot water
Heat pump / hybrid$5,000–$8,50010–15 yearsMaximum energy savings
Commercial$8,000–$15,000Varies by useRestaurants, apartments, businesses

Key findings:

  • Gas tanks are the most common replacement. A 40- or 50-gallon gas tank covers most households and is the fastest same-day swap.
  • Tankless costs roughly twice as much upfront but lasts nearly twice as long. At 18 to 22 years, a tankless unit can outlast two tank replacements, which narrows the long-term cost gap.
  • Heat pump water heaters cost the most to install but use far less electricity than a standard electric tank. They need adequate airflow, so a garage or large utility room works best.
  • Electric tanks are the lowest-cost option for homes without a gas line, with no venting required.

Water Heater Replacement Cost by Tank Size

For tank water heaters, size is the next biggest cost factor. Bigger tanks cost more and should match your household’s actual hot water use.

Tank SizeHousehold SizeInstalled Cost (Gas)
40 gallons1–2 people$2,200–$3,800
50 gallons3–5 people$2,400–$4,200
75+ gallons or tankless5+ people or high demandCall for a quote; tankless runs $4,500–$7,500

Key findings:

  • 40 and 50 gallons cover most homes. The price difference between them is modest, so sizing correctly matters more than saving on the smaller tank.
  • Oversizing wastes money. A tank that’s too big keeps reheating water you never use, which raises energy bills.
  • Large households often do better with tankless. Once you need more than 50 gallons, the cost of a bigger tank gets closer to tankless, which never runs out of hot water.

Tankless Water Heater Cost Breakdown

Tankless installs vary more than tank swaps because the home sometimes needs upgrades to support them.

Tankless JobTypical Cost
Gas tankless, small home or condo$4,200–$5,900
Gas tankless, whole home$4,500–$7,500
Gas line upgrade (if needed)$400–$1,000
Tankless repair (labor only)$250–$800

Key findings:

  • Gas line size is the biggest variable. Tankless units need higher BTU input, and many older homes need a larger gas line from the meter.
  • Venting often changes. Most gas tankless units need new PVC or stainless venting to the outside, and condensing models need a condensate drain.
  • A good installer quotes these upfront. If your gas line or venting needs work, it should be in the price before the job starts, not added afterward.

What’s Included in Water Heater Replacement Cost

A professional replacement price should include more than the unit and labor. Here is what to look for in a quote:

Cost ItemTypical CostIncluded in Payless Pricing?
Unit and standard laborVaries by typeYes
Permit and inspection$150–$400 by jurisdictionYes
Removal and haul-away of old unitOften an add-on elsewhereYes
Seismic strapping (where required)VariesQuoted upfront
Expansion tank (where required)VariesQuoted upfront
Drain pan (where required)VariesQuoted upfront
Gas line upgrade$400–$1,000Quoted upfront
After-hours or weekend servicePremium at many companiesNo extra charge

Key findings:

  • Code upgrades are the most common surprise. Older homes often need venting, strapping or an expansion tank to pass inspection. Ask for an itemized quote before work begins.
  • Permits protect you. An unpermitted install can cause problems at resale and may void the manufacturer’s warranty.
  • Emergency replacements don’t have to cost more. Many companies charge after-hours premiums; Payless charges the same flat rate day or night.

How Long Water Heaters Last and When to Replace

Replacing a water heater before it fails is almost always cheaper than dealing with a burst tank and water damage.

System TypeAverage LifespanReplace AroundWarning Signs
Gas tank8–12 years10 yearsRusty water, rumbling or popping, leaks at the base
Electric tank10–12 years10–12 yearsSlow recovery, running out of hot water, pooling water
Tankless18–22 years18+ yearsError codes, lukewarm water, reduced flow
Heat pump / hybrid10–15 years12 yearsDeclining efficiency, slower recovery

Key findings:

  • Age is the strongest predictor. A tank past 10 years is worth inspecting even if it seems fine.
  • Hard water shortens tank life. Sediment builds up at the bottom of the tank, so annual flushing helps a heater reach its full lifespan.
  • Planned replacement saves money. You get time to compare options, choose the right size and avoid water damage.

Repair or Replace?

Water heater repair is usually the right call when the heater is under 8 years old and the problem is a single part, such as a thermostat, thermocouple, heating element or valve. Replacement makes more sense when:

  • The tank itself is leaking
  • The unit is 10 or more years old and needs a major part
  • You’ve needed more than one repair in the past year
  • The heater can no longer keep up with your household

For tankless units, repairs typically run $250 to $800 in labor, and most problems, like scale buildup, ignition errors or flow sensor faults, can be fixed the same day.

How to Keep Your Replacement Cost Down

  • Size it right. Don’t pay for a bigger tank than your household needs.
  • Replace before it fails. Planned replacements avoid water damage and rushed decisions.
  • Get an itemized, flat-rate quote. Know exactly what’s included before work starts.
  • Ask about price matching. Payless will beat a written quote from any licensed contractor for a like-for-like install.
  • Check utility rebates. Some utilities offer rebates on tankless and heat pump water heaters; availability changes often, so ask when you get your quote.
  • Choose a specialist. A water-heater-only company has the right unit on the truck, which avoids second trip charges.

Get an Upfront Quote

Payless Water Heaters gives every customer one flat-rate price before work begins, with permits, haul-away and same-day installation included and no after-hours fees. Call (833) 856-3341 or see our water heater replacement and tankless water heater services.

In California? See water heater replacement cost in California for state permit, code and rebate details.

Water Heater Replacement Cost FAQ

How much does it cost to replace a water heater?

Most homeowners pay $2,200 to $4,200 for a standard 40- or 50-gallon gas tank, installed. Electric tanks run $2,100 to $3,100, and whole-home gas tankless systems run $4,500 to $7,500.

How much does a 50-gallon water heater cost installed?

A 50-gallon gas tank typically costs $2,400 to $4,200 installed, including labor, permits and haul-away of the old unit.

How much does a tankless water heater cost to install?

Gas tankless installs typically run $4,200 to $5,900 for a small home or condo and $4,500 to $7,500 for a whole home. A gas line upgrade, if needed, adds $400 to $1,000.

Does water heater replacement cost include installation?

It should. A professional quote should include the unit, labor, permit, haul-away and any required code upgrades. Payless gives one flat-rate price that covers all of it before work starts.

Why is tankless so much more expensive than a tank?

Tankless units cost more to buy and often need a larger gas line, new venting or a condensate drain. They also last 18 to 22 years, roughly twice as long as a tank, which offsets much of the difference over time.

Is it cheaper to repair or replace a water heater?

Repair is usually cheaper for heaters under 8 years old with a single failed part. Replacement is the better value for units over 10 years old, any tank leak, or a heater that needs repeated repairs.

How long does a water heater replacement take?

A standard tank replacement takes about 1.5 to 2 hours once the technician is on site. A tankless install can take 3 to 5 hours if the gas line or venting needs upgrading.

Is it cheaper to buy a water heater at a big-box store?

The sticker price may look lower, but installation, haul-away, permits and code items are often added on, and labor is usually subcontracted. A water heater specialist’s flat-rate, all-in quote is often comparable and comes with one company standing behind the work.

What size water heater do I need?

A 40-gallon tank works for most 1- to 2-person households, and a 50-gallon tank fits 3 to 5 people. Larger households or anyone who wants endless hot water may be a better fit for tankless.