Electric or gas water heater: what does each one actually cost?

Electric is cheaper to buy and lasts longer. Gas is faster to recover and cheaper to run if you have a gas line. The catch is that the operating-cost math has shifted in the last few years: a heat pump water heater (which is electric) beats gas on annual cost in most of the US. Here is the full comparison: install price, monthly bill math, lifespan, and the cases where each one still wins.

Reviewed by Sam Ortiz, HVAC installer, ACCA Manual J trained, 9 years field work Updated May 2026

Short answer

Gas wins on monthly cost. Electric wins on install, lifespan, and resale.

A standard 50-gallon electric tank runs $15 to $25 cheaper to install and lasts 2 to 4 years longer than a gas tank. A standard 50-gallon gas tank runs $10 to $20 a month cheaper at current national rates. The decision flips entirely if you swap the electric tank for a heat pump water heater, which beats both on operating cost in most US markets.

Pick gas if

  • • You already have a gas line at the heater location
  • • Household uses 60+ gallons of hot water per day
  • • Natural gas runs under $1.30 per therm in your area
  • • You want fast recovery for back-to-back showers

Pick electric if

  • • No gas service or gas line install would cost $1,500+
  • • Heater is in a small unvented closet or interior space
  • • Electricity costs less than $0.16 per kWh
  • • You can fit a heat pump water heater (best electric option)

Electric and gas water heaters compared

The table covers a typical 50-gallon storage tank for a 3-person household using about 50 gallons of hot water per day. Mid-tier brands like Rheem, Bradford White, and AO Smith. Operating costs use US national average rates: $0.16 per kWh electricity, $1.30 per therm natural gas, $2.65 per gallon propane.

Factor Electric (resistance) Gas (natural gas)
Equipment cost $400 to $900 $500 to $1,400
Total installed $700 to $1,800 $900 to $2,300
Annual operating cost $400 to $600 $220 to $320
Lifespan 12 to 15 years 8 to 12 years
First Hour Rating 52 to 68 gallons 70 to 90 gallons
Recovery rate 20 to 22 gal/hr at 90°F rise 35 to 50 gal/hr at 90°F rise
UEF (efficiency) 0.92 to 0.95 0.60 to 0.70 (standard), 0.80+ (condensing)
Venting None required Atmospheric flue or sidewall power vent
Hot water during power outage No (heating element needs power) Yes (atmospheric models, hours of standby hot water)

What does an electric water heater cost to install

Electric tanks are the cheapest water heater you can buy and install. The unit itself is cheaper because there is no burner assembly, no combustion air supply, no flue, and no gas valve. The install is faster because there is no gas line work and no venting penetration. A like-for-like electric tank swap takes 2 to 3 hours of labor.

  • 40-gallon electric tank (small family): $500 to $1,300 installed
  • 50-gallon electric tank (typical 3 to 4 person home): $700 to $1,800 installed
  • 80-gallon electric tank (large family, well-water systems): $1,100 to $2,400 installed
  • Hybrid heat pump water heater 50-80 gallon: $2,500 to $4,500 installed
  • Electric tankless (whole home): $1,800 to $3,500 unit, plus $2,000 to $5,000 panel upgrade if needed

The hidden cost on electric is the service panel. A 50-gallon electric tank needs a dedicated 240V 30-amp circuit. Most homes built after 1990 have this already wired, but older homes with 100-amp service often need a panel upgrade ($1,500 to $3,500) before a high-amp electric tankless can be installed. Use the breaker size calculator to check what your install path actually needs.

What does a gas water heater cost to install

Gas tanks cost $100 to $400 more for the equipment because of the burner, gas valve, flue baffle, and pilot or electronic ignition assembly. Install runs longer because the technician has to connect to the gas line, set up venting, and verify the combustion safety with a combustion analyzer.

  • 40-gallon natural gas tank: $700 to $1,800 installed
  • 50-gallon natural gas tank: $900 to $2,300 installed
  • 75-gallon natural gas tank (large family): $1,400 to $3,200 installed
  • Power-vent gas tank (basement install with horizontal vent): add $300 to $700
  • Condensing gas tank (95% efficient): $1,800 to $3,200 installed
  • Gas line extension (if existing line ends at the furnace): $400 to $1,500

