Disclosure: As an Amazon Associate, Sweet Home Advisor earns from qualifying purchases. If you buy through links on this page, we may earn a small commission at no extra cost to you.
Gas or electric is usually the first question when choosing a water heater, and for most homes the answer is decided by what you already have: a gas line, venting and the capacity of your electrical panel. But if you have a choice, the right fuel depends on your local energy prices, how much hot water you use and how much you want to spend upfront.
This guide compares gas and electric water heaters on cost, performance, installation and safety, and shows how to work out which is cheaper to run where you live.
Quick verdict
- Gas heats water faster and usually costs less to run where gas is cheap, but needs venting and a gas supply.
- Electric resistance is the simplest and often cheapest to install, but usually the most expensive to run.
- Electric heat pump water heaters are the most efficient option of all and often have the lowest running costs, at a higher upfront price.
Gas vs electric at a glance
| Gas | Electric (resistance) | Electric heat pump | |
|---|---|---|---|
| Upfront cost | Moderate | Lowest | Highest |
| Running cost | Usually lower where gas is cheap | Usually highest | Usually lowest |
| Recovery speed | Fast | Slower | Slower (has backup elements) |
| Installation | Needs gas line and venting | Needs a dedicated circuit | Needs a dedicated circuit and space with enough air |
| Safety notes | Combustion: needs proper venting and a CO alarm | No combustion | No combustion |
Which is cheaper to run? Do the math for your area
Running cost depends on two things: your local energy prices and the heater’s efficiency. You can compare them yourself using the price of the heat that actually reaches your water.
- 1 therm of gas = about 29.3 kWh of energy.
- Gas tank heaters are roughly 60% to 70% efficient; condensing gas tankless units can exceed 90%.
- Electric resistance heaters convert nearly all electricity into heat (close to 100%).
- Heat pump water heaters deliver several units of heat for each unit of electricity. ENERGY STAR says certified models can be up to about four times more efficient than conventional electric heaters.
Worked example (using example prices only; use your own bills):
| Heater | Example energy price | Approx. cost per 29.3 kWh of hot water heat |
|---|---|---|
| Gas tank (about 65% efficient) | $1.50 per therm | $1.50 ÷ 0.65 ≈ $2.31 |
| Electric resistance (about 100%) | $0.17 per kWh | 29.3 × $0.17 ≈ $4.98 |
| Heat pump (about 3.5 times as efficient) | $0.17 per kWh | $4.98 ÷ 3.5 ≈ $1.42 |
With these example prices, gas costs about half as much to run as standard electric, and a heat pump costs less than either. Your result will change with your local rates, so plug in the numbers from your own gas and electric bills.
Performance: how fast do they heat?
Gas burners put heat into water much faster than electric elements. A gas tank recovers (reheats after use) noticeably quicker than an electric tank of the same size, which matters for families with back-to-back showers. When comparing tanks, check the first-hour rating (FHR): the gallons of hot water the heater can deliver in an hour starting with a full tank.
For tankless units, gas models deliver much higher flow rates than most electric models, especially in cold climates. See our tankless sizing guide for the numbers.
Installation and upfront cost
- Gas needs a gas supply sized for the heater and proper venting (a chimney, B-vent, power vent or direct vent). Switching from electric to gas can be expensive if there is no gas line.
- Electric tank heaters usually need only a dedicated 240 V circuit, making them the simplest to install.
- Electric tankless units can require very large electrical service (often 100+ amps and several circuits). See the example in our EcoSmart ECO 27 review.
- Heat pump tanks need space with enough air volume and work best in moderate temperatures, such as a garage or basement in mild climates.
Thinking of switching fuels? Read how to change a gas water heater to electric first.
Safety and power outages
- Gas heaters burn fuel, so correct venting is essential and a carbon monoxide alarm is strongly recommended nearby.
- Power outages: older gas tanks with a standing pilot can keep working without electricity, but many newer gas heaters, including power-vent and most tankless models, need power to run. Learn more in does a gas water heater need electricity?
- Electric heaters stop working entirely during a power outage.
Which should you choose?
| Your situation | Best fit |
|---|---|
| You already have gas and venting | Gas (tank or tankless) |
| No gas line, lowest upfront cost | Electric tank |
| No gas, want the lowest running cost | Heat pump water heater |
| Large family, cold climate, lots of hot water | Gas, especially gas tankless or a high-recovery gas tank |
| Small space, warm climate, light use | Electric tankless or point-of-use heater |
Compare gas water heaters on Amazon → | Compare electric water heaters →
Frequently asked questions
Is gas or electric cheaper to run?
Where natural gas is reasonably priced, a gas heater usually costs less to run than a standard electric one. A heat pump water heater is often cheaper than both. Compare your local prices using the method above.
Which heats water faster?
Gas. Gas burners transfer heat much faster than electric elements, so gas tanks recover quicker after heavy use.
Are gas water heaters safe?
Yes, when installed and vented correctly by a qualified professional. Install a carbon monoxide alarm and have the venting checked if you notice soot, a strong smell or the pilot going out.
How long do gas and electric water heaters last?
Tank heaters of either fuel typically last about 8 to 12 years. Tankless units usually last longer. See our tank vs tankless comparison.
Efficiency figures are typical ranges; check the Uniform Energy Factor (UEF) on the specific model. Energy prices in the worked example are illustrations only. Gas and electrical work should be done by licensed professionals.