State Water heater 5 flashes
What it should look like on your machine
then it repeats
5 flashes - then the pattern repeats. Count along with your machine and compare.
What this problem usually means
Water temperature sensor failure. The control's temperature sensing has failed, and the corrective action is gas control replacement.
Likely causes
- Failed water temperature sensor inside the gas control valve/thermostat
How to fix it — step by step
- The failed water temperature sensor is inside the gas control valve/thermostat at the front of the tank — it is not a separate service part, so the control is the repair.
- Replace the gas control valve/thermostat following the Removing and Replacing procedure: knob OFF, main gas OFF, tank drained, igniter/thermopile wires and pilot/manifold tubes disconnected, union broken, control turned out with a pipe section in its inlet, new control sealed in with approved Teflon tape or pipe joint compound. → Shop the gas control valve at Amazon
- Reconnect, turn the gas on and leak-test the supply connections, fill the tank completely, relight per the label, and leak-test the manifold and pilot connections with the burner running before leaving the heater in service.
- If you hand it over, tell the technician: 5 flashes — water temperature sensor failure in the gas control.
- Verify after the repair: restore gas, water and power, then open a hot tap and let the heater fire and run for several minutes - the heater should run clean through the whole draw. If it comes back, the repair did not cure it: hand over the point in the sequence where it reappears, because that timing is the diagnosis
Did that fix it?
Worked through the steps? Say where you landed - it pinpoints what to do next.
Good - you're done. If it comes back, the causes at the top of this page are where to look first.
This fault usually needs a technician - but this is the part they would test first.
Then the likely broken part is the gas control valve.
Parts that commonly fix it
- gas control valve$115–$500Shop at Amazon
Typical ranges, checked Nov 2026. Your model’s exact part can land outside them.
What fixed yours?
Fixed this on your machine? Tap what did it - reports from owners set the percentages on this page.
Source: manufacturer / repair documentation. Codes can vary by model — confirm against your manual.
Manual & model number
Find your model number on the unit's rating plate. It's the key to the right manual pages and the right parts.