Water heater components and parts explained

Paul Mazzola
Written by
Paul Mazzola
Edited by
Tom Grupa
Fact-checked by
Editorial staff

Understanding water heater components

A water heater relies on roughly 15 to 20 individual components working together to store, heat, and deliver hot water throughout your home. Whether your system runs on electricity or natural gas, each part serves a specific purpose, from heating water to preventing dangerous pressure buildup. Understanding these components helps you troubleshoot problems, perform basic maintenance, and communicate effectively with a plumber when repairs are needed.

Component Primary Function Found In
Tank Stores and insulates heated water Tank models
Heating element Converts electricity to heat Electric models
Gas burner Burns fuel to heat water Gas models
Thermostat Regulates water temperature All models
Dip tube Directs cold water to tank bottom Tank models
Anode rod Prevents tank corrosion Tank models
T&P relief valve Releases excess pressure All models
Drain valve Allows tank flushing Tank models
Flue pipe Vents combustion gases Gas models
Heat exchanger Transfers heat to water Tankless and some tank models

Tank-style water heaters are the most common type found in homes, but tankless, heat pump, and hybrid models are growing in popularity. This guide covers the components found in each type so you can identify parts regardless of what system you own.

Get free estimates from water heater repair services near you.

The tank and its construction

The tank is the largest and most visible component of a conventional water heater. It serves as the central storage unit, holding anywhere from 20 to 80 gallons of water that is continuously heated and kept ready for use. The tank connects to your home's cold water supply, a heat source, and the hot water distribution system.

Tank Feature Purpose
Steel outer shell Provides structural support
Glass or porcelain lining Protects steel from water corrosion
Insulation layer Reduces standby heat loss
Outer jacket Encloses insulation and improves appearance

Inner lining

The interior of a water heater tank is lined with glass or porcelain to create a barrier between the stored water and the steel walls. Without this lining, the steel would corrode rapidly from constant contact with hot water and dissolved minerals. Over time, small cracks can develop in this lining, which is why the anode rod exists as a secondary defense against corrosion.

Insulation

Between the inner tank and the outer jacket sits a layer of insulation, typically made from polyurethane foam. This insulation reduces standby heat loss, keeping the stored water hot without forcing the heating element or burner to cycle on as frequently. Higher-efficiency models feature thicker insulation, which can reduce energy consumption by 5% to 10% compared to standard units.

Heating elements and burners

The heating components are responsible for raising water temperature from the cold supply temperature (typically 40°F to 60°F depending on your location and season) up to the set temperature, usually around 120°F. How water is heated depends on whether your unit is electric or gas-powered.

Heating Component Type of Water Heater How It Works
Upper heating element Electric tank Heats water in the upper portion of the tank
Lower heating element Electric tank Heats incoming cold water at the tank bottom
Gas burner assembly Gas tank Burns natural gas or propane beneath the tank
Heat exchanger Tankless and some tank models Transfers combustion heat to passing water

Electric heating elements

Electric water heaters use metallic rods immersed directly in the water inside the tank. An electrical current passes through the element, generating heat in a process similar to how a toaster works. Most electric tank water heaters have two heating elements: an upper element and a lower element.

The two elements typically do not operate simultaneously. The upper element heats first to quickly deliver hot water from the top of the tank. Once the upper portion reaches the set temperature, the lower element activates to heat the remaining water. This "flip-flop" design allows the unit to provide hot water more quickly while using a standard household electrical circuit.

Heating elements are available in different wattage ratings, commonly 3,800 watts and 4,500 watts for residential models. Higher wattage elements heat water faster but draw more electricity. Elements come in two styles: screw-in (threaded) and bolt-in (flanged), so matching the correct type is essential when replacing a failed element.

Gas burner assembly

In gas-powered water heaters, a burner assembly located at the bottom of the tank burns natural gas or propane to generate heat. The flame heats the bottom of the tank, and the resulting hot combustion gases rise through a flue tube running up through the center of the tank, providing additional heat transfer before exiting through the flue pipe at the top.

The gas burner assembly includes the burner itself, a gas supply line, a pilot light or electronic ignition system, and a gas control valve. Modern gas water heaters increasingly use electronic ignition rather than a standing pilot light, improving energy efficiency by eliminating the small but constant gas consumption of a pilot flame.

Heat exchanger

The heat exchanger transfers thermal energy from the primary heat source to the water without the two directly mixing. In gas tank water heaters, the flue tube running through the center of the tank acts as a heat exchanger. In tankless water heaters, the heat exchanger is a set of coils or plates that water flows through while a burner or element heats them.

High-efficiency condensing water heaters use a secondary heat exchanger to capture additional heat from exhaust gases that would otherwise be wasted, boosting overall efficiency to 90% or higher.

Water flow components

