40 Gallon Water Heater Cost Installed (2026)

The average 40 gallon water heater cost installed in 2026 ranges from $1,000 to $2,500, with most homeowners paying around $1,600 for a professionally installed unit. The 40-gallon tank is the most common residential size in America — the default choice for 2-3 person households — and it is also the cheapest to buy and install. This guide covers gas vs electric prices, installation costs, top brands, and how to tell whether 40 gallons is actually enough for your home.

Key takeaway: Budget $500-$1,100 for an electric 40-gallon unit or $600-$1,300 for gas, plus $500-$1,200 for professional installation. A 40-gallon tank suits 1-3 people; households of 4+ should step up to 50 gallons to avoid cold showers.

Average 40 Gallon Water Heater Cost in 2026

A 40-gallon tank hits the sweet spot of price, size, and availability. Because it is the highest-volume size sold, competition keeps unit prices low and every plumber stocks them — which also keeps installation quotes competitive.

ConfigurationUnit costInstallationTotal installed
Electric 40-gal (standard)$500-$1,100$500-$1,100$1,000-$2,200
Gas 40-gal (standard)$600-$1,300$600-$1,400$1,200-$2,500
Gas 40-gal (high efficiency)$900-$1,600$700-$1,500$1,600-$3,100
Electric 40-gal (heat pump hybrid)$1,300-$2,000$900-$1,700$2,200-$3,700

These are like-for-like replacement prices. Converting from electric to gas (or the reverse) adds $300-$1,500 for fuel line or electrical work. For the full picture across all heater technologies, see our water heater installation cost guide.

Gas vs Electric: Unit Price Comparison

At the 40-gallon size, gas and electric units are closer in price than many homeowners expect. The real difference shows up in operating costs, not the sticker price.

FactorElectric 40-galGas 40-gal
Unit price range$500-$1,100$600-$1,300
Annual energy cost$500-$650$220-$350
Recovery rate~20 gal/hour~35-40 gal/hour
First-hour rating~50-55 gal~65-70 gal
Venting requiredNoYes (flue or power vent)
Typical lifespan10-15 years8-12 years

Gas recovers nearly twice as fast, which is why a 40-gallon gas tank can serve a household that would need a 50-gallon electric. But gas units need venting and cost more to install, and they have a shorter average lifespan. If your home has no gas line, electric is the obvious choice — and a heat pump hybrid electric (see heat pump costs) cuts the electric operating cost by two-thirds.

Installation Cost Breakdown

A standard 40-gallon replacement takes a plumber 2-3 hours. Here is what the labor portion covers:

Line itemTypical cost
Labor (drain, swap, reconnect, test)$400-$800
Old unit haul-away$75-$200
Permit + inspection$50-$300
Expansion tank (if required by code)$150-$300
New supply lines / valves$50-$150
Seismic straps (earthquake zones)$50-$150
Drain pan (units over living space)$100-$250

Total labor and extras: $500-$1,400 on top of the unit. Quotes under $1,000 all-in for a gas 40-gallon should raise questions — the permit, expansion tank, or haul-away is probably missing. Get three written quotes and compare them line by line.

Top Brands and Price Tiers

Three manufacturers dominate the US residential market, and their 40-gallon models are priced within a few hundred dollars of each other:

Brand40-gal electric40-gal gasWarrantyNotes
Rheem Performance$550-$800$650-$9506-9 yrWidest retail availability
A. O. Smith ProLine$600-$900$700-$1,0006-10 yrPlumber-preferred, pro channel
Bradford White Defender$650-$950$750-$1,1006-10 yrSold through wholesalers only
Rheem Performance Platinum$800-$1,100$950-$1,3009-12 yrLonger warranty, thicker anode

The longer-warranty models are essentially the same tank with a larger anode rod and a higher price — often worth it, since the warranty difference (6 vs 12 years) costs only $200-$300. Bradford White is not sold at big-box stores; you buy it through your plumber, which is why plumbers tend to recommend it.

Is 40 Gallons Enough for Your Household?

