How a Tank Water Heater Works: Gas vs. Electric, the Heating Cycle and the Parts That Fail

In short

A tank water heater works by storing hot water: it leaves from the top, cold water refills the bottom through the dip tube, and a thermostat fires a gas burner or an electric element until the tank is back at its setting. On Bradford White's spec sheets, a 50-gallon gas tank at 40,000 BTU/hr reheats 43 gallons an hour through a 90°F rise; a 50-gallon electric tank with 4,500-watt elements reheats 21. A relief valve opens at 210°F or when pressure reaches its rating, typically 150 psi.

Checked mainly against: Bradford White specification sheets and service manual, A.O. Smith technical bulletins and instruction manual, Montana State University Extension.

Two 50-gallon water heaters from the same maker can give very different amounts of hot water. Bradford White's spec sheets list a first-hour rating of 81 gallons for its RG250T6N gas model and 64 gallons for its RE250T6 electric model, and the gas tank holds only 3 gallons more. The gap comes from how fast each one puts heat back into the water.

Every tank heater stores water, reheats what you draw off, and keeps it from getting hot or pressurized enough to hurt anyone. If something is already wrong, start from the symptom in our water heater troubleshooting guide. Our safety policy sets the limits here: we explain gas controls and 240-volt wiring, we do not walk you through working on them.

Water heater parts: what each one does and how it fails

Find what you notice in the last column, then read back to the part. Rows marked gas or electric exist only on that type.

PartIts jobHow it usually failsWhat you notice
Dip tubeCarries incoming cold water down to the bottom of the tankCracks or breaks; heat from soldering the cold inlet can damage itHot water runs out early or turns lukewarm fast
Gas control valve and thermostat (gas)Senses temperature, sends gas to the burner, holds the high-temperature shut-offShut-off trips; it cannot be resetNo hot water; the whole valve has to be replaced
Pilot and thermocouple (gas)The pilot lights the burner; the thermocouple's current holds the gas valve's safety magnet openThermocouple weakens or its tip sits outside the flamePilot goes out when you let go of the knob
Burner, flue and baffle (gas)Burner heats the tank; flue carries hot gases up the center; baffle slows themSoot, or condensation dripping onto the burnerSizzling; soot at the burner door; pilot outages
Upper element and thermostat (electric)Heat the top of the tank first, then pass power to the lower thermostatElement burns out (element failure is the most common electric fault)No hot water at all
Lower element and thermostat (electric)Heat the rest of the tank; do most of the workElement scales over or burns out dry; this thermostat tends to fail before the upper oneHot water runs short; slow recovery
High limit, or ECOCuts the heat if the water overheatsTrips when a thermostat sticks or an element shorts to groundNo hot water; on electric tanks the red reset button clicks
Temperature and pressure (T&P) relief valveOpens at 210°F or when pressure reaches its rating, typically 150 psiOpens again and again from thermal expansion; valve not seatingDrips or runs from its discharge pipe
Anode rodCorrodes so the steel tank does notGets used up; reacts with sulfate in the waterRotten-egg smell in the hot water; shorter tank life
Tank, glass lining and foamHold water under pressure; lining and foam slow corrosion and heat lossSteel corrodes through once the anode is goneWater from the tank body itself

The heating cycle, step by step

Gas and electric tanks run the same cycle; only step 4 differs.

  1. You open a hot tap. Water leaves from the top of the tank, where the hottest water collects, as Montana State University Extension describes for both gas and electric models.
  2. Cold water refills the bottom. Supply pressure pushes cold water in through the dip tube, a pipe that runs from the cold inlet down to the bottom of the tank. When a dip tube fails, cold water mixes into the hot water near the top, which is why the shower turns lukewarm long before the tank is really used up.
  3. The thermostat sees the drop. On a gas tank, the thermostat is built into the gas control valve and monitors the water temperature. On an electric tank, two thermostats clip against the outside of the steel tank and read its surface temperature.
  4. Heat goes in. A gas tank opens its valve and the pilot lights the main burner under the tank. An electric tank switches on one element, usually the upper one after a big draw.
  5. The thermostat is satisfied and the heat stops. The tank sits in standby, slowly losing heat. Penn State's energy course puts those standby losses at 10 to 20 percent of a household's annual water heating cost.

A run of short draws makes the burner or elements cycle often, and the top of the tank overshoots. A.O. Smith calls this stacking.

Up to 30°F above the thermostat setting: how hot water at the tap can run after short, repeated heating cycles.

Source: A.O. Smith, Residential Gas Water Heaters Instruction Manual 196293-002, Temperature Regulation

Inside a gas water heater: pilot, thermocouple and flue

