Tankless water heaters have moved from niche to mainstream over the past decade. They produce hot water on demand by firing a gas burner or electric heating element only when a hot water tap opens. Tank heaters store 40 to 80 gallons of preheated water and reheat as needed. Both produce the same hot water at the tap. They differ in installation cost, efficiency, hot water capacity, and lifespan. Choosing the wrong one for your household leads to either wasted money or wasted hot water. This guide explains the real economics.

How tank water heaters work

A tank water heater stores 30 to 80 gallons of water and heats it to a setpoint, usually 49 to 60 degrees Celsius (120 to 140 Fahrenheit). When you open a hot water tap, water flows out of the top of the tank, cold water flows into the bottom, and the heater fires to bring the new cold water up to temperature.

The energy inefficiency comes from standby losses. The tank radiates heat into the surrounding air constantly, even when no one is using hot water. The heater fires periodically to compensate. A typical 50 gallon tank loses 30 to 60 watts of heat continuously, requiring 250 to 500 kWh per year just to maintain temperature with zero use.

Tank heaters come in gas, electric resistance, and heat pump variants. Gas is most common in homes with existing gas service. Electric resistance is common in all-electric homes but expensive to operate. Heat pump water heaters (HPWH) are a newer category, using a small heat pump to move heat from surrounding air into the tank, achieving 200 to 350 percent efficiency.

How tankless water heaters work

A tankless heater contains a high-capacity heat exchanger and a flow sensor. When you open a hot tap, water flows through the unit, the flow sensor triggers, and the heat exchanger fires up to heat the water as it passes through. The water exits at the setpoint temperature within 2 to 5 seconds.

When the tap closes, the heater shuts off. No standby loss because nothing is being kept hot. The energy consumption is exactly the energy needed for the water you used, plus minor pilot or electronics power.

The capacity limit is flow rate. A tankless unit is rated in gallons per minute (gpm) at a specific temperature rise. A 199000 BTU gas tankless raises water 50 degrees Fahrenheit at 7 gpm. If you exceed 7 gpm of demand, the unit cannot keep up and water arrives cooler than setpoint.

Electric tankless units have lower capacity than gas because electric heating elements are limited by the available electrical service. A 27 kW electric tankless (about as large as practical for a residential 200 amp panel) provides about 4 gpm at 50 degree rise. Whole-home gas tankless reaches 9 to 11 gpm.

Energy efficiency compared

A standard 50 gallon gas tank heater rates at 0.60 to 0.67 EF (Energy Factor). It uses about 250 therms of gas per year for typical household use.

A condensing gas tankless rates at 0.93 to 0.97 EF. Same household, about 170 therms per year. Annual savings at 1.30 per therm: about 105 dollars.

A standard 50 gallon electric tank rates 0.90 EF (no standby loss heat goes to outside, all to room). About 4500 kWh per year. At 0.15 per kWh, 675 dollars.

An electric tankless rates 0.99 EF. About 4400 kWh per year. Same rate, 660 dollars. Savings of 15 dollars per year. Electric tankless is rarely worth the upgrade for efficiency alone.

A heat pump water heater rates 3.0 to 3.5 EF. Same household, 1300 to 1500 kWh per year. Annual cost about 215 dollars. Massive savings over electric tank or electric tankless.

The pattern: gas tank to gas tankless gives meaningful savings. Electric tank to electric tankless gives almost no savings. Electric tank to heat pump tank gives the largest savings of any switch.

Installation cost differences

A gas tank water heater installation runs 1500 to 2500 dollars including the unit and labor.

A gas tankless installation runs 3500 to 5500 dollars because of the venting upgrade, often a gas line size upgrade, condensate drainage, and an electrical outlet for the electronics.

An electric tank installation runs 1200 to 2200 dollars.

An electric tankless installation runs 1500 to 3500 dollars plus often a panel upgrade if the home is on 100 or 150 amp service.

A heat pump water heater installation runs 3500 to 5500 dollars plus condensate drainage.

Federal tax credits in 2026 cover 30 percent of heat pump water heater costs up to 2000 dollars. Some utilities offer 500 to 1500 dollar rebates for HPWH installations. Tankless rebates are smaller, typically 100 to 400 dollars.

Hot water capacity for households

Households of 1 to 2 people: a 40 gallon tank or a 6 gpm tankless covers daily use easily.

Households of 3 to 4 people: a 50 gallon tank or a 7 to 8 gpm tankless. With teenagers taking long showers, the tank may run out during back-to-back showers. The tankless holds steady at a single shower plus minor uses.

Households of 5 plus people: a 75 to 80 gallon tank or a 9 to 11 gpm tankless. Both handle the peak demand, but the tank requires careful sequencing (let it recover between heavy uses) while the tankless runs continuously.

