Rinnai Water Heater Error Code 21: How to Fix It

Medium 30-60 minutes Medium Severity Verified June 2026
Error Code
21
Brand
Rinnai
Product Type
water_heater
Severity
Medium
DIY Difficulty
Medium
Estimated Fix Time
30-60 minutes
Error code 21 on your Rinnai tankless water heater indicates a problem with the solenoid valve circuit. This typically means the gas solenoid valve is not opening or closing properly, which can prevent the heater from igniting. The issue is often caused by a faulty solenoid valve, a loose wiring connection, or a problem with the control board.
Ad

Tools You'll Need

How to Fix Error Code 21

  1. Safety First: Power Down

    Always shut off power and gas before servicing to avoid electric shock or gas leaks.
  2. Inspect Wiring Connections

    Be careful not to touch any live electrical components even after power is off; residual charge may exist.
  3. Test the Solenoid Valve with a Multimeter

  4. Replace the Solenoid Valve if Faulty

    Gas line connections must be leak-free. After installation, apply a gas leak detector solution to joints and check for bubbles. If uncertain, call a professional.
  5. Reset and Test

Parts You May Need

Gas solenoid valve
Check Price on Amazon
Gas solenoid valve
Check Price on Amazon
Gas solenoid valve
Check Price on Amazon
Gas solenoid valve
Check Price on Amazon
Ad

When to Call a Professional

If the wiring and solenoid test fine but error 21 persists, the control board may need replacement. This requires advanced technical skill and gas handling—call a qualified HVAC technician. Also, if you are uncomfortable working with gas lines, seek professional help.

Frequently Asked Questions

Can I use my Rinnai water heater with error code 21?
No, error code 21 prevents the heater from operating safely. Attempting to use it could result in no hot water or a potential gas leak. Address the issue before use.
How much does it cost to fix error code 21?
If you DIY, a replacement solenoid valve costs around $50–$100. Hiring a professional may cost $150–$300 including labor and parts. Control board replacement can be $200–$400.
Can a dirty air filter cause error code 21?
No, error code 21 specifically relates to the solenoid valve circuit. However, a dirty air filter can cause other errors like code 11 (no ignition). Always clean filters regularly.
Will error code 21 clear itself?
Sometimes a temporary electrical glitch may clear after a power reset, but if the solenoid is faulty, the error will return. Perform the diagnostic steps to determine the root cause.
Where is the solenoid valve located on my Rinnai tankless water heater?
The solenoid valve is mounted on the gas manifold assembly, typically behind the front panel and near the gas inlet. Refer to your owner's manual for exact location.