cold inventhot out draft hoodT&P valveanodeflue baffledischarge pipesedimentpilot and thermocouple dip tubegas controland thermostatdrain valveburner
A gas tank in cross-section. Hot gases from the burner rise through the flue in the center; the baffle slows them so the water around the flue takes up more heat. An electric tank has no burner or flue; it has an upper and a lower element instead. Schematic, not to scale.

The burner sits in a combustion chamber in the base, under the tank. The pilot is a small flame that stays lit all the time and lights the burner when the thermostat calls for heat.

Beside it, the thermocouple makes a tiny electric current when its tip is hot; A.O. Smith's glossary says that current powers a safety magnet inside the gas valve. When the pilot goes out, Montana State's guide explains, the current stops and so does the gas. The same guide says the pilot flame should bathe the top half inch of the thermocouple rod. That is why a pilot that goes out when you let go of the knob usually points to the thermocouple or its position in the flame; A.O. Smith's troubleshooting chart lists both, along with a defective gas control.

Some newer gas controls use a thermopile instead. On Bradford White's atmospheric vent models, the thermopile turns pilot heat into enough electricity to run the gas valve and a small microprocessor, so the heater needs no outlet, and an LED on the valve shows its status.

Above the burner, the flue runs up the middle of the tank. A.O. Smith describes it as the pipe that carries rising heat into the water and sends combustion by-products out the vent, and the metal baffle inside it slows the hot gases so the water absorbs more heat. On top of the tank, the flue meets the vent at a draft hood. Bradford White rates the recovery efficiency of its atmospheric models at up to 80%, which means up to 80% of the energy in the gas burned ends up in the water.

Burning gas also makes water vapor. On a tank full of cold water it condenses on the steel and drips onto the burner with a sizzle; A.O. Smith's manual calls this normal, says it can look like a tank leak, and says it stops once the water warms up, in about one to two hours. Bradford White's atmospheric models add a flammable-vapor system: a flame arrestor designed to stop vapor from igniting outside the heater, and a thermal switch that shuts the burner and pilot down if vapors burn inside. A.O. Smith's manual still says never to store or use gasoline or other flammable liquids in the same room as a gas water heater.

If you smell gas near the heater, leave the house and call the gas utility's emergency number or 911 from outside, as the Public Service Commission of Wisconsin advises. Do not use lights, appliances, a phone or any flame near the leak.

Inside an electric water heater: two elements, one at a time

Most home electric tanks have an upper and a lower element, each with its own thermostat, and they are usually wired so that only one element runs at a time. Bradford White's electric service manual calls this non-simultaneous operation and spells out the order:

  • On a cold tank, the upper element comes on first and heats the top of the tank, where the outlet draws from.
  • When the upper thermostat is satisfied, it cuts that element and passes power to the lower thermostat, which runs the lower element until the bottom of the tank is up to temperature.
  • During ordinary use, cold water from the dip tube cools the bottom first, so the lower element cycles on and off more often than the upper.
  • After a big draw, the upper thermostat takes the power back, switching the lower element off until the top is hot again.

That handoff explains a classic symptom pair. A dead upper element means no hot water at all, because the lower element never gets power. A dead lower element means a small supply of hot water that runs out fast, because only the top of the tank is being heated. A.O. Smith's no-hot-water flowchart adds that the lower thermostat, doing most of the work, is the one more likely to fail first.

The standard setup is 240 volts with two 4,500-watt elements. The element's resistance follows from that: (240 V)² ÷ 4,500 W = 12.8 ohms, and Bradford White says a good element reads 12.8 ohms ±6%. Both manuals measure it only with the power off and the element's wires disconnected; switch the breaker off and confirm the heater is dead with a non-contact voltage tester before you open an access panel. The step-by-step test is in our troubleshooting guide.

The upper thermostat also carries the high limit, the ECO, with a red manual reset button. When the button clicks as you press it, A.O. Smith says the water got too hot and tripped it. Bradford White adds that repeated ECO trips usually mean an element is shorted to ground and heating nonstop.

Why a gas tank refills faster: recovery and first-hour rating

Two spec-sheet numbers tell you how a tank handles a busy morning. Recovery is how many gallons per hour the heater can raise by 90°F. The first-hour rating is the federal test's estimate of the most hot water the heater can supply in one hour, starting from a fully heated tank, as defined in 10 CFR Part 430, Appendix E.

SpecGas: Bradford White RG250T6NElectric: Bradford White RE250T6
Nominal size / DOE rated storage50 / 48 gallons50 / 45 gallons
Heat input40,000 BTU/hr (natural gas)4,500 W, one element at a time
Recovery at a 90°F rise43 gallons per hour21 gallons per hour
First-hour rating81 gallons64 gallons
Uniform energy factor (UEF)0.630.92

