How a Storage Tank Water Heater Works
On this page
- Cold In, Hot Out: The Dip Tube and Why Hot Water Leaves the Top
- Stratification: How a Tank Holds Hot and Cold Water in Layers
- Gas Burner vs Electric Elements: The Two Ways the Water Gets Heated
- The Thermostat and How the Tank Cycles to Hold a Temperature
- The T&P Relief Valve: The Tank’s Built-In Pressure Safeguard
- The Anode Rod, Dip Tube, and Drain Valve: The Parts That Wear
- Frequently Asked Questions
- Sources
- Related posts:
A storage tank water heater keeps a large body of water hot all the time so it is ready the instant you open a tap. Cold water enters the bottom of an insulated tank, a gas burner or a set of electric elements heats it, and the hottest water collects at the top where your plumbing draws it off. A thermostat switches the heat on and off to hold a target temperature, and two protective parts, the temperature and pressure relief valve and the anode rod, keep the unit safe and slow its corrosion. Understanding that cycle is the key to every later question about why a tank runs cold, leaks, rumbles, or needs maintenance.
This guide explains the mechanism, part by part. It does not cover diagnosing or repairing a specific problem. Where a part matters for troubleshooting later, you will see a pointer to the guide that handles it.
Cold In, Hot Out: The Dip Tube and Why Hot Water Leaves the Top
The behavior that explains everything else is that cold and hot water move in opposite directions inside the tank. According to the U.S. Department of Energy, a storage heater releases hot water from the top of the tank when you open a hot tap, and cold water enters the bottom of the tank through the dip tube to replace it, so the tank stays full at all times.
The dip tube is a long plastic tube that drops down from the cold inlet at the top of the tank almost to the bottom. Its whole job is to carry incoming cold water past the hot water already stored and deliver it low, near the heat source, instead of letting it dump in at the top. The hot outlet, by contrast, sits at the very top of the tank and pulls from the warmest layer.
This is why the tank never mixes itself into a single lukewarm mass during normal use. It also explains a failure you will read about elsewhere: when a dip tube cracks or breaks, cold water no longer reaches the bottom and instead blends straight into the hot water at the top, so the tap turns lukewarm even though the heater is working. That symptom and its causes live in our guide on water that runs out fast or is not hot enough (053).
Stratification: How a Tank Holds Hot and Cold Water in Layers
Hot water is less dense than cold water, so it rises. Inside a tank that is left alone, this natural layering is called stratification, and it is the idea that makes the whole appliance make sense.
Picture the tank as holding distinct horizontal layers rather than one uniform temperature. The hottest water floats at the top, a transition zone sits in the middle, and the coldest water settles at the bottom. The dip tube is designed to protect those layers by delivering replacement cold water to the bottom, where it can be heated in turn without stirring the hot supply above it. The hot outlet at the top skims off only the hottest layer.
Stratification has a practical consequence you have probably felt. As you use hot water, the hot layer shrinks from the top down and the cold layer climbs. When the cold layer reaches the outlet, the water at your tap turns cold, even though the tank is still completely full. A near-empty tank delivers cold water, not less water. That is also why a heater needs recovery time after a long shower: the burner or elements have to reheat the cold water that now fills the lower two-thirds of the tank.
Gas Burner vs Electric Elements: The Two Ways the Water Gets Heated
A storage tank is heated in one of two basic ways, and the Department of Energy lists the common fuel sources as natural gas, propane, fuel oil, and electricity.
On a gas or propane unit, a burner sits underneath the tank. It fires inside a combustion chamber at the base, and the heat rises through a central flue pipe that runs up the middle of the tank, transferring warmth to the water around it before the exhaust vents out the top. A gas control valve and a pilot or electronic igniter manage the flame. Because combustion is involved, a gas unit needs proper venting, and the burner and gas controls are not homeowner-serviceable. If a gas burner needs relighting, adjustment, or repair, that is work for a licensed plumber or your gas utility, and any smell of gas is an immediate stop-and-leave situation covered separately.
On an electric unit, there is no flame and no flue. Instead, one or usually two heating elements pass directly through the tank wall into the water, much like the element in a kettle. A typical residential electric tank uses an upper and a lower element that take turns rather than running at the same time. There is no combustion to vent, but the elements run on 240-volt power, so element and wiring work belongs to a qualified pro, not a do-it-yourself swap.
Knowing which type you have shapes nearly every later question, from why one fixture runs cold to how the two systems differ in cost and efficiency. The full comparison is in our guide on gas versus electric water heaters (059).
The Thermostat and How the Tank Cycles to Hold a Temperature
A thermostat is what makes a storage heater hold a steady temperature without running constantly. It senses the temperature of the water and switches the heat source on when the water drops below the setpoint, then shuts it off once the water reaches the target again. The Department of Energy notes that water is heated until the thermostat setpoint temperature is reached, and it recommends a setting of 120 degrees Fahrenheit for comfortable hot water in most homes.
On an electric tank, each element has its own thermostat strapped against the tank wall. The upper thermostat generally has priority and brings the top of the tank up to temperature first so you get hot water sooner, then control passes to the lower element to heat the bulk below. On a gas tank, a single combined gas control and thermostat at the bottom reads the water temperature and opens or closes the gas valve to the burner.
Because the heater only fires when the stored water has cooled, it loses energy even when no one is drawing hot water. The Department of Energy calls this standby heat loss, the heat that escapes from the tank into the surrounding room. It is the reason tanks are wrapped in insulation and why a higher-insulation model lowers operating cost. The right number to set the dial to, and the safety tradeoffs behind it, are covered in our guide on water heater temperature and scald safety (054).
The T&P Relief Valve: The Tank’s Built-In Pressure Safeguard
The temperature and pressure relief valve, usually called the T&P valve, is the most important safety part on the entire appliance. It is a valve mounted on the top or upper side of the tank, almost always with a pipe running down from it toward the floor.
Its purpose is to release water if the tank ever gets too hot or builds too much pressure. According to valve manufacturer Watts, T&P valves on residential water heaters are designed to open at 210 degrees Fahrenheit or 150 psi, whichever comes first, and these valves are approved under ASME, ANSI, and CSA standards as the last line of defense against excess temperature and pressure. A sealed tank of water heated past boiling and held under pressure stores an enormous amount of energy, and the T&P valve exists so that energy bleeds off harmlessly instead of failing the tank.
Two facts matter for any homeowner. First, in normal operation the valve should not discharge at all, so water dripping or flowing from the T&P line is a signal that something is wrong and needs a professional to investigate, not a part to simply replace. Second, the discharge pipe is a safety device in its own right. Inspection guidance from InterNACHI is firm that the discharge line must run downward to a safe location and that no valve, cap, plug, or threaded fitting may ever be placed on it, because anything that blocks it removes the heater’s only escape route. Never cap or plug a T&P discharge line to stop a drip. What a weeping or discharging valve means, and what to do about it, is handled in our guide on a leaking water heater (055).
The Anode Rod, Dip Tube, and Drain Valve: The Parts That Wear
A few parts inside the tank are designed to wear out so the tank itself lasts longer. The most important is the anode rod, a metal rod, commonly magnesium or aluminum, that threads into the top of the tank and hangs down inside it.
The anode rod works by sacrificing itself. The water and the steel tank create the conditions for corrosion, and the anode is made of a metal that corrodes more readily than steel, so the rust attacks the rod first and leaves the tank lining alone. This is the same galvanic principle used to protect ship hulls and buried pipes. The rod slowly dissolves over the years, and once it is used up the tank starts to corrode from the inside. That is why checking and replacing the anode does more to extend a tank’s life than almost any other maintenance, a topic covered in depth in our guide on the anode rod (058).
The dip tube, described above, is also a wear part: plastic, and prone to cracking with age. The drain valve near the bottom of the tank is the third. It lets you connect a hose and empty the tank to clear out sediment, the gritty mineral layer that settles on the bottom over time. Sediment is behind several common complaints, including rumbling noises and lost capacity, and the routine that clears it is its own task. The flushing procedure is in our guide on flushing sediment from a water heater (057).
Frequently Asked Questions
Where does the hot water in my tank actually come from?
From the top of the tank. Because hot water is lighter than cold water, the hottest water rises and collects at the top, and that is exactly where the hot outlet draws from. Cold water enters at the bottom through the dip tube to replace whatever you use.
Why do I run out of hot water before the tank is empty?
Because the tank is always full. As you draw hot water off the top, cold water fills in at the bottom, and the boundary between the two layers rises. Once that cold layer reaches the outlet, the tap runs cold even though the tank still holds a full volume of water. The heater then needs time to reheat the incoming cold water.
What is the difference between how a gas and an electric tank heats water?
A gas tank burns fuel in a chamber under the tank and sends the heat up through a central flue, which means it needs venting. An electric tank uses heating elements that sit directly in the water, usually two of them working in turn, with no flame and no flue.
Is the water in my tank under pressure?
Yes. A storage tank stays connected to your home’s pressurized cold water supply, so the water inside is under the same pressure as the rest of your plumbing. The temperature and pressure relief valve is what keeps that pressure, and the temperature, from ever climbing to a dangerous level.
Can I service the parts inside the tank myself?
Some maintenance, like draining and flushing sediment, is a reasonable homeowner task when done correctly. Anything involving the gas burner, the gas controls, electric elements and wiring, or a discharging relief valve should go to a licensed plumber. The relief valve discharge line in particular must never be capped or blocked.
This article is general information about how a storage tank water heater works and is not professional repair advice. Work involving gas, electrical components, or a discharging relief valve should be handled by a licensed plumber.
Sources
- U.S. Department of Energy, Energy Saver, Storage Water Heaters: https://www.energy.gov/energysaver/storage-water-heaters
- Watts, Temperature and Pressure (T&P) Relief Valves: https://www.watts.com/resources/references-tools/t-and-p-relief-valves
- InterNACHI, TPR Valves and Discharge Piping: https://www.nachi.org/tpr-valves-discharge-piping.htm