How a Water Heater Works: Gas, Electric & Tankless Models
On this page 6 sections
The hot-water path is simple: cold water enters, a control calls for heat, the heating source transfers energy into the water, and pressure pushes hot water toward an open faucet. The details change with the heater type.
Storage tanks spend energy keeping water ready; tankless units spend it during use. That difference affects waiting time, recovery, utility cost, capacity and the repairs you may eventually need.
How a Water Heater Works
A storage-tank water heater sends cold water into the tank as hot water leaves for a faucet, shower, or appliance. When stored water drops below the thermostat’s set point, the heating source turns on, raises the temperature, and shuts off when the target is reached.
That’s how a hot water heater in a basement works, too: house-water pressure pushes water through the tank and pipes, while the heater controls temperature rather than normal fixture flow. A common tank holds roughly 40 to 75 gallons, although the right capacity depends on the model and your household’s demand.
The Water Path
- Cold water enters through the cold-water inlet. A dip tube carries that incoming water toward the bottom of the tank, where it can be heated without immediately mixing with the hottest water at the top.
- Heated water rises naturally, so the hottest supply collects near the tank’s upper outlet. When you open a fixture, incoming cold water and house pressure push hot water out through that outlet and into the plumbing.
- The thermostat senses tank temperature. If the water falls below its setting, it calls for heat; once the target returns, the heating source stops.
Electric models use submerged resistance heating elements, commonly one near the top and another near the bottom. A gas burner sits below the tank instead: its flame heats the tank bottom, and hot combustion gases travel through the flue path before leaving through the vent. The components don’t heat water from the same place.
Insulation reduces standby loss, which is the heat that escapes from stored water even when no faucet is running. The anode rod’s corrosion protection is consumed over time, so its condition matters more than any promised fixed service life; inspection and replacement depend on water chemistry, tank condition, and the manufacturer’s instructions.
How Gas, Electric, Tankless, and Heat-Pump Water Heaters Work
A gas water heater works by opening a gas valve when the thermostat senses cool water, sending gas to a burner that heats the tank, while a flue carries combustion gases outside. Propane uses the same heating principle as natural gas; the fuel supply and burner setup differ. Never modify a gas connection or vent yourself—those jobs usually belong to a licensed plumber.
In a gas tank, the burner sits below the steel tank and transfers heat through the tank bottom and surrounding water. The thermostat closes the gas valve when the water reaches its set point. A fan-assisted model may use a blower, but the fan only moves combustion gases through the vent; the burner heats the water. See our explanation of how a gas tank heater works for the parts and cycle.
An electric water heater works with submerged resistance heating coils rather than a burner. Most storage tanks have one element near the top and another near the bottom; thermostats stage them so the upper element heats first, then the lower element heats more of the tank. Electricity turns directly into heat in the coils, with no combustion gases or flue.
| System | How It Heats Water | What Happens When You Open a Tap |
|---|---|---|
| Gas storage tank | A gas burner heats water held in the tank. | Cold water enters as hot water leaves; the burner reheats the tank when its thermostat calls for heat. |
| Electric storage tank | Resistance coils heat water inside the tank. | Stored hot water leaves, and the thermostats energize the elements as temperature drops. |
| Tankless | A gas burner or electric coils heat water in a heat exchanger. | A flow sensor starts heating when water moves and shuts the unit down when flow stops. |
| Heat pump | A compressor and fan move heat from surrounding air into the water. | The unit heats stored water, with resistance elements available for high demand or cold conditions. |
| Solar-assisted | Collectors warm a separate fluid or water loop. | A heat exchanger transfers that heat to domestic water; backup heating takes over when sunlight or capacity falls short. |
A tankless water heater works only while water flows: its sensor detects demand, then a gas burner or electric resistance coils heat water as it passes through a heat exchanger. Typical cited flow is about 2 to 5 gallons per minute, so two showers or a shower and washing machine can exceed the unit’s flow or temperature-rise capacity. The result may be cooler water or lower pressure.
A heat-pump water heater doesn’t create heat with a burner or ordinary element during its main cycle. Its fan pulls heat from the surrounding air, and its compressor moves that heat into the tank; backup resistance elements can assist during heavy demand or cold conditions. Solar-assisted systems use collectors to warm a separate loop, then a heat exchanger transfers that heat to household water. Backup heating covers cloudy periods and demand beyond the collectors; our guide to how solar water heaters work explains that arrangement.
How Much Hot Water Your Home Needs
Size a water heater for your busiest one-hour period, using first-hour rating for a tank and gallons per minute plus temperature rise for a tankless unit. Tank gallons alone can mislead because recovery speed determines how quickly stored heat returns.
A single-element electric water heater needs the fuse or breaker specified on its nameplate and installation instructions; there isn’t a safe universal amp answer. The wiring, voltage, conductor size and overcurrent protection must match the manufacturer’s requirements, so have a licensed electrician handle changes to the 240-volt circuit.
A water heater usually doesn’t control the flow at your shower or faucet. Fixture valves, pipe size and house pressure set the flow; a tankless heater senses flow, turns on, and regulates heating within its capacity. Several open fixtures can leave a tankless unit delivering cooler water or less pressure.
| Measure | What it tells you | Use it for |
|---|---|---|
| Tank capacity | Stored gallons before recovery | A rough starting point |
| First-hour rating | Hot water supplied during one busy hour, including recovery | Choosing a storage tank |
| Flow rate | Gallons per minute the heater can heat | Sizing a tankless unit |
| Temperature rise | How much the heater must warm incoming water | Checking tankless capacity |
Recovery time matters after the tank gives up stored heat, but it can’t instantly replace that heat while several fixtures draw at once. Tankless equipment has no stored reserve: match the combined gallons per minute and required temperature rise to the model’s rating. Cold winter inlet water, a long pipe run, a mixing valve and high demand can all change the temperature at the tap.
Water Heater Owner's ToolkitFix the common faults yourself, keep it running for years, and know when a repair is money wasted.No-hot-water flowcharts, gas and electricFlush, anode, relief valve and descaling stepsRepair-or-replace calculator (Excel)Water Heater Operating Costs
A water heater’s running cost depends on its fuel rate, heating method, standby loss, and how much hot water your household uses. Homes fuel water heaters with natural gas, propane, electricity, heat-pump electricity, or solar-assisted equipment; an electric water heater does not use a gas burner.
Electric resistance heating uses submerged coils, while a gas burner transfers heat through the tank and flue system. A heat-pump water heater uses electricity to move heat from surrounding air into the tank, so the electricity runs a compressor and fan rather than creating all the heat directly. That distinction can reduce electricity use, but the unit needs suitable space, airflow, condensate handling, and a larger installation budget; heat-pump water heaters have different placement requirements from standard tanks.
Keep These Terms Separate
Energy factor measures the efficiency of the whole water-heating appliance over its operating cycle, including useful hot water and energy lost while the unit waits. Standby loss is the heat escaping from stored water through the tank and fittings. First-hour rating is how much hot water the tank can supply during a busy hour, combining stored water with recovery; it is a capacity-and-recovery measure, not an efficiency rating.
| System | Main running-cost factors | Comfort and installation tradeoffs |
|---|---|---|
| Electric tank | Electricity rate, required wattage, standby loss | Ready reserve; needs substantial electrical capacity |
| Gas tank | Fuel price, burner input, venting, recovery, standby loss | Ready reserve and strong recovery; needs gas and safe venting |
| Heat-pump tank | Electricity rate, compressor operation, standby loss | Can use less electricity than resistance heating; needs airflow and condensate drainage |
| Tankless | Fuel or electricity rate, flow demand, standby loss | Little stored standby loss; may need gas-line, venting, or electrical upgrades |
| Recirculation | Pump electricity and heat lost from the loop | Faster hot water at the tap; adds heat loss and pump energy |
For electric resistance heating, use watts ÷ 1,000 × hours × electricity rate. A 4,500-watt element running at full power for 2 hours per day uses 4.5 × 2 = 9 kWh daily; at an assumed rate of $0.17 per kWh, the monthly estimate follows below. A tank usually cycles, so the element isn’t drawing full power all day.
| Heater | Watts | Per hour | Per day (2 h) | Per month (30 days) |
|---|---|---|---|---|
| Illustrative electric water heater element | 4,500 W | 77¢ | $1.53 | $45.90 |
Gas costs follow a different arithmetic: burner input, fuel price, venting losses, and recovery all matter. A tankless unit can reduce standby loss because it doesn’t keep a tank hot, but its purchase, venting, gas-line, or electrical upgrades may outweigh operating savings in some homes. Faster recovery doesn’t erase installation cost.
Comfort has a cost, too. A tank gives you a ready reserve; tankless heating can have a startup delay and may deliver less temperature or pressure when several fixtures exceed its flow capacity. A recirculation loop brings hot water to the tap sooner, while adding pump electricity and another path for heat to escape.
Finally, hot tap water doesn’t tell you how the house is heated: a domestic water heater serves faucets and appliances, while a hydronic heating system circulates heated water through baseboards or radiant circuits. Gas, electricity, or another fuel may heat either system, and gas connections, venting, and 240-volt work belong with the qualified professional required by local code.
Why Your Water Heater Is Not Keeping Up
A water heater makes hot water by heating and reheating stored water, or by heating water as it flows; the thermostat, heating element or gas burner, fuel supply, and water-flow parts determine whether hot water reaches your faucet. Overnight, a tank normally cycles under thermostat control, so a failed element, gas control, pilot or ignition system, fuel supply, or heavy standby demand can leave the tank cold by morning.
| Symptom | Likely components or cause |
|---|---|
| No hot water | Tripped breaker, failed heating element or thermostat, gas control, pilot or ignition system, or fuel shutoff |
| Lukewarm water | Failed upper element, thermostat setting, gas burner or mixing valve problem |
| Hot water runs out quickly | Dip tube, sediment, undersized tank, mixing valve, or unusually high demand |
| Slow recovery | Failed lower element, burner or gas supply problem, sediment, or recovery demand exceeding the heater |
| Water around the heater | Loose fitting, T&P valve discharge, or corroded tank |
| Rusty or brown water | Worn anode rod, sediment, or tank corrosion |
| Rumbling or popping | Sediment on the tank bottom overheating and shifting |
| Breaker trips | Heating element, thermostat, wiring, or circuit fault |
Start with checks that don’t require removing a cover. Confirm the breaker has not tripped, look for a fuel shutoff that was closed accidentally, read any displayed error code, inspect visible pipes and the floor for leaks, and confirm the temperature setting from the control. Don’t touch gas connections, electrical terminals, burner parts, or wiring while checking.
An anode rod made from sacrificial metal helps protect the tank, while the dip tube sends incoming cold water toward the bottom so hot water can leave from the top. Sediment can cover heating elements or insulate the tank bottom from the burner; a mixing valve can also make a properly heated tank feel lukewarm at the faucet. Those parts are worth inspecting according to the model, not by guessing with a wrench.

