40-gallon water heater replacement cost - electric tank water heater in a utility closet

40-Gallon Water Heater Replacement Cost (2026 Prices)

Short answer: the typical 40-gallon water heater replacement cost is about $750 to $1,900 for an electric tank and $900 to $1,900 for a gas tank, counting the unit, labor and a permit. A 40-gallon hybrid heat pump model costs around $1,700 for the unit alone, before installation.

Want a number for your own home? Try our water heater replacement cost calculator.

Prices checked in October 2026. Unit prices are Home Depot list prices for 40-gallon Rheem models; labor, permit and extras come from published national cost data. Sources are at the bottom of the page.

Forty gallons is the classic size for apartments, condos and smaller houses, and it’s also what a lot of older homes were built with. The good news is that it’s the cheapest common size to replace. The less obvious news is that the price gap with a 50-gallon tank is smaller than most people expect, which matters if your household has grown since the last heater went in.

40-gallon water heater replacement cost, line by line

Line itemElectric tankGas tank
Water heater (40 gal)$499 – $689$649 – $669
Labor (standard tank install)$200 – $1,000$200 – $1,000
Permit$50 – $200$50 – $200
Haul-away of the old tankOften included, or $75 – $500Often included, or $75 – $500
Total$749 – $1,889$899 – $1,869
Unit prices: Home Depot, October 2026 (6-year warranty models). Labor, permit and haul-away: HomeGuide. Total excludes haul-away when billed separately.

HomeGuide’s broader range for a 40-gallon tank is $600 to $3,000 installed. The top of that range covers longer-warranty units, harder installs and code work, which are explained further down.

What 40-gallon models cost right now

Model (40 gallons)FuelWarrantyPrice
Rheem Performance, tall, 4500 WElectric6 years$499 – $689
Rheem Performance, medium, 4500 WElectric6 years$659
Rheem Performance Plus, tall, 5500 WElectric9 years$849
Rheem Performance, tall, 36,000 BTUNatural gas6 years$649
Rheem Performance, short, 34,000 BTUNatural gas6 years$669
Rheem ProTerra hybridHeat pump10 years$1,699
Home Depot list prices checked October 20, 2026. Two prices for the same model means it was listed differently on different pages. Local prices vary.

“Short” and “tall” versions hold the same amount of water. Short tanks are made for basements and spaces with low clearance; tall tanks fit a narrower footprint. Your installer will usually match what you have now, because the water and gas connections are already at the right height.

40 vs 50 gallons: how much more is the bigger tank?

Not a lot. Comparing Home Depot prices on the same day for the same Rheem Performance line:

40 gallons50 gallons
Electric, 6-year (unit)$499 – $689$539 – $789
Gas, 6-year (unit)$649 – $669$729 – $1,070
Installed, all types (HomeGuide)$600 – $3,000$700 – $3,100

Labor is the same for both sizes, so the difference comes down to roughly $40 to $100 on an electric unit and $80 or more on a gas unit. If you’re on the fence, it’s a cheap upgrade. The catch is space: a 50-gallon tank is taller or wider, and it has to fit the closet, the pan and the vent. The full breakdown for the bigger size is in our 50-gallon water heater replacement cost guide.

Is a 40-gallon tank enough for your home?

Gallons on the label don’t tell you how much hot water you’ll get in a busy hour. The number to check is the first hour rating, printed on the EnergyGuide label as “Capacity (first hour rating)”. The Department of Energy suggests adding up your busiest hour with these averages: shower 20 gallons, top-loading washer 25, front-loader 15, dishwasher 7, hand dishwashing 3, shaving 2.

Example household’s busiest hourHot water needed
1 shower + dishwasher + hand dishwashing20 + 7 + 3 = 30 gallons
2 showers + dishwasher40 + 7 = 47 gallons
2 showers + dishwasher + top-load laundry40 + 7 + 25 = 72 gallons
3 showers + front-load laundry60 + 15 = 75 gallons
Usage figures: U.S. Department of Energy, Energy Saver.

Pick a heater whose first hour rating is at least your total. If the first two rows look like your mornings, a 40-gallon tank is usually fine. If you’re closer to the last two, compare the first hour ratings of 40- and 50-gallon models before you buy, or spread laundry to a different time of day.

Running out of hot water isn’t always a size problem. On an electric tank, a failed lower heating element cuts the usable hot water sharply. Sediment buildup does something similar on gas tanks. If your 40-gallon heater used to be enough and suddenly isn’t, have it checked before you pay for a bigger one.

Extra costs that can show up

ExtraTypical cost
Expansion tank$100 – $400
Vent replacement (gas)$100 – $600
Gas line upgrade$350 – $2,000
Dedicated electrical circuit$250 – $900
Code compliance upgrades (pan, straps, valves)$75 – $500+
Relocating the tank$500 – $2,500
Difficult installs, hourly$125 – $300 per hour
Source: HomeGuide (updated January 2026).

Forty-gallon tanks often sit in tight spots: hall closets, under stairs, inside condo utility rooms. That’s where the hourly “difficult install” rate tends to come in, so ask how the installer plans to get the old tank out before you agree to a price.

What the 2029 efficiency rule means for 40-gallon electric tanks

A Department of Energy rule that takes effect for water heaters produced on or after May 6, 2029 requires heat pump technology in electric tanks larger than 35 gallons. According to A. O. Smith’s summary of the rule, nominal 40-gallon electric models currently rated at 36 or 37 gallons will need to be rated at 35 gallons to stay outside that requirement.

For you, that means two things. Anything installed before then isn’t affected. After 2029, a basic electric “40-gallon” replacement may hold slightly less water than the tank it replaces, so checking the first hour rating will matter even more.

Should you go heat pump at 40 gallons?

A 40-gallon heat pump unit costs about $1,000 more than a basic electric tank at the store. HomeGuide estimates yearly energy costs of $530 to $600 for an electric tank and $160 to $190 for a hybrid heat pump model, so the savings can cover the difference in a few years in a household that uses a lot of hot water. In a one- or two-person condo, usage is lower and the payback is slower. Heat pump units also need enough air around them and a condensate drain, which rules out some closets.

The federal tax credit for heat pump water heaters ended for equipment placed in service after December 31, 2025, according to the IRS. Utility rebates are separate; check your ZIP code on the ENERGY STAR Rebate Finder.

Related guides: Rheem vs A.O. Smith vs Bradford White and heat pump water heater cost.

Frequently asked questions

How much does it cost to replace a 40-gallon gas water heater?

About $900 to $1,900 for a standard 6-year model, including the unit ($649 to $669 at Home Depot in October 2026), labor and a permit. Venting or gas line work adds to that.

How much does it cost to replace a 40-gallon electric water heater?

About $750 to $1,900 with a 6-year model. Electric tanks are usually a bit simpler to swap because there’s no gas line or vent to deal with, as long as the existing circuit matches the new heater’s wattage.

Can I replace a 40-gallon tank with a 50-gallon one?

Usually yes, if it physically fits and the gas line, vent or electrical circuit can handle it. The unit costs a little more, but labor is about the same as a like-for-like swap.

How many people can a 40-gallon water heater serve?

It depends on habits more than headcount. Add up your busiest hour using the table above and compare it with the heater’s first hour rating. Two people who shower back to back while the dishwasher runs need about 47 gallons in that hour.

Sources

Similar Posts