The gas burner puts heat back roughly twice as fast, and the gas tank delivers 17 more gallons in its first hour from the same nominal size. The electric tank uses its energy better: Bradford White describes its immersed elements as transferring heat directly to the water, and its UEF, the DOE's overall efficiency score, is 0.92 against 0.63.

21 gallons per hour is what a 4,500-watt element heats through a 90°F rise with one element running at a time; wired to run both at once, Bradford White says the figure roughly doubles.

Source: Bradford White, Upright Electric Residential Water Heater specification sheet 1201-0425

A.O. Smith turns this into a field check. After you run about 15 gallons of hot water, a gas tank should finish reheating them in approximately 20 to 35 minutes (Bulletin 35) and an electric tank in approximately 45 minutes (Bulletin 36). Much slower than that is worth a look: Bradford White ties slow recovery on electric tanks to sediment around the elements, and A.O. Smith's gas manual lists low gas pressure among the causes of too little hot water.

The safety layer: thermostat, high limit, relief valve

A tank heater has three independent limits, each set higher than the last, so one failure does not become a scald or a burst tank.

1. The thermostat. A.O. Smith ships its gas thermostat at the lowest setting and calls the mark at about 120°F the preferred starting point. The U.S. Consumer Product Safety Commission also urges 120°F, because most adults get third-degree burns in two seconds at 150°F, six seconds at 140°F and thirty seconds at 130°F, against five minutes at 120°F. If your dishwasher manual asks for hotter water, A.O. Smith notes that most dishwasher makers recommend 120 to 140°F; a mixing valve at the taps limits the scald risk if you go higher.

2. The high limit (ECO). If a thermostat sticks closed, the ECO cuts the heat. On a gas tank, A.O. Smith's glossary puts the trip point at 190°F and says the switch is single-use: once it trips, the entire thermostat, which is the gas control valve, gets replaced by a technician. On an electric tank, the ECO resets with the red button, and Bradford White's service manual treats a trip as a reason to check that the thermostat sits flat on the tank and that no element is shorted to ground.

3. The temperature and pressure relief valve. The last line opens at 210°F or when pressure reaches its rating, typically 150 psi. Its probe has to reach into the top six inches of the tank, where the hottest water sits, according to the Watts valve sheet and A.O. Smith's Bulletin 52. Watts wants the discharge pipe at the valve's full size, running downhill and ending at least 6 inches above a floor drain. Never cap or plug a dripping relief valve; it is the tank's last defense against overpressure.

A valve that drips while nobody uses water is often reacting to thermal expansion, not failing. Heated water expands, and if a check valve at the meter or a pressure reducing valve on the supply line stops it from pushing back into the main, the pressure has nowhere to go.

250 psi is the pressure water in a closed tank at 50 psi reaches when heated just 10 degrees, because water does not compress.

Source: A.O. Smith, Technical Bulletin 45: Thermal Expansion

A.O. Smith says not to rely on the relief valve for this. An expansion tank on the cold line absorbs it; see our water heater expansion tank guide.

What wears out, and why

The anode rod corrodes so the tank does not. The steel tank has a glass-like enamel lining, and inside hangs a rod of aluminum, magnesium or zinc that corrodes in the tank's place. A.O. Smith's instruction manual says how fast it goes depends on the water's conductivity, and its maintenance page adds hot water use and water softeners, and recommends checking the rod once a year. The anode's protective action also releases hydrogen, and A.O. Smith's manual says that with sulfate in the water, little dissolved oxygen and sulfate-reducing bacteria in the tank, the result is hydrogen sulfide: the rotten-egg smell in the hot water. See our water heater anode rod guide.

Scale comes out of the water as it heats. A.O. Smith's Bulletin 13 explains that lime is inversely soluble: the hotter the water, the more lime drops out. It builds up as sediment on the tank floor and around the elements. Water trapped under the deposits makes the popping and rumbling you hear, and water trapped next to an element sizzles as it boils to steam. Penn State notes the layer insulates and cuts efficiency; Bradford White adds that it slows recovery and can trap an air pocket that burns out an element within seconds. Draining a few gallons through the drain valve near the bottom on a schedule keeps it down; see how to drain and flush a water heater.

The tank itself is the end of the line. A.O. Smith puts the average life at about 8 to 12 years and says a heater more than 10 years old that leaks around the base or runs erratically is probably due for replacement. Every part above can be swapped, but HomeGuide notes that a leaking tank typically means a new heater. If you have water on the floor, start with our water heater leaking guide.

How a tank compares with tankless and heat pump heaters

