A water heater works by heating cold water and delivering it to your fixtures—either by storing hot water in a tank or heating it instantly as it flows.
Quick Answer |
How a Tank Water Heater Works |
How a Tankless Water Heater Works |
Key Water Heater Components |
The Heating Cycle Explained |
Gas vs. Electric Systems |
Why Water Heaters Have Problems |
Next Steps & Related Guides |
FAQs
Understanding how a water heater works makes it much easier to diagnose problems and know what to fix. Most homes use either a traditional tank-style water heater or a tankless (on-demand) system.
Quick Answer
A water heater heats cold water using either electric heating elements or a gas burner. Tank systems store and maintain hot water, while tankless systems heat water only when you need it.
How a Tank Water Heater Works
A traditional tank water heater stores hot water in an insulated tank, ready for use at any time.
- Cold water enters the tank through a dip tube
- Heating elements (electric) or a burner (gas) heat the water
- Hot water rises to the top of the tank
- When you open a faucet, hot water flows out from the top
- Cold water enters the tank to replace it
This process continues until the tank is emptied or reheated.
For a deeper look at how tank water heaters work, see How a Storage Water Heater Works.
How a Tankless Water Heater Works
A tankless water heater heats water only when you turn on a hot water tap.
- Cold water flows through a heating unit
- A powerful electric element or gas burner heats the water instantly
- Hot water is delivered directly to your fixtures
Because there is no storage tank, tankless systems provide continuous hot water—but only up to their flow capacity.
Key Water Heater Components
Dip tube
Directs incoming cold water to the bottom of the tank so it can be heated efficiently.
Heating elements or burner
Provide the heat source—electric elements or a gas burner.
Thermostat
Controls water temperature by turning the heating system on and off.
Tank (tank-style systems)
Stores hot water and is insulated to reduce heat loss.
Temperature-pressure (TP) relief valve
Prevents dangerous pressure or temperature buildup inside the tank.
Anode rod
Protects the tank from corrosion by attracting corrosive elements.
The Heating Cycle Explained
Here’s what happens during normal operation:
- Cold water enters the tank
- The thermostat detects temperature
- The heating system turns on if needed
- Water is heated to the set temperature
- The system shuts off until more heat is needed
This cycle repeats throughout the day to maintain a supply of hot water.
Gas vs. Electric Systems
Electric water heaters
- Use heating elements inside the tank
- Typically simpler and less expensive
- Slower recovery time
Gas water heaters
- Use a burner beneath the tank
- Heat water faster
- Require venting and gas supply
Why Water Heaters Have Problems
Understanding how a water heater works helps explain common issues:
- No hot water: Power, gas, or heating failure
- Water not hot enough: Thermostat or dip tube issue
- Hot water runs out fast: Capacity or heating problem
- Low pressure: Blockages or plumbing issues
For troubleshooting, see Water Heater Troubleshooting Guide.
Next Steps & Related Guides
- No Hot Water
- Water Not Hot Enough
- Hot Water Runs Out Fast
- Repair or Replace a Water Heater
- Water Heater Repair Cost
FAQs
How does a water heater heat water?
It uses electric elements or a gas burner to raise the temperature of incoming cold water.
What is the difference between tank and tankless?
Tank heaters store hot water, while tankless systems heat water on demand.
Why does hot water run out?
Tank systems can run out if demand exceeds capacity or heating is slow.
What is the most important part of a water heater?
The heating system and thermostat are essential for proper operation.
How long does a water heater last?
Most tank water heaters last 8–12 years, while tankless units can last longer.









Don Vandervort writes or edits every article at HomeTips. Don has: