Updated November 2026
Gas vs Electric Water Heater: Which Should You Buy?
Written by Prezzo Editorial Team
Water filters, softeners and water heaters
Last updated
An electric water heater costs less to buy and install ($800–$1,500 installed vs $900–$3,000 for gas, per Fixr), while a gas tank costs less to run ($325–$475 a year vs $600–$750 at 50 gallons) and delivers more hot water in the first hour. In most homes, the fuel you already have decides it. Compare models in our best water heater guide.
We compared 11 electric and 14 gas tank models on UEF, first-hour rating, input and warranty, plus installed and operating costs from Fixr, Thumbtack, This Old House, Bob Vila and DOE FEMP, using manufacturer spec sheets, ENERGY STAR's database and dated Home Depot prices (checked Nov 29, 2026). We did not test them in a lab.
| Electric tank | Gas tank | |
|---|---|---|
| 50-gal Rheem price (Nov 29, 2026) | $569 | $749 |
| Installed (Fixr) | $800–$1,500 | $900–$3,000 |
| Yearly running cost, 50 gal (Fixr) | $600–$750 | $325–$475 |
| First-hour rating in our data | 49–63 gal | 68–118 gal |
| UEF in our data | 0.91–0.93 | 0.58–0.66 standard; 0.88–0.9 ENERGY STAR |
| Needs | 240V circuit | Gas line and vent |
Affiliate disclosure: As an Amazon Associate, Prezzo earns from qualifying purchases. Links marked "Check Price" are affiliate links; they never change our rankings. How we make money
1. The Short Answer: Electric Is Cheaper to Buy, Gas to Run
Gas and electric tank heaters do the same job in the same kind of tank. The difference is the heat source: a burner under the tank or elements inside it. That one difference sets the price, the running cost, how quickly the tank recovers and what the installer has to connect.
On the numbers in our data, an electric tank wins on purchase price and installation, and a gas tank wins on yearly energy cost and on how much hot water it delivers in a busy hour. Neither is better in every house. In practice, most people should replace like for like, because switching fuels adds costs that take years to recover.
Choose Electric If
Your home has no gas service, the heater sits where venting would be awkward, or you want the simplest and cheapest replacement. Our electric water heater guide ranks the models.
Choose Gas If
You already have a gas line and a working vent at the heater, your household uses a lot of hot water at once, or electricity is expensive where you live. Our gas water heater guide covers the models.
Look Past Both If
You are electric and plan to stay for years. A heat pump water heater uses electricity but costs less to run than either standard type on Fixr's figures; section 7 covers it.
2. Upfront Cost: Unit Prices and Installed Ranges
The unit price gap is small. The installed gap is larger, because a gas heater has more to connect.
| Cost | Electric | Gas | Source |
|---|---|---|---|
| 40-gal Rheem unit (Nov 29, 2026) | $499 (XE40M06ST45U1) | $649 (XG40T06EC36U1) | Home Depot |
| 50-gal Rheem unit (Nov 29, 2026) | $569 (XE50M06ST45U1) | $749 (XG50T06EC38U1) | Home Depot |
| Typical unit | about $850 | about $800 plus venting | This Old House |
| Installed tank | $800–$1,500, average $1,000 | $900–$3,000, average $1,400 | Fixr |
| Replacement | $632–$1,870 | $725–$2,310 | Thumbtack |
| 40-gal installed | $700–$1,650 | $700–$2,300 | Fixr |
| 50-gal installed | $700–$1,900 | $900–$2,500 | Fixr |
Why Gas Installs Cost More
A gas tank has a gas connection, a vent connector and a combustion check on top of the water lines. If the existing vent suits the new heater, that adds little. If the new heater is a power-vent model or the flue needs work, it adds a venting line to the quote: This Old House prices direct venting at $500–$1,000 and a power-vent system at $300–$600 plus electrical work (This Old House).
Electric Labor Is Simple
Fixr puts labor for a tank-style electric heater at $150–$450 (Fixr). The installer reconnects the water lines and the existing circuit, and fills the tank before power goes on.
The Cost of Switching
Moving from electric to gas means running a gas line, which This Old House prices at $1,500–$2,300 for a conversion, and Bob Vila at $275–$825 for a gas line addition during a replacement (This Old House, Bob Vila), plus a vent. Moving from gas to electric means a 240-volt circuit if one is not already there. Either way, price the conversion before you compare fuels. Our water heater replacement cost guide lists every add-on, and how much does a water heater cost compares unit prices across all types.
3. Running Cost: Gas Wins on Most Bills
Over a decade, energy usually costs more than the heater. This is where gas pulls ahead in most of the country.
| Source | Electric, per year | Gas, per year |
|---|---|---|
| Fixr, 40-gallon | $550–$700 | $300–$450 |
| Fixr, 50-gallon | $600–$750 | $325–$475 |
| Fixr, traditional tanks | $450 | $275 |
What Drives the Gap
Both fuels heat the same water, so the difference comes down to price per unit of heat. Fixr's figures imply that, for a typical household, gas is the cheaper source of heat, which is why its gas numbers come in lower even though a standard gas tank wastes more of its fuel up the flue than an electric tank wastes through its jacket.
Rated Energy Use
DOE FEMP uses a less efficient standard electric tank using 3,437 kWh a year as its reference (FEMP). On the gas side, ENERGY STAR lists the efficient gas tanks in our data at 188–192 therms a year. Multiply each by your own utility rate for a rough yearly bill and the comparison becomes specific to your house.
When Electric Can Win
Where gas is expensive or electricity is cheap, the gap narrows. A small household that uses little hot water also saves less in absolute terms by choosing gas. And if you would need a new gas line, the running-cost saving has to pay that back first.
4. Hot Water Supply: Gas Recovers Faster
For the same tank size, a gas heater usually delivers more hot water in a busy hour because its burner puts heat into the water faster than electric elements do.
| Tanks in our data | First-hour rating, 40-gal class | First-hour rating, 50-gal class | Input |
|---|---|---|---|
| Electric (11 models) | 49–55 gal | 57–63 gal | 4.5 kW |
| Standard gas (9 models) | 68–80 gal | 81–85 gal | 36–40k BTU/h |
| ENERGY STAR gas (5 models) | 86–88 gal | 95–118 gal | 50–65k BTU/h |
Reading the First-Hour Number
This rating counts the gallons a full tank can supply over sixty minutes of use, including whatever it reheats meanwhile. It is the right number for sizing a tank because it captures both storage and recovery. Our what size water heater do I need calculator turns your morning routine into a target.
High-Input Gas Tanks
The A. O. Smith GPCX-50L in our data is rated 118 gallons in the first hour from a 49-gallon tank, helped by a 65,000 BTU per hour burner. No standard electric tank in our data comes close to that at any size.
An Electric Home That Runs Short
If you are electric and run out of hot water, a larger tank is the usual answer rather than a fuel switch. Compare first-hour ratings across sizes in our 50 gallon water heater and 40 gallon water heater guides.
5. Efficiency Ratings: Why UEF Misleads Across Fuels
Uniform Energy Factor (UEF) is the federal efficiency rating on every new heater. Within a fuel it is a fair comparison. Across fuels it is not, because it counts energy at the heater, not what that energy costs.
| Tanks in our data | UEF range | ENERGY STAR |
|---|---|---|
| Electric resistance | 0.91–0.93 | Not eligible; none of ours are listed |
| Standard gas (atmospheric) | 0.58–0.66 | Not listed |
| Efficient gas (power vent, condensing) | 0.88–0.9 | Certified; minimum 0.81 medium draw, 0.86 high draw |
ENERGY STAR minimums are from its key product criteria.
Why Electric Scores Higher
Almost all the electricity an element uses ends up in the water, so electric tanks score around 0.91–0.93. A standard gas tank sends part of its heat up the flue, so it scores 0.58–0.66. That gap is real, but it is measured in units of energy, and a unit of gas usually costs less than a unit of electricity, which is why section 3 still favors gas.
The Efficient Gas Tanks
Power-vented and condensing gas tanks capture more heat. The Rheem XG50T12UHN50U0 rates 0.88 and the A. O. Smith GPCX-50L 0.9 in their ENERGY STAR records. They cost more and need an outlet and their own vent, but they close much of the gap with tankless gas.
Use UEF Within a Fuel
Compare gas tanks with gas tanks and electric with electric. Across fuels, compare yearly running cost. Across technologies on the same fuel, a heat pump's UEF of 3 or more is the real jump.
6. Venting, Wiring and Safety
The two types ask different things of the house, and those requirements often decide the choice for you.
Gas Needs a Vent and Fresh Air
A gas heater burns fuel, so it needs combustion air and a vent that carries exhaust outside. A. O. Smith's gas manual warns that flue gases can escape if the vent pipe is not properly connected, and to watch for an obstructed, sooted or deteriorated vent system (A. O. Smith). Rinnai's tankless manual recommends a carbon monoxide alarm in the hallway near bedrooms in every home (Rinnai), which is sound advice for any home with a gas appliance.
Efficient Gas Tanks Need Power Too
The ENERGY STAR gas tanks in our data are power direct vent and power vent models, and their records list maximum draws of 2–7 amps for the blower and controls. They need an outlet near the heater, and like any appliance with a blower they depend on that power supply to run.
Electric Needs a 240-Volt Circuit
A standard electric tank runs on a dedicated 240-volt circuit sized for its elements, 4.5 kW on the tanks in our data. If you are replacing an electric tank, that circuit is already there. There is no flue, no combustion air and no carbon monoxide, which makes electric the simpler heater to place in a closet or a tight space.
Both Need the Same Water Safety Parts
Every tank, gas or electric, has a temperature and pressure relief valve and may need an expansion tank on a closed system. See our water heater pressure relief valve and water heater expansion tank guides, and water heater leaking if water is already on the floor.
7. The Third Option: A Heat Pump Water Heater
For an electric home, the more useful comparison is often not gas vs electric resistance but resistance vs heat pump. A heat pump water heater runs on electricity and pulls warmth out of the room air and pumps it into the tank.
Running Cost
Fixr puts a 50-gallon hybrid at $225–$350 a year, below both its gas figure ($325–$475) and its standard electric figure ($600–$750) (Fixr).
Upfront Cost
It costs more to install: Rewiring America puts it at $3,600–$4,800 replacing an electric tank and $4,300–$6,500 replacing a gas one (Rewiring America). The federal tax credit that once offset part of that ended on Dec. 31, 2025. Our heat pump water heater cost guide breaks the bill down.
Where It Fits
A heat pump needs room and air around it and a condensate drain, so it is not a drop-in for every closet. The trade-offs are in heat pump water heater pros and cons and the models in our heat pump water heater roundup.
8. Which One Should You Buy?
Start with what your house already has, then let the numbers argue you out of it only if they clearly can.
You Have Gas and a Vent
Replace with gas. It is cheaper to run, recovers faster and reuses the connections. If the old vent is shared or worn, budget for venting work and consider an efficient power-vent model.
You Are All-Electric
Replace with electric, and price a heat pump alongside a standard tank. Adding gas service for a water heater alone rarely pays back.
Your Tank Failed Today
Like for like. An emergency is the wrong time to change fuels. Check the age of your other heater-related parts with how to tell the age of a water heater once hot water is back.
You Are Building or Remodeling
With walls open, both options are on the table, and the decision becomes a running-cost one. Get your local gas and electricity rates, multiply each by the rated energy use of the models you are considering, and add the installed price from section 2. If gas is not already at the street, the cost of bringing it in usually settles the matter in favor of electric, and then the real question is standard tank or heat pump. If gas is already in the house for heating or cooking, a short branch line to the water heater is a much smaller job, and gas often comes out ahead over ten years.
You Want Endless Hot Water
That is a tank vs tankless question rather than a fuel one; see tankless vs tank water heater.
9. Frequently Asked Questions
Is a gas water heater cheaper to run than an electric one?
Usually. Fixr puts a 50-gallon gas tank at $325–$475 a year against $600–$750 for a standard electric tank, and its tankless page gives $275 a year for a traditional gas heater against $450 for electric. Your own utility rates can change the gap.
Is an electric water heater cheaper to install?
Yes, as a rule. Fixr's electric tank installs run $800–$1,500 with an average of $1,000; its gas tank installs run $900–$3,000 with an average of $1,400. An electric tank needs no venting or gas connection.
Gas vs electric water heater: which heats water faster?
Gas. The standard gas tanks in our data are rated 68–85 gallons in the first hour and the electric tanks 49–63. Gas burners in our data are rated 36–65 thousand BTU per hour, against 4.5 kW for electric elements.
Is an electric tankless water heater a good alternative to a gas tank?
Only with a large electrical service. The bigger whole-house electric tankless units in our data draw up to 36 kW. For most electric homes a heat pump tank is the efficiency upgrade; see our electric tankless water heater guide for the circuit sizes.
Where does a hybrid water heater fit in the gas vs electric choice?
A hybrid (heat pump) water heater runs on electricity but uses far less of it: Fixr puts a 50-gallon hybrid at $225–$350 a year, below its gas figure of $325–$475. It costs more to install: $3,600–$4,800 replacing an electric tank and $4,300–$6,500 replacing gas, per Rewiring America.
How long does a water heater last, gas or electric?
Manufacturers publish warranties, not lifespans. Rheem's basic gas and electric tanks in our data carry the same 6-year tank warranty. A. O. Smith's leak guide suggests planning a replacement once a unit passes 12 years. See how long do water heaters last.
Do water heater brands price gas and electric models differently?
In our price check, Rheem's 50-gallon gas XG50T06EC38U1 was $749 and its 50-gallon electric XE50M06ST45U1 $569 at Home Depot on Nov 29, 2026; the 40-gallon pair was $649 and $499. This Old House gives about $850 for electric and $800 plus venting for gas.
10. Common Mistakes That Waste Money on Gas vs Electric Water Heaters
Switching Fuels to Save on the Unit
A gas tank costs a little more than an electric one, but converting an electric home to gas means new gas lines, which This Old House prices at $1,500–$2,300. That wipes out years of running-cost savings.
Comparing UEF Numbers Across Fuels
An electric tank's UEF of about 0.92 does not mean it is cheaper to run than a gas tank at 0.63. UEF measures energy in and hot water out at the heater, not what each fuel costs you. Compare running cost instead.
Ignoring First-Hour Rating
At 50 gallons, the gas tanks in our data deliver 81–85 gallons in the first hour and the electric tanks 57–63. If your household runs short, a gas tank or a larger electric one may be the fix.
Storing Flammables Near a Gas Heater
A. O. Smith's gas manual warns never to store or use gasoline or other flammable vapors and liquids near the heater. Garages and utility rooms are the usual offenders.
Everything Else About Water Heaters
- Best Water Heaters 2026
- Tankless Water Heater
- Gas Water Heater
- Electric Water Heater
- Heat Pump Water Heater
- 50 Gallon Water Heater
- 40 Gallon Water Heater
- Electric Tankless Water Heater
- Water Heater Replacement Cost
- Tankless Water Heater Cost
- How Much Does a Water Heater Cost
- Heat Pump Water Heater Cost
- Rheem Water Heaters
- AO Smith Water Heater
- Bradford White Water Heater
- Navien Tankless Water Heater
- Rinnai Tankless Water Heater
- Noritz Tankless Water Heater
- Bradford White Water Heater Age
- How to Flush a Water Heater
- How to Drain a Water Heater
- Water Heater Expansion Tank
- Water Heater Anode Rod
- How Long do Water Heaters Last
- Tankless vs Tank Water Heater
- What Size Water Heater do i Need
- Point of Use Water Heater
- Hot Water Recirculating Pump
- Water Heater Pressure Relief Valve
- Tankless Water Heater Pros and Cons
- Water Heater Installation
- Water Heater Element
- Water Heater Thermostat
- Tankless Water Heater Maintenance
- Water Heater Leaking
- Heat Pump Water Heater Pros and Cons
The Bottom Line
An electric tank is cheaper to buy ($569 vs $749 for Rheem's 50-gallon pair on Nov 29, 2026) and to install ($800–$1,500 vs $900–$3,000 on Fixr's figures). A gas tank is usually cheaper to run ($325–$475 vs $600–$750 a year at 50 gallons) and recovers faster.
Stay with the fuel you have unless the numbers clearly favor switching, and if you are electric, price a heat pump too. Compare models in our best water heater guide.
About the Author
Prezzo Editorial Team, Water filters, softeners and water heaters
The Prezzo editorial team writes every guide from public certification listings (NSF, ENERGY STAR), manufacturer spec sheets and dated prices. No paid placements, no lab claims.