Gas vs Electric Water Heater Cost: Which Is Cheaper to Own?
Whichever fuel already runs to your utility room usually decides this one before cost even enters the conversation. Gas units run $700 to $1,800 installed for a 40 to 50 gallon tank; electric costs $500 to $1,400 for the same capacity. Gas typically costs $100 to $200 more to buy and saves $100 to $200 a year to run. Where the gas line already exists, gas wins long-term. Where it does not, adding one erases years of savings before you heat a single gallon.
Installed cost comparison
| Fuel type and size | Unit cost | Installation | Total range |
|---|---|---|---|
| Electric, 40 gal | $300 to $700 | $200 to $500 | $500 to $1,200 |
| Electric, 50 gal | $400 to $900 | $200 to $500 | $600 to $1,400 |
| Gas, 40 gal | $400 to $900 | $300 to $600 | $700 to $1,500 |
| Gas, 50 gal | $500 to $1,100 | $300 to $700 | $800 to $1,800 |
| Electric tankless | $500 to $1,200 | $300 to $800 | $800 to $2,000 |
| Gas tankless | $700 to $2,000 | $500 to $1,500 | $1,200 to $3,500 |
Pick gas if
- The line already runs to the house. Where gas infrastructure exists, it is typically the cheaper fuel to run long-term.
- Recovery speed matters. A standard 40 gallon gas unit recovers 40 to 50 gallons per hour versus 20 to 30 for comparable electric, which counts for a household running back-to-back morning showers.
- You want the fastest tankless option. Gas tankless units deliver higher flow rates than electric tankless in most residential setups.
Pick electric if
- There is no gas service. Running a new line costs $500 to $2,000 or more, which erases years of operating savings before it starts paying you back.
- You are planning to electrify the rest of the home. Several states are phasing out gas hookups in new construction; if solar is on the roadmap, electric fits that trajectory.
- You want the efficiency ceiling. A heat pump water heater runs two to three times more efficiently than resistance electric, cutting annual cost to roughly $150 to $300 and often beating gas outright after rebates.
Confirm which fuel type is cheaper where you live
A local plumber can quote the actual cost of a gas line or a panel upgrade for your home.Talk to a local plumber →
Free to request, no obligation. We earn a fee only if a job gets booked.
Switching fuel types mid-project
Possible in either direction, but a conversion costs more than a straight swap. Going to gas means a line installation and proper venting, typically $300 to $1,500 depending on run length. Going to electric means a dedicated 240-volt circuit and possibly a panel upgrade, in a similar range. A licensed plumber handles the gas and plumbing side; get a separate quote from a licensed electrician for any panel work before deciding.
FAQs
Does gas or electric have a longer lifespan?
Electric tanks average 10 to 15 years against 8 to 12 for gas. Electric elements cycle more gently and produce no combustion byproducts that accelerate internal corrosion, which is the whole explanation. It is a real gap, just not a large one.
What does the US Department of Energy say about operating cost?
The DOE puts gas tank operating costs at $300 to $500 a year versus $400 to $700 for a comparable electric resistance tank, a gap of $1,000 to $2,000 over 10 years in most markets. Cheap local electricity rates or rooftop solar can shrink that gap or erase it.
More on fuel and sizing
- Tank versus tankless, the full comparison
- Choosing the right tank size
- The complete installed cost breakdown
Which one wins
Gas costs more to buy and less to run where the infrastructure already exists. Electric costs less to buy and more to run in most markets, except for a heat pump unit, which can beat gas on operating cost after rebates. Run the calculator to compare 10-year ownership cost for your ZIP, then confirm with a licensed plumber before you commit.