Several components manage how cold water enters the tank and how hot water exits it. These parts work together to maintain efficient heating and consistent delivery of hot water throughout your home.

Component Location Function
Cold water inlet pipe Top of tank Connects home's water supply to the tank
Cold water shut-off valve On the inlet pipe above the tank Stops water flow for maintenance or emergencies
Dip tube Inside tank, attached to inlet Directs cold water to the bottom of the tank
Hot water outlet pipe Top of tank Delivers heated water to the home's plumbing

Dip tube

The dip tube is a long plastic or metal pipe that extends from the cold water inlet at the top of the tank down to within a few inches of the bottom. Its purpose is to deliver incoming cold water to the lowest point in the tank, where the heating element or burner can heat it most efficiently.

Without a dip tube, cold water would enter at the top and mix immediately with the hot water waiting to be distributed, dramatically reducing the temperature of the water delivered to your faucets. A broken or deteriorated dip tube is a common cause of lukewarm water complaints.

Cold water inlet and hot water outlet

The cold water inlet pipe connects your home's main water supply to the water heater. It includes a shut-off valve that allows you to stop the flow of water into the tank during maintenance, repairs, or emergencies. This valve is typically located at the top of the water heater or on the pipe just above it.

The hot water outlet pipe draws heated water from the top of the tank, where the hottest water naturally rises due to convection. This pipe connects to your home's hot water distribution system, delivering hot water to faucets, showers, dishwashers, and other fixtures.

Get free estimates from water heater repair services near you.
Why hot water comes from the top

Heat causes water molecules to move faster and spread apart, making hot water less dense than cold water. This natural convection causes heated water to rise to the top of the tank, where the outlet pipe is positioned. The dip tube deposits cold water at the bottom, creating a natural stratification that keeps the hottest water ready for immediate use.

Safety and regulation components

Water heaters operate under pressure and at high temperatures, making safety components essential. These parts prevent dangerous conditions like tank ruptures, scalding, and gas leaks.

Safety Component Hazard It Prevents Maintenance Interval
Temperature and pressure (T&P) relief valve Tank explosion from excess pressure or temperature Test annually
Thermostat Overheating and energy waste Check settings periodically
Thermocouple Gas leaks from unlit burner Replace when pilot won't stay lit
Gas control valve Unregulated gas flow Professional inspection annually
Expansion tank Excess pressure in closed plumbing systems Check air pressure annually

Temperature and pressure (T&P) relief valve

The T&P relief valve is the single most critical safety component on a water heater. It automatically opens to release water if the temperature inside the tank exceeds approximately 210°F or the pressure exceeds approximately 150 PSI. Without a functioning T&P valve, a water heater could theoretically build enough pressure to cause a catastrophic explosion.

The valve is typically located on the top or upper side of the tank and has a discharge pipe running downward to direct any released water safely toward the floor or a drain. Homeowners should test the T&P valve at least once a year by lifting the lever briefly to verify that water flows freely and the valve reseats properly.

Thermostat

The thermostat monitors and regulates the water temperature inside the tank. When the water temperature drops below the set point, the thermostat signals the heating element or gas burner to activate. Once the water reaches the desired temperature, the thermostat shuts off the heat source.

Electric water heaters typically have two thermostats, one for each heating element. Gas water heaters have a single thermostat integrated into the gas control valve. The U.S. Department of Energy recommends setting your water heater thermostat to 120°F to balance comfort, safety, and energy efficiency. Every 10°F reduction in temperature can save 3% to 5% on water heating costs.

Thermocouple and flame sensor

Found exclusively in gas water heaters, the thermocouple is a safety sensor positioned near the pilot light. It consists of two different metals joined at one end. When the pilot flame heats the junction, it generates a small electrical voltage that holds the gas valve open. If the pilot light goes out, the thermocouple cools, the voltage drops, and the gas valve closes automatically to prevent unburned gas from accumulating.

A failing thermocouple is one of the most common reasons a gas water heater's pilot light won't stay lit. Replacement thermocouples are inexpensive and relatively straightforward to install, making this a manageable repair for many homeowners.

Maintenance and longevity components

Certain water heater parts exist specifically to extend the lifespan of the unit and keep it running efficiently. Regular attention to these components can add years of service life to your water heater.

Component What It Does Replacement Frequency
Anode rod Sacrifices itself to prevent tank corrosion Every 3 to 5 years
Drain valve Allows flushing of sediment from tank Replace if leaking; use regularly for flushing
Sediment trap Captures debris before it reaches the burner Clean during annual maintenance

Anode rod

The anode rod is often called the "sacrificial rod" because it is designed to corrode in place of the tank itself. It is a steel wire core wrapped in magnesium, aluminum, or an aluminum/zinc alloy. The rod runs through the center of the tank and attracts corrosive elements like dissolved minerals, sediment, and oxygen through an electrochemical process.

