AO Smith Water heater 7 flashes

What it should look like on your machine

then it repeats

7 flashes - then the pattern repeats. Count along with your machine and compare.

What this problem usually means

The gas control valve has failed internally. The control's self-diagnostics have shut the heater down and the valve must be replaced.

Likely causes

  1. Internal gas control valve failure

How to fix it — step by step

  1. Turn the gas control valve/thermostat knob to OFF and turn the main gas supply OFF.
  2. To replace the gas control valve/thermostat: turn the control knob to OFF and shut the main gas supply off at the manual shut-off valve. Drain the tank completely. Disconnect the igniter wire, pull the red (+) and white (-) thermopile wires off with needle-nose pliers, and disconnect the pilot tube (7/16 in. wrench) and manifold tube (3/4 in. wrench — left-hand thread on LP models) at the control. Disconnect the ground joint union in the gas piping. Thread a short section of gas pipe into the control inlet and turn the whole control counterclockwise out of the tank with it — never grip the control body with a pipe wrench. Fit the new control the same way in reverse, with approved Teflon tape or pipe joint compound on the tank fitting, and do not overtighten. Reconnect everything, turn the gas on and leak-test the supply connections, then fill the tank completely with water before lighting — never fire a dry tank. Light the pilot per the label, and with the main burner lit, brush approved leak-detection solution (or 1 part dish soap to 15 parts water) on the manifold and pilot connections — bubbles mean a leak that must be corrected before the heater is left running → Shop the gas control valve at Amazon
  3. If you hand it over, tell the technician: 7 flashes — internal gas control valve failure; the control is the replacement part.
  4. 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.

Parts that commonly fix it

Typical pro repair $228–$1,017
  • gas control valve$115–$500Shop at Amazon
  • Tools for this job, if you need them$5–$25

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.

Related AO Smith Water heater problems

See all AO Smith water heater codes & guides →