Most gas tank installs today still use atmospheric venting through an existing chimney or metal B-vent. If your install is on an interior wall away from the chimney, you need a power-vent model, which adds the cost above plus an electrical outlet for the fan motor. Condensing gas tanks save 15 to 20 percent on operating cost but rarely pay back in a residential install unless your hot water demand is very high.

Is a gas water heater cheaper to run than electric

At current US national average rates, a standard 50-gallon gas tank costs about $230 a year to run. A standard 50-gallon electric resistance tank costs about $500 a year. That $270 annual gap is the single biggest reason gas water heaters are still the default in homes with existing gas service.

The math depends entirely on local fuel prices. Here is the rough breakeven across regions:

  • Pacific Northwest (cheap hydro electricity, no gas): electric tank often beats gas at $0.10 per kWh and below
  • Midwest (cheap natural gas, average electricity): gas tank wins by $250 to $400 per year
  • Northeast (expensive electricity, expensive heating oil): gas tank wins by $300 to $500, heat pump water heater wins by $150 to $300
  • California (expensive electricity, mid-priced gas): gas tank wins by $400 to $600, but heat pump water heater wins back $100 to $200 of that gap
  • Hawaii (very expensive electricity, no gas): electric resistance loses to anything else, solar plus electric backup is the right call

Run your local rates through the operating cost calculator before assuming the national average applies to your zip code. Gas prices vary by $0.40 to $1.20 per therm across US markets, and electricity varies by $0.08 to $0.32 per kWh. The breakeven number is local, not national.

Should you choose a heat pump water heater instead

A heat pump water heater (HPWH) is an electric tank with a small heat pump on top. Instead of using a 4,500-watt resistance element, it moves heat from the surrounding air into the tank water at 250 to 320 percent efficiency. The annual operating cost runs $130 to $200, which is cheaper than gas and a third of standard electric resistance.

  • HPWH install cost: $2,500 to $4,500
  • HPWH annual operating cost: $130 to $200 (vs $400 to $600 for electric resistance and $220 to $320 for gas)
  • HPWH lifespan: 12 to 15 years
  • HPWH rebate stack: $500 to $2,500 in state and utility rebates remains active (federal 25C credit expired Dec 31, 2025)

The catch with HPWH is that it needs ambient air around 50 to 90 degrees year-round to work efficiently. A cold unheated garage in zone 5 or 6 hurts performance, and the unit falls back to electric resistance elements during winter cold snaps. The ideal location is a conditioned basement, utility closet with louvered door, or warm garage. If your gas tank is currently in a tight closet without air exchange, an HPWH does not fit and you stay with gas or standard electric. See the full comparison in the tankless vs tank guide for the HPWH break-down against the other options.

How long does a gas water heater last vs electric

Electric tanks outlive gas tanks by an average of 3 to 5 years. A typical electric tank with annual anode rod inspection runs 12 to 15 years before the glass-lined steel tank corrodes through. A typical gas tank in the same conditions runs 8 to 12 years because the burner assembly accumulates combustion deposits and the bottom of the tank sees more thermal cycling from the flame plate.

The lifespan difference matters for lifetime cost. Across a 24-year ownership window, a gas tank homeowner buys 2.4 heaters, while an electric tank homeowner buys 1.8. The extra gas install runs $1,000 to $2,300, which closes most of the operating-cost gap. Once you account for the second install over a 24-year window, the actual lifetime cost difference is closer to $3,000 than the $6,000 the annual operating gap implies.

Both types last longer with regular maintenance: annual anode rod inspection, sediment flush twice a year in hard-water regions, and TPR valve testing. Skipping maintenance shortens lifespan by 2 to 4 years on either type. Hard-water areas (most of the southwest, midwest, and parts of the south) lose 2 to 3 years off the rated lifespan regardless of fuel type because sediment buildup accelerates burner or element failure.

Why a gas water heater reheats faster

The biggest practical difference between gas and electric is how fast they reheat after a big draw. A standard 50-gallon gas tank with a 40,000 BTU/hr burner can recover about 40 gallons per hour at a 90 degree temperature rise. A standard 50-gallon electric tank with a 4,500 watt element recovers about 20 gallons per hour at the same rise. Half the speed, same tank capacity.

