A.O. Smith Water Heater Error Code 510
Abnormal main gas valve
What the 510 error code actually means
Your water heater has detected a problem with the electrical circuit that controls the main gas valve, which is the component that turns the burner on and off. This is a potentially serious issue because the valve may not be shutting off correctly. If you can still see flames through the small sight glass on the unit after turning off hot water, shut off the gas and power immediately and call a professional.
The full 510 procedure
Step 1 is visible so you can confirm you are on the right page. The remaining steps, the ones that tell you whether to actually replace a part, unlock with any pass.
Or subscribe: $29/month for unlimited access to all codes plus Max AI diagnostics.
Most common causes of 510
- 1Faulty main gas valve solenoid
- 2Damaged or corroded wiring harness
- 3Control board driving circuit failure
- 4Short circuit in valve wiring
Most DIYers save hundreds by diagnosing before ordering parts.
$29/month · Cancel anytime · Or $9.95 3-day pass
Questions people ask about 510
What does 510 mean on a A.O. Smith water_heater?
Can I reset the water heater to clear error code 510?
How much does it cost to repair error code 510 on an A.O. Smith water heater?
Is error code 510 on an A.O. Smith water heater dangerous?
Can I fix error code 510 myself?
78,000+ service manuals · 160,000+ error codes · 55+ brands
Get Started$29/month · Cancel anytime · Or $9.95 3-day pass