As the anode rod deteriorates, it protects the tank's glass-lined steel walls from rusting. Once the rod is fully consumed, corrosion begins attacking the tank, eventually leading to leaks and failure. Inspecting the anode rod every two to three years and replacing it every three to five years is one of the most effective ways to extend the life of your water heater.

There are three main types of anode rods:

  • Magnesium rods: Best for homes with soft water. Provides the strongest protection but corrodes faster.
  • Aluminum rods: Better for homes with hard water. Lasts longer but offers slightly less corrosion protection.
  • Aluminum/zinc alloy rods: Helps reduce the sulfur smell (rotten egg odor) that some water heaters produce.

Drain valve

The drain valve is located near the bottom of the tank and allows you to flush accumulated sediment from the system. Sediment, primarily calcium carbonate from hard water, settles at the bottom of the tank over time and can insulate the water from the heating element or burner, reducing efficiency and potentially causing overheating and damage.

Flushing a few gallons of water through the drain valve several times a year keeps sediment buildup in check. To drain your water heater properly:

  1. Turn off the water heater (circuit breaker for electric; set gas thermostat to "pilot").
  2. Shut off the cold water supply valve at the top of the unit.
  3. Attach a garden hose to the drain valve near the bottom of the tank.
  4. Direct the hose to a floor drain, bucket, or outdoor area.
  5. Open a hot water faucet in your home to allow air into the system.
  6. Open the drain valve slowly and let water flow until it runs clear.
  7. Close the drain valve, remove the hose, restore the water supply, and turn the heater back on.
Get free estimates from water heater repair services near you.

Sediment trap

The sediment trap, sometimes called a drip leg, is a short section of pipe installed on the gas supply line just before it connects to the water heater. It captures dirt, debris, and moisture from the gas line, preventing these contaminants from reaching the gas burner and causing clogs or corrosion. Most building codes require a sediment trap on gas-fired appliances.

Components specific to gas water heaters

Gas water heaters include several components that electric models do not have. These parts handle fuel combustion, exhaust venting, and combustion air supply.

Component Function
Gas control valve Regulates gas flow to the burner
Pilot light or electronic ignition Ignites the gas burner
Flue pipe (exhaust vent) Vents combustion gases outdoors
Draft hood or power vent Controls airflow through the exhaust system
Combustion chamber Contains the flame and directs heat to the tank
Ventilation system Supplies fresh air for combustion

Gas control valve

The gas control valve is the central command unit for a gas water heater. It integrates the thermostat, temperature dial, pilot control, and safety shut-off into a single assembly. When the thermostat senses that the water temperature has dropped below the set point, the gas control valve opens to allow gas flow to the burner. When the target temperature is reached, it closes the valve to stop gas flow.

Flue pipe and venting

The flue pipe safely directs combustion byproducts, including carbon monoxide, out of your home. In a standard atmospheric vent gas water heater, hot exhaust gases naturally rise through a flue tube in the center of the tank and out a vertical vent pipe connected to the chimney or roof vent.

Power-vented water heaters use an electric blower to push exhaust gases through a horizontal vent pipe, allowing more flexible installation locations. Direct-vent models draw combustion air from outside and exhaust gases through a concentric (pipe-within-a-pipe) vent system.

Carbon monoxide safety

A cracked or disconnected flue pipe can allow carbon monoxide to leak into your home. Ensure your gas water heater's venting system is inspected annually, and install carbon monoxide detectors near your water heater and sleeping areas.

Combustion chamber

The combustion chamber is the sealed area beneath the tank where the gas burner operates. In older atmospheric models, this chamber is open to the surrounding air. Newer sealed-combustion models feature a closed chamber that draws air from outside, improving both safety and efficiency by preventing drafts from affecting burner performance.

Tankless water heater components

Tankless (on-demand) water heaters share some components with tank models but have several unique parts designed for their flow-through heating approach.

Component Function
Flow sensor Detects when a hot water tap is opened
Modulating gas valve or variable-output element Adjusts heat output based on demand
Heat exchanger Rapidly heats water as it passes through
Control board (PCB) Manages all electronic functions and error codes
Inlet water filter Screens debris before it enters the unit
Mixing valve Blends hot and cold water to the desired output temperature

Flow sensor

The flow sensor is the trigger for the entire tankless heating process. When you open a hot water faucet, the flow sensor detects water movement and signals the control board to ignite the burner or activate the heating element. When the faucet is closed and flow stops, the unit shuts off. This on-demand operation is what makes tankless units more energy-efficient than tank models for many households.

Control board