For a family of 4 with morning shower stacking and a dishwasher and laundry, the recovery rate matters more than the tank size. Two 10-gallon showers back to back drain about 20 gallons of hot water in 15 minutes. A gas tank refills that in 30 minutes. An electric tank refills it in an hour. By the time the third shower starts, the gas tank is full again and the electric tank is only at 60 percent capacity. This is why First Hour Rating (FHR), not tank size, is the number to compare on the spec sheet.

FHR is the total gallons of hot water the tank delivers in the first hour of demand starting from a full hot tank. A 50-gallon gas tank typically rates 70 to 90 gallons FHR. A 50-gallon electric tank typically rates 52 to 68 gallons FHR. For a 4-person household, FHR should be at least 60 gallons. For a 6-person household, FHR should be at least 75 gallons, which usually means gas or a 75-gallon electric. Use the water heater sizing calculator to match FHR to your actual peak demand.

Can you switch from a gas water heater to electric

The install work differs more than the equipment does. The line items that drive the price gap:

  • Gas line: A new gas water heater install needs an existing gas line that delivers 40,000 to 50,000 BTU/hr at the unit location. If the closest gas stub is at the furnace 30 feet away, extending the line costs $400 to $1,500 depending on whether the run goes through finished walls.
  • Venting: Atmospheric gas tanks vent through a single-wall metal flue into a chimney. Power-vent and condensing tanks vent through a sidewall PVC pipe and need an exterior wall penetration plus a 120V outlet for the fan. Atmospheric venting is the cheapest path and only works if a chimney is close by.
  • Combustion air: Atmospheric gas tanks need 50 cubic feet of room volume per 1,000 BTU/hr of burner input, which usually means at least an 8x10 utility room. Tight closets need direct vent (sealed combustion) models, which add $300 to $600.
  • Electrical: Electric tanks need a dedicated 240V 30-amp circuit. Older homes with 60 or 100-amp service may not have spare panel space for this circuit without an upgrade.
  • Condensate: Condensing gas models produce 1 to 5 gallons of acidic water per day, which needs a neutralizer cartridge and drain. Standard atmospheric tanks have no condensate.

The cheapest install in a new construction or major renovation is a 50-gallon electric tank in a closet near the existing panel, because there is no gas work and no venting. The most expensive install is a condensing gas tank in a tight interior location, because it needs gas extension, sidewall venting, condensate plumbing, and 120V power. Real install quotes for the same 50-gallon capacity can range from $700 to $4,500 depending on which install path the home forces.

Best water heater brands: Rheem, AO Smith, and Bradford White

Bradford White and Rheem dominate the contractor channel because they offer commercial-grade glass-lining and powered anode rods that extend tank life by 2 to 4 years in hard water. AO Smith and State are the same parent company and split the box-store and contractor channels. Generic store brands (GE, Whirlpool, sold at big-box retailers) are usually built by Rheem or AO Smith under contract with thinner anode rods and shorter warranties.

For most US homeowners, a mid-tier Rheem or Bradford White 50-gallon with a 6-year warranty is the right buy. The 10-year warranty premium runs $100 to $300 over the 6-year and is almost always worth it because the only difference is a thicker anode rod. The brand of an electric resistance element matters less than the tank itself: every major manufacturer uses similar heating elements, and they are user-replaceable for $40 to $80 each when they fail. For gas, look for stainless steel pilot or electronic ignition rather than standing-pilot designs, which are now banned in most jurisdictions for energy code reasons.

Which water heater is right for your home

The right answer depends on what you already have. A home with existing gas service and a chimney for venting is cheapest to operate with gas and stays that way as long as gas prices stay close to current levels. A home without gas service should not extend a new gas line just to install a water heater because the line cost erases the operating savings. A home with a conditioned basement and room for a heat pump water heater beats both standard options on lifetime cost and qualifies for state and utility rebates that combustion equipment does not. Get three written quotes, ask each contractor for the First Hour Rating and Uniform Energy Factor of the unit they are proposing, and check whether your local utility offers any rebate on the type you pick before signing.