Water heater parts explained: what each part does and costs

Last reviewed Expert review pending 4 min read 7 sources

Short answer

A tank water heater is a lined steel tank with a heat source (a gas burner or electric elements), controls, a sacrificial anode rod, a dip tube, a drain valve and a temperature and pressure relief valve. Elements, thermocouples, igniters, anodes and gas valves are the parts that usually fail. Most replacements are licensed plumber work.

Key facts

  • HomeGuide puts thermocouple replacement at $100 to $325, heating elements at $100 to $350 and gas control valves at $150 to $550 (August 2025).[1]
  • The residential code requires a thermal expansion control device, usually an expansion tank, where a check valve, backflow preventer or pressure-reducing valve closes off the water system.[2]
  • Bradford White warns that removing the anode rod voids its tank warranty and shortens tank life.[4]
  • The CPSC recommends setting water heaters to 120 F to reduce the risk of tap water scalds.[6]

Safety first

If you smell gas, do not touch the heater. Leave the building, do not use switches or phones inside, and call the gas utility or 911 from outside[7]. Never cap or plug the relief valve or its discharge pipe.

The parts at a glance

PartWhat it doesSigns it is failingTypical repair costWho should replace it
Anode rodCorrodes in place of the steel tankRotten egg smell, rusty water, an old tank$150 to $350[1]Licensed plumber
Heating elementHeats water in electric tanks (usually two)No hot water, or hot water runs out fast$100 to $350[1]Licensed plumber or electrician
ThermostatControls element or burner temperatureWater too hot, too cold or uneven$100 to $350[1]Licensed plumber
ThermocoupleProves the pilot is lit on standing-pilot gas unitsPilot will not stay lit$100 to $325[1]Licensed plumber
Flame sensor and igniterLights and proves the burner on electronic ignition unitsIgnition failure codesIgniter $75 to $350[1]Licensed plumber
Gas control valveMeters gas to the pilot and burnerNo heat, status light codes$150 to $550[1]Licensed plumber only
Temperature and pressure relief valveOpens if tank pressure or temperature gets too highDripping, discharging$50 to $300[1]Licensed plumber only
Expansion tankAbsorbs water that expands as it heatsRelief valve drips after heating$300 to $800 to replace[1]Licensed plumber
Dip tubeSends cold water to the tank bottomLukewarm water, plastic bits in aerators$100 to $300[1]Licensed plumber
Drain valveLets you drain and flush the tankDrips at the valveSee guidePlumber, or careful owner per manual
Drain panCatches leaks under the tankn/aSee guideInstalled with the heater
Vent pipe and draft hoodCarries exhaust outside on gas unitsRust, gaps, scorch marks, venting codesFlue pipe $100 to $350[1]Licensed plumber only
Condensate neutralizerTreats acidic condensate on condensing unitsService code, drain problemsSee guideLicensed plumber
Mixing (tempering) valveBlends hot and cold to a safe outlet temperatureWater too hot or not hot enoughSee guideLicensed plumber
Flex connectors and shutoff valvesConnect the heater to water and gas linesDrips, corrosion, a valve that will not turnSee guideLicensed plumber

Costs are HomeGuide's national installed ranges from August 2025[1]. A service call fee of $50 to $200 may be added[1].

The parts that protect the tank

The anode rod is a metal rod that corrodes so the tank lining does not. When it is used up, the tank starts to rust from the inside. In some water, a magnesium anode reacts with bacteria and causes a rotten egg smell. Bradford White warns that removing the anode entirely voids its warranty and shortens tank life[4]. See anode rod.

The dip tube carries incoming cold water to the bottom of the tank so it does not mix with the hot water at the top. A broken dip tube gives lukewarm water fast.

The parts that protect you

The temperature and pressure relief valve is the most important safety part on a tank. The model code sets strict rules for its discharge pipe: full size, no valves or tees, no threaded end, draining by gravity, and ending within 6 inches of the floor or a receptor[3]. A dripping valve is a warning, not a nuisance. See relief valve dripping.

The expansion tank gives heated water room to expand. The residential code requires a thermal expansion control device where a check valve, backflow preventer or pressure-reducing valve closes the system[2]. Without one, pressure spikes after each heating cycle.

The mixing valve blends hot and cold water so taps cannot deliver scalding water. The CPSC recommends 120 F at the heater to reduce scald risk[6].

Gas, electric and tankless parts

Gas tanks rely on a gas control valve, a pilot with a thermocouple or an electronic igniter with a flame sensor, a burner, and a vent. Electric tanks use two elements and two thermostats, plus a high-limit switch. Tankless and condensing units add sensors, a fan, a circuit board, and on condensing models a condensate neutralizer. Rheem's code 92, for example, warns that the neutralizer needs service[5].

Every part guide

When to call a pro

  • Any work on gas valves, gas lines, burners, igniters or venting.
  • Any work on elements, thermostats or wiring.
  • A relief valve that drips, discharges or has never been tested.
  • An anode change on a tank still under warranty: check the warranty terms first.

More questions

Can I replace a water heater part myself?

Some makers sell parts to homeowners, but anything on the gas side, the wiring, or the relief valve should go to a licensed plumber. A wrong part or loose gas fitting creates a fire, gas or scald risk, and it can void the warranty.

Sources

  1. Hot water heater repair cost (Aug 7, 2025), HomeGuide. Accessed 2026-10-06.
  2. IRC P2903.4 Thermal expansion control, International Code Council (via UpCodes). Accessed 2026-10-06.
  3. IRC P2804.6.1 Requirements for discharge pipe, International Code Council (via UpCodes). Accessed 2026-10-06.
  4. Hydrogen sulfide odor (rotten egg smell) and chlorinating water heaters, Bradford White. Accessed 2026-10-06.
  5. Tankless Gas Troubleshooting Pocket Manual SVC820, Rheem Manufacturing. Accessed 2026-10-06.
  6. Avoiding Tap Water Scalds (Publication 5098), U.S. Consumer Product Safety Commission. Accessed 2026-10-06.
  7. What to do if you smell natural gas, CenterPoint Energy. Accessed 2026-10-06.

Water Heater Facts is an independent information service. We may be paid by contractors when we connect a homeowner with one; that never changes what we publish. Found an error? Tell us. We review safety and legal reports within 2 business days and all others within 7 days.