How much does it cost to replace a water heater?
A standard 40-50 gallon tank water heater typically costs about $1,200-$3,500 to replace including installation, and a tankless model about $2,500-$5,500, based on typical national ranges. Heat pump water heaters usually run $2,500-$5,000. Permits, an expansion tank, venting changes and haul-away can add to the bill, so compare itemized quotes. Repairs such as a thermostat, heating element or gas valve usually cost $150-$800. Most home warranty systems plans cover water heaters; Liberty Home Guard's Systems Guard covers units up to 75 gallons.
- Tank (40-50 gal): about $1,200-$3,500 installed; tankless: about $2,500-$5,500.
- Like-for-like replacement is cheapest; switching types adds venting, gas or electrical work.
- A complete quote lists the permit, expansion tank, venting, code upgrades and haul-away.
- A burst tank can cost far more in water damage than the heater itself, so replace aging tanks on your schedule.
- Most systems plans cover water heaters up to a cap; code upgrades and permits are common exclusions.
- Liberty Home Guard, our top-rated provider, covers water heaters up to 75 gallons in Systems Guard.
How Much Does a New Water Heater Cost by Type?
A standard 40-50 gallon tank water heater typically costs about $1,200-$3,500 installed, while tankless and heat pump models usually cost $2,500-$5,500. Fuel type, capacity and how much the installation has to change account for most of the spread.
| Type | Typical installed cost | Typical lifespan | Good fit when |
|---|---|---|---|
| Electric tank (40-50 gal) | $1,200-$3,000 | 10-13 years | You want the simplest, lowest-cost swap |
| Gas tank (40-50 gal) | $1,300-$3,500 | 8-12 years | You have gas service and want fast recovery |
| Tankless (electric) | $2,500-$4,500 | 15-20 years | Smaller households with adequate electrical capacity |
| Tankless (gas) | $2,800-$5,500 | 15-20 years | You want endless hot water and have room for new venting |
| Heat pump water heater | $2,500-$5,000 | 12-15 years | Electric homes with space and a warm-enough location |
Typical national installed price ranges compiled from major home-cost guides; local prices vary by region, home and brand.
Replacing like for like - a 50-gallon gas tank with another 50-gallon gas tank in the same spot - is almost always the cheapest job. Switching types (tank to tankless, gas to electric, or electric to heat pump) is where costs climb, because venting, gas lines, wiring or drains often have to change.
What Should a Full Installation Quote Include?
A complete quote covers the unit plus everything needed to install it safely and pass inspection. If a quote lists only "water heater and labor," expect add-on charges later.
| Item | Why it matters |
|---|---|
| Permit and inspection | Many jurisdictions require a permit for water heater replacement |
| Expansion tank | Often required on closed plumbing systems to absorb pressure as water heats |
| Venting | Gas units need proper flue or direct venting; tankless units may need new stainless or PVC venting |
| Gas line or electrical work | Tankless units often need a larger gas line or a dedicated high-amperage circuit |
| Code upgrades | Seismic straps, drain pans, sediment traps or a new relief-valve discharge line, depending on local code |
| Water and gas connectors | New flexible connectors and shutoff valves |
| Haul-away | Draining, removing and disposing of the old unit |
Ask each installer to confirm in writing which of these are included. Two quotes that look $600 apart can end up nearly identical once permits, an expansion tank and haul-away are added to the cheaper one.
Why Does the Same Water Heater Cost More in Some Areas?
Local labor rates, permit fees and code requirements are the main reasons prices differ by region. The equipment itself costs roughly the same nationwide.
- Labor rates are generally higher in large metro areas and high-cost states.
- Local codes vary: earthquake-prone areas may require seismic strapping, and some places require drain pans or expansion tanks on every install.
- Climate affects sizing. Colder incoming water in northern states means a tankless unit must work harder, which can push you to a larger model.
- Access matters everywhere. An attic, crawl space or tight closet install costs more than a garage install.
What Do Common Water Heater Repairs Cost?
Most water heater repairs cost about $100-$800. A leaking tank, however, cannot be repaired and means replacement.
| Repair | Typical cost | Repair or replace? |
|---|---|---|
| Thermostat | $150-$350 | Usually repair |
| Heating element (electric) | $150-$400 | Usually repair |
| Gas valve | $300-$800 | Repair on a younger unit; consider replacing an older one |
| Anode rod | $100-$300 | Repair - this is preventive |
| Leaking tank | - | Replace |
Typical national installed price ranges compiled from major home-cost guides; local prices vary by region, home and brand.
A simple test: if a tank unit is past about 10 years old and the repair is a major one, such as a gas valve, putting that money toward a new unit is often the better choice.
What Are the Warning Signs a Water Heater Is Failing?
Rusty water, rumbling noises, leaks at the base and shrinking hot-water supply are the most common warnings. Any one of them in a tank older than 10 years is a reason to start getting quotes.
- Rusty or discolored hot water, which can mean the tank is corroding inside
- Rumbling or popping sounds caused by sediment buildup
- Moisture or pooling water around the base
- Hot water running out faster than it used to
- A relief valve that drips or releases water often
- The unit is more than 10 years old (check the serial number or data plate for the manufacture date)
What Happens If a Tank Bursts? Planned vs. Emergency Replacement
A tank that fails suddenly can release its full contents and keep filling until the water is shut off. The water heater is the smaller cost; water damage is the larger one.
The figures below are assumptions chosen to show how costs stack up, not quotes.
| Cost | Planned replacement | Emergency after a leak |
|---|---|---|
| New 50-gal tank, installed | $1,800 | $1,800 |
| Emergency or after-hours premium (assumed) | $0 | $300 |
| Water cleanup and drying (assumed) | $0 | $2,500 |
| Total | $1,800 | $4,600 |
In this example, waiting costs an extra $2,800 - more than the heater itself. Homeowners insurance may help with sudden water damage, subject to your deductible and policy terms, but it generally does not pay for the worn-out water heater. See home warranty vs. homeowners insurance.
Know where your water shutoff is, and consider a drain pan and a water leak sensor if the heater sits in a finished space.
Tank or Tankless: Which Costs Less Over Time?
Tankless units cost more up front but often last about twice as long, so the yearly cost can end up similar. The deciding factors are usually your household's hot-water use and how much installation work the switch requires.
| Gas tank | Gas tankless | |
|---|---|---|
| Installed price (mid-range) | $2,000 | $4,000 |
| Expected lifespan | 10 years | 20 years |
| Cost per year | $2,000 ÷ 10 = $200 | $4,000 ÷ 20 = $200 |
On equipment alone, these two come out even. Tankless units avoid standby heat loss, which can lower energy costs, but they need periodic descaling, and a switch that requires a new gas line or venting can tip the math back toward a tank.
Is a Heat Pump Water Heater Worth It?
For many homes with electric water heating, yes. A heat pump water heater moves heat from the surrounding air into the water, and is commonly described as two to three times as efficient as a standard electric tank.
The higher purchase price is offset by lower electricity use over time, and utility rebates are sometimes available. Check whether your home meets the usual requirements first:
- Enough space and air volume around the unit, often a garage, basement or large utility room
- A location that stays reasonably warm, since efficiency drops in cold spaces
- A nearby drain for condensate
- A suitable electrical circuit (many models need 240 volts)
- Tolerance for some fan noise and cooler air near the unit
Incentives for heat pump water heaters change often. Check your utility and energy.gov for current programs, and confirm any tax treatment with a tax professional.
Does a Home Warranty Cover Water Heater Replacement?
Yes. Most systems and combo plans cover water heaters that fail from normal wear, up to the plan's cap. You pay the service fee and anything the contract excludes or that exceeds the cap.
| Company | Plan that covers water heaters | Caps | Service fee |
|---|---|---|---|
| Liberty Home Guard | Systems Guard or Total Home Guard (up to 75 gal) | $2,000 per item for most systems & appliances; $500 on plumbing and electrical | $65-$125 |
| Choice Home Warranty | Basic or Total Plan | $3,000 per item | $85 |
| Cinch Home Services | Built-In Systems or Complete Home | A/C & heating $1,500; plumbing $1,000; appliances $2,000; $10,000 per term | $100-$150 |
| First American | Systems coverage in its plans | Unlimited on HVAC, plumbing & electrical; appliances $3,500-$7,000 | $100 or $125 |
| 2-10 Home Buyers Warranty | Complete Home or Pinnacle Home | ~$2,000 per category ($5,000 with Luxury Package); $25,000 per 12 months | $65, $85 or $100 |
From published plan terms checked October 2026. Which limit applies to a water heater depends on the contract - confirm in the sample contract.
Watch for common exclusions: permits, code upgrades, expansion tanks, venting changes, sediment-related failures and the cost of upgrading to a different type (for example, tank to tankless). Waiting periods apply after enrollment, and some providers use a longer one for plumbing.
Your 11-year-old 50-gallon tank leaks. The installer quotes $2,200: $1,800 for the heater and labor, plus $400 for a code-required expansion tank and venting update. Assume a $2,000 cap and that code upgrades are excluded.
| Item | Plan pays | You pay |
|---|---|---|
| Heater and labor ($1,800) | $1,800 | $0 |
| Code upgrades ($400) | $0 | $400 |
| Service fee | - | Your plan's fee |
Without a plan, you would pay the full $2,200.
Liberty Home Guard's Systems Guard covers water heaters up to 75 gallons, along with AC, heating, ductwork, plumbing and electrical, starting at $49.99/month with current online pricing. Read our Liberty Home Guard review.
What Maintenance Makes a Water Heater Last Longer?
A yearly flush and a periodic anode-rod check are the two tasks that do the most to extend tank life. They also give you records to show if you ever file a warranty claim.
- Flush the tank once a year. Draining a few gallons, or the whole tank, removes sediment that causes noise and overheating.
- Test the relief valve. Lift the lever briefly once a year to confirm it opens and closes; call a pro if it drips afterward.
- Check the anode rod. Every few years, or more often with hard water. A depleted rod lets the tank corrode.
- Set the temperature around 120°F. This is a common recommendation that balances scald risk, energy use and wear.
- Descale tankless units. Follow the manufacturer's schedule, especially in hard-water areas.
- Keep the area clear. Leave space around gas units for combustion air and never store chemicals nearby.
- Save receipts and notes. Date-stamped records help if a provider asks whether the unit was maintained.
How Can You Get the Best Price on a Water Heater?
Replace before the tank fails, compare itemized quotes, and stay with the same type unless the long-term math clearly favors a switch.
- Shop before it breaks. A tank past 10 years old is worth pricing now, while you have time to compare.
- Get three itemized quotes. Confirm each includes the permit, expansion tank, connectors and haul-away.
- Size it right. A bigger tank than you need costs more to buy and to keep hot.
- Ask about rebates. Utilities sometimes offer rebates for heat pump and high-efficiency models.
- Check the warranty length. Models sold with longer tank warranties cost more; compare the price gap with the extra years of coverage you get.
- Call your home warranty first. If you have a plan, file the claim before hiring anyone yourself. See how to file a home warranty claim.
Frequently asked questions
How long does a water heater last?
Tank units usually last about 8-13 years depending on fuel type and water quality; tankless units about 15-20 years.
Is it worth switching from a tank to a tankless water heater?
It can be if you want endless hot water and plan to stay long term. Over its longer life, a tankless unit's yearly cost can be similar to a tank's, but installation changes can add significant cost.
Does a home warranty cover water heater replacement?
Yes, most systems and combo plans do, up to the plan's cap. Permits, code upgrades and upgrades to a different type are often excluded. Compare plans on our best home warranty page.
Do I need a permit to replace a water heater?
Many cities and counties require one. A licensed installer should know the local rule and include the permit in the quote.
How often should I flush my water heater?
Once a year is a common recommendation, and more often in hard-water areas.