A tankless heater stores no water, so it has no standby loss, as University of Maryland Extension notes. It fires only on flow: Rinnai says its gas units need 0.4 to 0.6 gallons per minute to ignite. A heat pump water heater keeps the tank but moves heat from the surrounding air into the water; the Maryland guide puts its savings at up to 60 to 70 percent against a standard electric tank.

What the parts cost to replace (checked November 2026)

We checked HomeGuide (August 7, 2025) and Fixr (updated August 29, 2025) in November 2026. Prices include labor unless marked part only; HomeGuide adds that a $50 to $200 service call fee may apply.

PartPart only (HomeGuide)Pro-installed (HomeGuide)Pro-installed (Fixr)
Heating element (electric)not listed$100–$350$200–$750
Thermostatnot listed$100–$350$100–$250
Thermocouple (gas)$10–$30$100–$325$150–$325
Gas control valvenot listed$150–$550$150–$300
Anode rod$20–$50$150–$350$125–$300
Dip tube$10–$20$100–$300$100–$250
T&P relief valve$10–$25$50–$300$100–$250
Whole tank heater replacementn/a$600–$1,800$600–$2,000

The parts are cheap; the labor is not. A $10–$20 dip tube becomes a $100–$300 job with labor, so on a tank past 10 years, its age usually weighs more in the repair-or-replace decision than the price of the part.

Stop and call a pro if

  • You smell gas near the heater: leave the house first and call the gas utility or 911 from outside.
  • You see soot around the burner access door or on top of the heater, or the pilot keeps going out after you relight it by the label instructions.
  • The gas tank has no hot water and the pilot is lit: the gas valve's single-use high-temperature shut-off may have tripped, and that valve is replaced, not reset.
  • The electric high-limit button clicks again within days of a reset, or the breaker trips as soon as you switch it back on.
  • The relief valve releases a gush of hot water or steam, or the pipe drips even after an expansion tank is in.
  • Water is coming from the tank body or a seam, not from a fitting, valve or the drain.

Water heater FAQ

How long does a water heater take to heat up?

A.O. Smith's checks expect a gas tank to reheat about 15 gallons in 20 to 35 minutes and an electric tank in about 45 minutes. A full tank of cold water takes much longer; the recovery rate on your heater's spec sheet (43 versus 21 gallons per hour on the Bradford White pair above) gives the scale.

Do both elements in an electric water heater run at once?

Usually not. Most are wired so only one runs at a time, upper first. Bradford White says wiring both to run together roughly doubles recovery, and that option has to be specified when the heater is ordered.

Why is my hot water hotter than the setting?

Frequent short draws make the burner or elements cycle often, and the top of the tank stacks heat. A.O. Smith says tap temperature can run up to 30°F over the setting and suggests a lower setting, with mixing valves at the taps if you keep the water hotter.

Sources

  1. Bradford White, Residential Electric Water Heaters Service Manual 238-51544-00D
  2. Bradford White, Upright Electric Residential Water Heater specification sheet 1201-0425
  3. Bradford White, Residential Atmospheric Vent Gas Water Heater specification sheet 1101-G-0822
  4. A.O. Smith, Residential Gas Water Heaters Instruction Manual 196293-002
  5. A.O. Smith, Gas Water Heater Glossary
  6. A.O. Smith, Standard Electric: No Hot Water (service flowchart)
  7. A.O. Smith, Technical Bulletin 13: Mineral Build-Up
  8. A.O. Smith, Technical Bulletin 35: Not Enough Hot Water (Gas)
  9. A.O. Smith, Technical Bulletin 36: Not Enough Hot Water (Electric)
  10. A.O. Smith, Technical Bulletin 45: Thermal Expansion
  11. A.O. Smith, Technical Bulletin 52: Leaking Temperature & Pressure Relief Valve
  12. A.O. Smith, Water Heater Maintenance
  13. A.O. Smith, When to Repair or Replace Your Water Heater
  14. Watts, LF100XL series T&P relief valve specification sheet
  15. CPSC, Avoiding Tap Water Scalds (Publication 5098)
  16. Montana State University Extension, Water Heater Maintenance
  17. Penn State, EGEE 102: Storage Tank Hot Water Heaters
  18. University of Maryland Extension, Home Energy: Water Heating
  19. 10 CFR Part 430, Appendix E, water heater test method (Cornell LII)
  20. Rinnai America, Residential Frequently Asked Questions
  21. Public Service Commission of Wisconsin, Natural Gas Consumer Safety
  22. HomeGuide, Water Heater Repair Cost (August 7, 2025)
  23. Fixr, Water Heater Repair Cost (updated August 29, 2025)