We research products independently. When you buy through links on this page, we may earn a commission from Amazon at no extra cost to you. As an Amazon Associate we earn from qualifying purchases. Read our affiliate disclosure.
The short verdict: choose gas (natural gas or propane) for a whole house in most of the US, because it heats far more water per minute in winter. Choose electric for a single bathroom or sink, for a small home in a warm climate, or when the house has no gas and enough electrical service to spare. Running cost depends on your local rates, and you can work it out in two lines with the method below.
The gas vs electric tankless water heater choice usually gets made by the house, not the buyer. If you have gas at the meter and a vent route, gas is the stronger heater. If you have a 200-amp panel and warm groundwater, electric is the simpler one. Here is the comparison point by point.
Side by side
| Gas tankless | Electric tankless | |
|---|---|---|
| Typical winter flow (DOE) | About 5 GPM at a 70°F rise | About 2 GPM at a 70°F rise |
| Whole-house capable | Yes, in most climates | In warm climates or with a large service |
| UEF (maker sheets we read) | 0.81 to 0.82 non-condensing; 0.89 to 0.98 condensing | 0.94 to 0.98 |
| Installed cost (This Old House, 2026) | $1,650 to $3,500 natural gas; $1,400 to $3,500 propane | $650 to $2,500 |
| Typical extra work | Gas line, venting, condensate drain | New circuits; sometimes a panel or service upgrade |
| Electrical need | 120 V outlet or circuit | 1 to 4 dedicated 240 V circuits, 33 to 150 A |
| Carbon monoxide risk | Yes; needs correct venting and CO alarms | None from the heater |
| Works in a power cut | No | No |
| Unit size | Suitcase-size wall unit | Smaller, often briefcase-size |
| Maintenance | Descaling, vent and condensate checks | Descaling and inlet screen |
Sources: U.S. Department of Energy, Energy Saver: "Sizing a New Water Heater"; This Old House tankless installation cost guide, updated June 12, 2026; makers' spec sheets.
Flow: where gas wins
A tankless heater's output is fixed by its burner or its elements. The question is how many gallons per minute that output can lift to your set temperature.
The Department of Energy's sizing guide says a 70°F temperature rise is typically possible at 5 GPM through gas-fired tankless heaters and 2 GPM through electric ones. Five GPM is two standard showers. Two GPM is one low-flow shower.
The math explains it. A 199,000 BTU/h gas unit at 0.95 efficiency puts about 189,000 BTU/h into the water. The largest common electric unit, 36 kW, puts in about 123,000 BTU/h (36 x 3,412). Stiebel Eltron's own table for its 36 kW Tempra gives an 82°F rise at 3.0 GPM; a 199,000 BTU/h condensing gas unit gives the same rise at about one and a half times the flow (roughly 4.6 GPM).
In the South, where groundwater can be 65°F to 75°F, the rise you need falls to 45°F to 55°F, and electric becomes a real whole-house option. In the North it rarely is. Run your numbers in our tankless size calculator.
Installation: where electric usually wins
Cost ranges
This Old House's cost guide (updated June 12, 2026) gives these installation and installed-total ranges by fuel. We don't quote unit prices, which change often.
| Fuel | Installation labor and materials | Total installed, including the unit |
|---|---|---|
| Electric | $150 to $1,000 | $650 to $2,500 |
| Propane | $900 to $1,500 | $1,400 to $3,500 |
| Natural gas | $900 to $1,500 | $1,650 to $3,500 |
The same guide lists the add-ons that change a quote: $350 to $750 for gas line updates, $400 to $800 for venting, $200 to $600 for a new electrical circuit and $1,000 to $2,000 for a full panel upgrade. See our tankless water heater cost guide for which add-ons apply to which house.
What a gas install involves
A whole-house gas unit burns up to 199,000 BTU/h. The meter, regulator and pipe from the meter must carry that plus every other gas appliance at full demand. The unit needs its own vent to the outside, in the material and length the manual allows, and condensing units need a condensate drain. All of this is licensed gas fitter work, and the home needs carbon monoxide alarms; the CPSC advises one on every level and outside sleeping areas.
What an electric install involves
Electric units need no vent and no gas, but whole-house models draw serious current. At 240 volts, an 18 kW unit draws 75 amps, a 27 kW unit 112.5 amps and a 36 kW unit 150 amps, split across two to four dedicated double-pole breakers. Makers recommend main services of 150 to 300 amps for the larger models. If your panel cannot take it, the cheap install becomes an expensive one. Check the makers' figures in our electrical requirements guide; breaker, wire and service sizes are confirmed by a licensed electrician.
Efficiency: closer than it looks
Electric tankless units convert nearly all their electricity to heat in the water: UEF ratings of 0.94 to 0.98 on the EcoSmart, Rheem and Stiebel Eltron sheets we read. Gas units rate 0.81 to 0.82 non-condensing and up to 0.98 condensing.
But the Department of Energy warns that higher energy factor values don't always mean lower annual operating costs, especially when you compare fuel sources. A therm of gas and a kilowatt-hour of electricity cost different amounts, and the efficiency rating tells you nothing about price. That brings us to the real question.
Monthly running cost: how to compare for your rates
We don't publish energy prices, because they vary by state and month. Instead, here is the method. You need three numbers: how much hot water you use, your temperature rise and your utility rates.
Step 1: heat needed per day. Gallons per day x 8.33 (pounds per gallon) x temperature rise = BTU per day.
Example: 50 gallons a day x 8.33 x 70°F = about 29,200 BTU per day.
Step 2: convert to your fuel.
- Electric: BTU ÷ 3,412 ÷ efficiency = kWh. At 0.98: 29,200 ÷ 3,412 ÷ 0.98 = about 8.7 kWh per day, or about 262 kWh per 30-day month.
- Gas: BTU ÷ 100,000 ÷ efficiency = therms. At 0.93: 29,200 ÷ 100,000 ÷ 0.93 = about 0.31 therm per day, or about 9.4 therms per month.
- Propane: the U.S. Energy Information Administration puts propane at about 91,500 BTU per gallon, so BTU ÷ 91,500 ÷ efficiency = gallons. At 0.93: about 0.34 gallon per day.
Step 3: multiply by your rates from your utility bill (dollars per kWh, per therm or per gallon of propane).
Using the UEF as the efficiency figure is an approximation, since UEF is measured on a standard test pattern. It is close enough to see which fuel is cheaper where you live. For a quicker comparison between specific models, the yellow EnergyGuide label on each one shows an estimated yearly energy cost, which DOE recommends using.
Safety
Gas: every gas tankless is a combustion appliance. Improper venting is how a gas appliance puts carbon monoxide into a home. The CPSC describes CO as colorless and odorless, and lists headache, dizziness, nausea and confusion among early symptoms. If you suspect CO, get outside and call 911.
Electric: no combustion, but 75 to 150 amps on dedicated circuits. Wiring belongs to a licensed electrician working from the maker's manual and local code.
Lifespan and maintenance
DOE says most tankless water heaters have a life expectancy of more than 20 years, with replaceable parts that may extend it, regardless of fuel. Both types need descaling in hard water. Gas units add a yearly check of the vent, air intake and condensate line; electric units are simpler, with inlet screens and connections to inspect.
Choose gas if...
- You have natural gas at the meter, or a propane tank, and a practical vent route.
- You want two showers at once, or you live where groundwater is cold.
- Your electrical service is 200 amps or less and already busy.
Start with our best gas tankless water heaters.
Choose electric if...
- You want a point-of-use heater for one sink or bathroom.
- You live in a warm region, use low-flow fixtures and have a 200-amp or larger service.
- There is no gas in the house and no wish to add a vent.
Start with our best electric tankless water heaters.
And if neither fits?
All-electric homes in cold climates with a modest panel often do better with a heat pump water heater than with either kind of tankless. Our tankless vs heat pump comparison explains why.
FAQ
Is a gas or electric tankless water heater better?
Gas is better for whole-house use in most of the country, because it delivers more hot water per minute: the Department of Energy says a 70°F rise is typically possible at 5 GPM through gas-fired units and 2 GPM through electric ones. Electric is better for point-of-use heaters, small homes in warm climates and homes with no gas, because it needs no venting or gas line.
Which costs less per month, gas or electric tankless?
It depends on your utility rates. For the same hot water, an electric tankless uses kilowatt-hours and a gas unit uses therms. Heating 50 gallons a day through a 70°F rise takes about 8.7 kWh a day at 0.98 efficiency, or about 0.31 therm a day at 0.93 efficiency. Multiply each by your own rates to compare.
Is an electric tankless water heater cheaper to install than gas?
Usually, if your panel can carry it. This Old House's cost guide, updated June 12, 2026, lists installed totals of $650 to $2,500 for electric against $1,650 to $3,500 for natural gas. A whole-house electric unit can need a panel or service upgrade, which the same guide puts at $1,000 to $2,000 for a full panel upgrade.
Does a gas tankless water heater need electricity?
Yes. Modern gas tankless units use electronic ignition, a combustion fan and a control board on a 120-volt supply. They will not heat water in a power outage.
Is an electric tankless water heater safer than gas?
It has no combustion, so there is no carbon monoxide or venting risk from the heater itself. It does carry large electrical loads that must be wired by a licensed electrician to the maker's specifications. A gas unit is safe when installed and vented as the manual requires, with carbon monoxide alarms in the home.
Sources
- U.S. Department of Energy, Energy Saver: "Sizing a New Water Heater", "Tankless or Demand-Type Water Heaters" and "Estimating Costs and Efficiency of Storage, Demand, and Heat Pump Water Heaters" (archived copies, 2026).
- This Old House, tankless water heater installation cost guide, updated June 12, 2026.
- Stiebel Eltron Tempra technical specifications (rev. 6.2025); EcoSmart and Rheem RTEX spec sheets.
- U.S. Consumer Product Safety Commission, Carbon Monoxide Information Center.
- U.S. Energy Information Administration, heat content of propane (about 91,500 BTU per gallon).