A water heater is a simple machine with a few safety devices that keep it from running when it should not. The sensors are cheap parts, and when one fails the heater shuts down or fails to start. That makes a failed sensor one of the more common causes of a heater that has no hot water but otherwise looks fine.
This guide covers the sensors found on gas tank, electric tank and tankless heaters, the signs of failure and when to call a licensed plumber.
Sensors by heater type
| Heater type | Sensor | What it does |
|---|---|---|
| Gas tank | Thermocouple or thermopile | Senses the pilot flame and keeps the gas valve open |
| Gas tank, newer | Flame sensor | Confirms the burner lit |
| Electric tank | Thermostat and high limit | Senses water temperature and cuts power if it runs too hot |
| Tankless | Flow, temperature and flame sensors | Confirm water is moving and the burner lit |
Signs a sensor has failed
- A gas pilot that lights, then goes out as soon as you release the button
- An error code on a newer heater that points to ignition or flame
- Water that never gets hot, or swings between hot and cold
- An electric heater that trips the reset button over and over
- A tankless unit that lights only when the flow is high
These signs can have other causes, so a sensor is a suspect and not a certainty.
What you can check yourself
Check the basics
Confirm the breaker is on or the gas valve is open and the thermostat is set above the tank temperature.
Look for codes
Many newer heaters flash a code on the control. The label on the unit or the manual lists it.
Try the relight
On a gas heater, follow the lighting instructions printed on the unit. If the pilot will not stay lit, stop.
Stop at gas or wiring
Do not remove covers on live electric parts. Do not work on gas lines.
If you smell gas, leave the house and call the gas utility or 911 from outside. Do not light anything.
Why sensors are a job for a plumber
The sensors on a gas heater are part of the safety system. A bad replacement part, a loose connection or a skipped test can leave the heater running when it should be off. A licensed plumber has the meter and the combustion checks to test the heater before leaving it, and can tell you whether the sensor is the whole problem or a sign of something larger.
Repair or replace the heater
A new sensor on a heater that is otherwise sound is a short, low-cost repair. On an older heater with rust at the bottom, a leak or a failing tank, replacing the whole unit may be the wiser spend. Our water heater repair page and replacement page explain how to compare them.
Water heaters in Sachse homes
The North Texas Municipal Water District describes Sachse water as moderately hard. Hard water leaves scale in a tank over the years, and a flush once a year can slow it. Scale can also coat a heating element or insulate a sensor from the water, which can affect how a heater runs.
Water hardness at your address can differ from the average. Test your tap or ask your water utility if you want the number.
Before you call
Write down the brand and model from the label, whether the heater is gas or electric, any error code and what happened just before the heater stopped. That information lets the dispatcher plan the part. Homes in Murphy and Garland get the same service on the 24/7 line.
What a sensor replacement visit looks like
The plumber confirms the symptom, checks the gas supply or the power supply and reads any code. The suspected sensor is tested, and if it has failed, it is replaced with a part that matches the heater. After the replacement, the heater is lit, the flame and the venting are checked and the water temperature is tested at a tap.
Most sensor repairs are quick. If the plumber finds rust at the base of the tank, a leaking fitting or a failing flue, you will hear about it before the work goes further.
No hot water at all?
Call the 24/7 line and describe the lights and any codes.
Common questions
What does a thermocouple do?
It senses the pilot flame on a gas heater and holds the gas valve open. If it fails, the pilot goes out.
Can I replace a thermocouple myself?
Some homeowners do, but a gas heater is a safety device, so a licensed plumber should do it and test the heater.
Why does my electric water heater keep tripping the reset?
A failed thermostat, a shorted element or a high limit that has tripped. Switch the power off and call a plumber.
Does Sachse water affect heater sensors?
Moderately hard water leaves scale that can coat parts in a tank, so an annual flush helps.
How do I know my heater is gas or electric?
A gas unit has a vent flue on top and a gas line. An electric unit has a wiring cover and no flue.