The tankless advantage is unlimited hot water for a single high-volume use (a long shower, filling a soaking tub, washing the car). The disadvantage is the flow rate cap on simultaneous uses. If your household routinely runs two showers and a dishwasher at the same time, choose a high-capacity tankless or a large tank.

Lifespan and maintenance

Tank heaters last 8 to 12 years. The anode rod (a sacrificial magnesium or aluminum rod that protects the tank from corrosion) wears out at year 5 to 7 and needs replacement. Most owners do not replace it, which is why tanks fail at 10 years. Sediment buildup at the bottom reduces efficiency and accelerates burner failure.

Tankless heaters last 15 to 20 years for gas, 20 to 25 for electric. Annual descaling (running vinegar or descaler through the heat exchanger) is required in hard water areas. The flow sensor and ignition components are field-replaceable, so a 25 year service life is realistic.

Heat pump water heaters last 12 to 18 years. The heat pump compressor is the wear item. The tank itself, like a tank heater, has an anode rod that should be replaced at year 5.

When tankless wins

Households with high hot water use (200 gallons or more per day). The efficiency savings amortize the installation premium within 5 to 8 years.

Households with space constraints. A tankless mounts on a wall, freeing the floor space a 50 gallon tank would occupy. Useful in apartments, condos, and small mechanical rooms.

Households planning to stay 15 plus years in the home. The longer lifespan and lower operating cost compound over time.

Households with vacation patterns. A tankless does not waste energy maintaining hot water when no one is home. A tank loses 30 to 60 watts of heat continuously regardless of occupancy.

Households with whole-home gas service. Gas tankless is the most cost-effective tankless format.

When tank wins

Households with low hot water use (under 30 gallons per day). The standby losses are small in absolute terms and the installation savings of a tank justify the choice.

Households with limited budget for the installation. A 1500 dollar tank replacement beats a 5000 dollar tankless installation when the budget is tight.

Households planning to move within 5 to 8 years. The payback period for tankless does not complete in that window.

Households where heat pump water heaters are not feasible (cold basement, no condensate drain available). A heat pump water heater needs space, room temperature above 5 Celsius, and a drain. If those are not available, an efficient gas tank or condensing gas tank is the right choice.

The heat pump water heater option

A heat pump water heater is often overlooked but is the best efficiency play in 2026 for electric households. It costs about 2000 dollars more than a standard electric tank installed, saves 400 to 600 dollars per year in electricity, and qualifies for federal and utility rebates that often cover most of the premium. Payback in 3 to 5 years.

The drawback is cold air output. The unit pulls heat from surrounding air and exhausts cold air. In a small mechanical closet, this can drop the surrounding temperature and increase house heating costs in winter. In a basement or garage, the cold exhaust is irrelevant.

For more on broader home efficiency see our smart thermostat ROI guide and our methodology at /methodology.

Frequently asked questions

Does a tankless water heater really run out of hot water?+

Not in the conventional sense. A tankless heats water on demand and can produce hot water indefinitely as long as demand stays under the flow rate capacity. The limit is simultaneous use. A single bathroom tankless rated at 6 gallons per minute handles one shower plus a dishwasher. Two showers at the same time exceed the capacity and water arrives lukewarm. Whole-home tankless units rated 8 to 11 gpm handle most households.

How long do tankless water heaters last?+

Typically 20 years for gas tankless and 15 to 20 years for electric tankless, versus 8 to 12 years for a conventional tank. The longer lifespan is part of the value proposition. Tankless units also have replaceable internal components (heat exchanger, gas valve, electronics) so a 25 year service life is realistic with maintenance.

Will I save money switching to tankless?+

Depends on usage. A household using 30 to 40 gallons of hot water per day saves about 100 to 200 dollars per year on energy. A household using 80 plus gallons saves 250 to 400 dollars. The installation cost premium is 1500 to 3000 dollars. Payback ranges from 5 years for high-usage households to 15 plus years for low-usage households. Run the numbers.

Do tankless units need special venting?+

Gas tankless units need a dedicated stainless steel or PVC vent through the wall, not the existing chimney or flue used by a tank heater. The vent run typically costs 400 to 800 dollars in materials and labor. Electric tankless does not need venting but requires significantly upgraded electrical service, often 150 to 200 amps additional capacity for whole-home models.

Can I install a tankless myself?+

Probably not. Gas tankless installation requires gas line sizing changes (most existing 1/2 inch gas lines are too small for 199000 BTU tankless units, needing 3/4 inch upgrade), new venting, condensate drainage, and a building permit. Electric tankless requires 100 to 200 amp electrical work and a panel upgrade in many homes. DIY is feasible only for those qualified to do gas or major electrical work and permitted in their jurisdiction.

Jamie Rodriguez
Author

Jamie Rodriguez

Kitchen & Food Editor

Jamie Rodriguez writes for The Tested Hub.