Tankless water heaters rely on a sophisticated electronic control board (printed circuit board, or PCB) to manage operations. The control board processes signals from the flow sensor, thermistors, and flame rod. It modulates the gas valve or adjusts the heating element output to deliver precise water temperatures. It also monitors for errors and displays diagnostic codes when problems are detected.

Tankless heat exchanger

The heat exchanger in a tankless unit is significantly different from a tank model's design. Water flows through a series of copper or stainless steel coils or plates that are heated by a high-powered burner or element. Because the water passes through quickly, the heat exchanger must transfer a large amount of energy in a very short time. Scale buildup from hard water is the primary threat to tankless heat exchangers, making regular descaling essential.

How all the components work together

Understanding each component individually is helpful, but seeing how they interact as a system provides the full picture of your water heater's operation.

Stage Components Involved What Happens
1. Cold water entry Cold water inlet valve, dip tube Cold water enters the tank and is directed to the bottom
2. Heating Heating element or gas burner, heat exchanger Water is heated to the set temperature
3. Temperature regulation Thermostat, gas control valve Heat source cycles on and off to maintain the set temperature
4. Hot water delivery Hot water outlet pipe Heated water rises to the top and exits through the outlet
5. Safety monitoring T&P valve, thermocouple, expansion tank Pressure, temperature, and flame are continuously monitored
6. Corrosion prevention Anode rod, glass lining Tank walls are protected from rust and mineral damage
7. Exhaust (gas only) Flue pipe, draft hood, ventilation system Combustion gases are safely expelled from the home

The cycle begins when a hot water faucet is opened somewhere in the home. As hot water leaves the tank through the outlet pipe, pressure drops inside the tank. The cold water inlet valve allows fresh cold water to flow in, and the dip tube deposits it at the bottom.

The thermostat detects the temperature drop caused by the incoming cold water and activates the heating element or gas burner. As the water heats, it naturally rises to the top of the tank through convection, replacing the hot water that was drawn out.

Throughout this process, the T&P relief valve stands ready to open if pressure or temperature exceeds safe limits. The anode rod quietly corrodes in place of the tank walls. In gas models, the thermocouple monitors the burner flame, and the flue pipe channels exhaust gases outside.

Common component failures and warning signs

Knowing which components are most likely to fail and what symptoms to look for can help you catch problems early, before they lead to water damage, energy waste, or a complete loss of hot water.

Symptom Likely Failed Component Typical Repair Cost
No hot water (electric) Heating element or thermostat $150 to $350
No hot water (gas) Thermocouple, pilot assembly, or gas control valve $150 to $500
Lukewarm water Broken dip tube $100 to $250
Rusty or discolored water Depleted anode rod or corroding tank $50 to $300 (anode rod replacement)
Water leaking from the valve Faulty T&P relief valve or drain valve $75 to $250
Popping or rumbling noises Sediment buildup on tank bottom $80 to $200 (professional flush)
Rotten egg smell Anode rod reacting with water bacteria $50 to $200 (switch to aluminum/zinc rod)
Pilot light won't stay lit Thermocouple failure $100 to $250
Leaking from the bottom of the tank Tank corrosion (usually requires full replacement) $800 to $2,500+

Sediment buildup is the most frequently overlooked maintenance issue. When minerals accumulate at the bottom of the tank, they create a barrier between the water and the heat source. This forces the system to work harder, increasing energy costs and accelerating wear on the heating element or burner. Regular flushing prevents most sediment-related problems.

A leaking tank, on the other hand, is almost always a sign that the unit has reached the end of its useful life. Once the inner lining and anode rod fail, corrosion eats through the steel, and no repair can fix a corroded tank. Most tank water heaters last 8 to 12 years, while tankless models can last 15 to 20 years with proper maintenance. When a full water tank replacement is needed, costs typically range from $600 to $5,000 depending on the type and fuel source.

Frequently asked questions

How often should I replace the anode rod?

Inspect the anode rod every two to three years and replace it when it is more than 50% corroded or thinner than half an inch in diameter. In areas with hard water or softened water, the anode rod may need replacement more frequently, sometimes every two years.

What temperature should I set my water heater thermostat to?

The U.S. Department of Energy recommends 120°F. This temperature is hot enough to kill most harmful bacteria, reduces the risk of scalding, and saves energy compared to higher settings. Households with immunocompromised individuals may consider setting the temperature to 140°F with a mixing valve installed at the outlet to prevent scalding.

How do I test the T&P relief valve?

Place a bucket beneath the discharge pipe. Lift the lever on the T&P valve for a few seconds, then release it. Water should flow freely when the lever is up and stop completely when released. If the valve doesn't release water or continues to drip after being closed, it should be replaced immediately.

Can I replace a water heater element myself?

Replacing a heating element is a manageable DIY project for those comfortable working with electrical connections and plumbing. You will need to turn off the power at the circuit breaker, drain the tank below the element level, disconnect the