Tank size is about the first-hour rating (FHR) — how much hot water the heater can deliver in a busy hour — not just the tank volume. A 40-gallon gas unit (FHR ~67) and a 40-gallon electric (FHR ~52) serve different households:

  • 1-2 people: 40 gallons is plenty, gas or electric. Even back-to-back showers work.
  • 3 people: 40-gallon gas is comfortable; 40-gallon electric works if showers are staggered and the dishwasher runs at off-times.
  • 4+ people: step up to 50 gallons. A 40-gallon tank in a 4-person home means scheduling showers and cold surprises.
  • High-demand fixtures: a soaking tub (60-80 gallons per fill), body sprays, or simultaneous shower + laundry all push you to 50+ gallons regardless of headcount.

Undersizing is the most common water heater regret — it costs only $100-$200 more to buy the 50-gallon unit, but living with cold showers for a decade is miserable. When in doubt, size up.

40 Gallon vs 50 Gallon: Which to Buy?

40 gallon50 gallon
Unit cost$500-$1,300$600-$1,500
Installed cost$1,000-$2,500$1,100-$2,800
Footprint~20" diameter x 60" tall~22" diameter x 60" tall
Annual energy costSlightly lower~$15-$30/year more
Best for1-3 people, tight spaces3-5 people, high demand

The 50-gallon unit costs only about $100-$200 more and fits in nearly the same footprint — two inches wider. The only real reasons to choose 40 gallons are a tight closet that cannot fit the wider tank, or a 1-2 person household that will never need more. For most buyers, the 50-gallon is the safer default; see our water heater replacement cost guide for 50-gallon pricing.

Lifespan and Operating Costs

A 40-gallon tank lasts 10-15 years (electric) or 8-12 years (gas) with basic maintenance. Over its life, energy — not the purchase price — dominates what you spend:

Cost over 12 yearsElectric 40-galGas 40-gal
Purchase + install$1,600$1,800
Energy (12 yrs)$6,900$3,420
Maintenance (flushes, anode)$600$600
12-year total$9,100$5,820

That $3,000+ lifetime gap is why fuel choice matters more than brand. And it is why a heat pump hybrid — which cuts electric operating costs by 60-70% — can be the smartest 40-gallon buy for all-electric homes despite the higher upfront price.

Stretch the lifespan with annual flushing and an anode rod check every 3-5 years — our flush and maintenance guide shows how. If your current 40-gallon is over 10 years old, rumbling, or producing rusty water, start getting quotes now rather than waiting for a failure. Call (877) 762-1902 for fast, professional water heater replacement.

Frequently Asked Questions

How much does a 40 gallon water heater cost installed?
In 2026, a 40-gallon water heater costs $1,000-$2,200 installed for electric and $1,200-$2,500 for gas, with most homeowners paying around $1,600 total. The unit itself runs $500-$1,300.
Is a 40 gallon water heater enough for a family of 4?
Usually not. A 40-gallon tank suits 1-3 people. A family of four should get a 50-gallon unit to avoid running out of hot water during back-to-back showers.
How long does a 40 gallon water heater last?
Electric 40-gallon tanks last 10-15 years; gas models last 8-12 years. Annual flushing and replacing the anode rod every 3-5 years pushes you toward the top of those ranges.
Which is cheaper to run, gas or electric 40 gallon?
Gas is much cheaper to run — about $220-$350/year versus $500-$650/year for electric. Over 12 years, the gas unit saves roughly $3,000 in energy costs.
Should I get a 40 or 50 gallon water heater?
Get the 50-gallon unless space is tight or your household is 1-2 people. It costs only $100-$200 more, fits in nearly the same footprint, and eliminates the risk of cold showers.
What are the best 40 gallon water heater brands?
Rheem, A. O. Smith, and Bradford White dominate the market. Longer-warranty models (9-12 years) from any of the three cost $200-$300 more and are usually worth it.
AP
ABS Pipes Editorial Team
Our guides are researched from plumbing codes, manufacturer specs and licensed-plumber interviews, then reviewed for accuracy before publishing. Prices are re-verified periodically — see the "last verified" note on cost guides.
Disclaimer: This content is for informational purposes only and is not licensed plumbing advice. Plumbing work can involve water damage, gas lines and code violations — when in doubt, hire a licensed plumber in your area.