Gas vs Electric Water Heater: Install and Running Costs
Short answer: an electric water heater is cheaper to buy and install, but a gas water heater is usually cheaper to run. For a 50-gallon tank at 2025–2026 average U.S. energy prices, electric costs about $640 a year to run and gas about $260 to $280. A heat pump water heater, which is also electric, costs about $150 to $170.
Want a number for your own home? Try our water heater replacement cost calculator.
Running costs below are my own calculation using the federal test usage pattern and the latest national average prices from the U.S. Energy Information Administration (EIA). Equipment prices are Home Depot list prices checked in October 2026. Every number and assumption is listed so you can redo the math with your own utility rates.
Upfront cost: gas vs electric
| 50-gallon tank, replacing the same type | Electric | Gas |
|---|---|---|
| Unit (6-year warranty models) | $539 – $789 | $729 – $1,070 |
| Labor | $200 – $1,000 | $200 – $1,000 |
| Permit | $50 – $200 | $50 – $200 |
| Total | $789 – $1,989 | $979 – $2,270 |
Gas heaters cost more because they include a burner, gas valve and flue, and the install involves a gas connection and venting. If the vent needs replacing, HomeGuide adds $100 to $600; a direct-vent or power-vent model costs $350 to $500 more than a standard one. Electric tanks need a dedicated 240-volt circuit, which most homes with an existing electric heater already have. More detail is in our 50-gallon and 40-gallon replacement cost guides.
Running cost: gas vs electric vs heat pump
| Type | Typical efficiency (UEF) | Energy used per year | Cost per year |
|---|---|---|---|
| Electric tank | 0.92 | 3,531 kWh | $643 |
| Gas tank | 0.58 – 0.64 | 16.7 – 18.4 thousand cu ft | $256 – $283 |
| Heat pump (hybrid electric) | 3.50 – 3.88 | 837 – 928 kWh | $152 – $169 |
How these numbers were calculated
- Hot water used: 55 gallons a day, heated by 67°F. That’s the “medium” usage pattern in the federal efficiency test for water heaters. Larger households often use more, which makes every type cost proportionally more to run.
- Heat needed: 55 gal × 8.24 lb/gal × 67°F = 30,364 Btu a day, or about 11.08 million Btu (3,248 kWh) a year.
- Efficiency: divide by the heater’s Uniform Energy Factor (UEF). The values in the table are typical for each type; your model’s UEF is on its label or spec sheet.
- Electricity: 18.2¢ per kWh, the EIA’s forecast U.S. residential average for 2026 (it was 17.3¢ in 2025).
- Natural gas: $15.34 per thousand cubic feet, the EIA’s U.S. residential average for 2025, with 1,037 Btu per cubic foot.
These results line up with HomeGuide’s independent estimates of $530 to $600 a year for an electric tank, $250 to $420 for gas and $160 to $190 for a heat pump unit.
Use your own rates. Electricity and gas prices vary a lot by state. Find the price per kWh and per therm or cubic foot on your utility bill, then multiply: 3,531 kWh × your electric rate for an electric tank, or about 17.5 thousand cubic feet × your gas rate for a gas tank. (One thousand cubic feet is roughly 10.4 therms.)
Total cost over 10 years
Putting the two together, using the midpoint of each install range and keeping energy prices flat:
| 50-gallon type | Installed (midpoint) | 10 years of energy | 10-year total |
|---|---|---|---|
| Electric tank | $1,389 | $6,430 | $7,819 |
| Gas tank | $1,625 | $2,700 | $4,325 |
| Heat pump | $3,300 | $1,600 | $4,900 |
Over a decade, a standard electric tank costs roughly $3,500 more to own than a gas tank at national average prices. A heat pump closes most of that gap for homes without gas. Where electricity is cheap and gas is expensive, the gap narrows; where electricity is expensive, it widens.
Which one runs out of hot water first?
Gas usually wins here. A typical 50-gallon gas tank has a 40,000 Btu burner; a typical electric tank has a 4,500-watt element (about 15,400 Btu). Heating water by 90°F takes about 750 Btu per gallon, so the gas tank reheats roughly 40 gallons an hour and the electric tank about 20, assuming typical burner efficiency. That’s why an electric tank of the same size tends to have a lower first hour rating and takes longer to recover after back-to-back showers.
What if you want to switch fuels?
| Conversion | Extra cost on top of the heater | What’s involved |
|---|---|---|
| Electric to gas | $400 – $2,000+ | Running a gas line, adding a vent, permit |
| Gas to electric | $250 – $1,000+ | New 240-volt circuit, capping the gas line |
With savings of around $350 to $390 a year, switching from electric to gas typically pays for itself in a few years if gas is already in the house. If you’d need a new gas service run to the house, the math usually doesn’t work for a water heater alone.
Which should you choose?
- You have gas now: stick with gas for the lowest total cost and faster recovery.
- You have electric now and no gas line: compare a standard electric tank with a heat pump model. The heat pump costs more up front but saves several hundred dollars a year.
- The heater sits in a small closet: a standard electric tank is the simplest fit. Gas needs venting and combustion air; heat pump units need space and air around them.
- You’re selling soon: replace like for like. Buyers rarely pay more for the water heater.
Frequently asked questions
Is a gas water heater cheaper than electric?
To buy and install, no: gas costs a few hundred dollars more. To run, yes: at 2025–2026 national average prices, a gas tank costs less than half as much per year as a standard electric tank.
Do gas water heaters work during a power outage?
Models with a standing pilot light generally keep working, since they don’t need electricity. Models with electronic ignition, power venting or smart controls need power and won’t heat during an outage.
Which lasts longer, gas or electric?
Lifespan depends more on water quality, maintenance and the anode rod than on the fuel. Both types come with 6-, 9- and 12-year tank warranties, and a longer warranty is the most reliable signal of a longer-lasting tank.
Sources
- U.S. EIA, Short-Term Energy Outlook (October 2026): residential electricity prices.
- U.S. EIA, U.S. Price of Natural Gas Delivered to Residential Consumers (annual).
- HomeGuide, Water Heater Installation Cost (updated January 2, 2026).
- Home Depot, 50-gallon water heater listings, prices checked October 20, 2026.
- U.S. Department of Energy test procedure for water heaters (10 CFR Part 430, Appendix E): medium draw pattern of 55 gallons per day and 67°F temperature rise.