Carrier HVAC Error Code 21: How to Fix Gas Heat Lockout

Medium 30-60 minutes High Severity Verified June 2026
Error Code
21
Brand
Carrier
Product Type
hvac
Severity
High
DIY Difficulty
Medium
Estimated Fix Time
30-60 minutes
Error code 21 on your Carrier HVAC system indicates a gas heat lockout caused by too many flame detection errors. This safety feature shuts down the furnace to prevent gas accumulation or fire risk. Common causes include a faulty flame sensor, ignition issues, or gas supply problems.
Ad

Tools You'll Need

How to Fix Error Code 21

  1. Power Down the System

    Always shut off power before servicing HVAC equipment to avoid electrical shock or accidental startup.
  2. Check and Clean the Flame Sensor

    null
  3. Inspect the Ignitor

    null
  4. Verify Gas Supply and Pressure

    If you smell gas, do not operate any electrical switches. Evacuate and call your gas company immediately.
  5. Reset the System

    null
  6. Test the Flame Sensor Circuit

    null

Parts You May Need

Hot surface ignitor
Check Price on Amazon
Hot surface ignitor
Check Price on Amazon
Hot surface ignitor
Check Price on Amazon
Hot surface ignitor
Check Price on Amazon
Ad

When to Call a Professional

If you have cleaned the flame sensor, checked the ignitor, and verified gas supply but the error persists, call a licensed HVAC technician. Repeated lockouts may indicate a faulty gas valve or control board that requires professional diagnosis.

Frequently Asked Questions

What causes Carrier error code 21?
Error code 21 means the furnace detected too many flame failures during startup, causing a safety lockout. Common causes include a dirty flame sensor, a weak or cracked ignitor, gas supply issues, or a faulty control board.
How do I reset Carrier error code 21?
Turn off power to the furnace for at least 5 minutes, then restore power. Set the thermostat to call for heat. If the issue is intermittent, this may clear the code. If it returns, further troubleshooting is needed.
Can I clean the flame sensor myself?
Yes, cleaning the flame sensor is a simple DIY task. Turn off power, locate the sensor (a metal rod near the burners), remove it, and clean with fine-grit sandpaper or emery cloth. Reinstall and test.
How much does it cost to fix Carrier error code 21?
DIY cleaning costs nothing. A replacement flame sensor is about $20-$40. Professional service call can range from $150 to $400 depending on the issue, plus parts.
How do I know if my flame sensor is bad?
If cleaning doesn't resolve the error and the sensor appears physically intact, it may be bad. A multimeter can test microamps; less than 0.5 µA indicates a faulty sensor. Replacement is recommended.