Free U.S. home improvement cost planning tools
RemodelMeter Start estimating

Homeowner cost guide

40 Gallon Water Heater Replacement Cost: 2026 Guide

See the cost to replace a 40-gallon water heater in 2026, including electric vs. gas units, labor, permits, venting, electrical work, and disposal.

Plan your project Try the matching calculator. Water Heater Replacement Cost Calculator →

A 40-gallon tank water heater is common in smaller households. In 2026, replacing one typically costs about $600 to $1,600 installed for an electric model and roughly $900 to $3,000 or more for a gas model.

40 Gallon Water Heater Cost by Fuel Type

TypeInstalled Planning RangeTypical Cost Drivers
Electric tank$600–$1,600Unit price, wiring condition, drain pan, expansion tank
Gas tank$900–$3,000+Unit price, gas line, venting, combustion air, code upgrades

Use our water heater replacement cost calculator.

What Is Included in Replacement Labor?

A basic installation usually includes disconnecting and removing the old tank, setting the new unit, reconnecting water lines, connecting gas or electric service, testing, and hauling away the old heater.

Electric vs. Gas

Electric tanks are often simpler to install when the circuit is adequate. Gas heaters require more attention to venting, combustion air, gas piping, and carbon-monoxide safety.

Example Replacement Budget

For a standard 40-gallon electric heater in an accessible utility room, a budget around $1,000 to $1,500 is reasonable. A gas model needing vent modifications or code upgrades may land closer to $1,500 to $2,500 or more.

Potential Add-On Costs

  • Permit and inspection
  • Expansion tank
  • Drain pan
  • New valves or connectors
  • Gas vent corrections
  • Electrical circuit work
  • Difficult access

FAQ

Is a 40-gallon heater enough?

It can work well for one or two people and some low-demand households.

How long does a tank water heater last?

Many last roughly 8 to 12 years, depending on water quality, maintenance, and usage.

Should I switch to tankless?

Tankless systems save space but installation can require gas, venting, electrical, and plumbing upgrades.

If you need more hot-water capacity, compare our 50-gallon water heater replacement cost guide.

One-for-One Replacement vs. Upgrade

The lowest-cost project is usually replacing an existing 40-gallon tank with a similar unit in the same location. Changing fuel type, moving the heater, switching to tankless, or installing a larger unit can trigger additional plumbing, venting, electrical, or gas work.

When Replacement Becomes Urgent

A leaking tank generally means replacement is necessary because the storage vessel itself is not a practical field repair. Other symptoms—slow recovery, unusual noises, discolored water, or repeated component failures—should be evaluated before the unit fails completely.

Quote Checklist

  • Exact unit model and warranty
  • Removal and disposal of the old heater
  • Permit and inspection fees
  • Expansion tank if required
  • Drain pan and drain line
  • Gas vent or electrical work
  • New shutoff valves and connectors

Operating Cost Matters Too

The cheapest unit to install is not always the cheapest to own. Energy efficiency, local gas and electricity prices, hot-water use, and maintenance all affect lifetime cost. Compare the EnergyGuide information on similar units when choosing between models.

See our full collection of home improvement cost calculators for related systems and renovation projects.

What to Include in a 40-Gallon Water Heater Quote

A replacement quote should cover more than the tank itself. Ask whether removal of the old unit, new shutoff valves, drain pan, expansion tank, venting adjustments, electrical or gas connections, permits and disposal are included. Small code-related upgrades can create a meaningful difference between two otherwise similar bids.

Like-for-Like Replacement vs. System Change

Replacing a 40-gallon unit with a similar fuel type and location is usually simpler than changing technologies. Moving from gas to electric, converting to a heat-pump water heater or relocating the tank can require electrical, venting, condensate or plumbing work that should be priced separately.

Questions to Ask the Installer

  • What exact model and warranty are included?
  • Is the quoted capacity appropriate for the household’s hot-water demand?
  • Are permit and inspection fees included?
  • Will existing venting, wiring or gas connections be reused?
  • What code upgrades are expected?
  • How are unexpected plumbing repairs priced?

For planning, compare total installed cost and expected operating characteristics instead of focusing only on the tank purchase price. A clear, itemized quote makes it easier to decide whether a basic replacement or a higher-efficiency option provides better value for the home.

Sources: HomeGuide — 40-Gallon Water Heater Cost and Angi — Water Heater Replacement Cost (2026).

Estimate your water heater replacement cost →

Ready to estimate?

Turn the guide into a project budget.

Use a free calculator to build a planning range before collecting contractor quotes.

Water Heater Replacement Cost Calculator →