Carrier Heat Pump Error Code 21: How to Fix It

Medium 45-90 minutes Critical Severity Verified June 2026
Error Code
21
Brand
Carrier
Product Type
heat_pump
Severity
Critical
DIY Difficulty
Medium
Estimated Fix Time
45-90 minutes
Carrier heat pump error code 21 indicates a gas heating lockout, meaning the system has detected an issue with flame sensing or gas flow and has shut down for safety. This critical error requires immediate attention to restore heating and prevent potential safety hazards.
Ad

Tools You'll Need

How to Fix Error Code 21

  1. Turn off power and gas supply

    Never work on gas heating equipment while power and gas are connected. Risk of fire, explosion, or electrocution.
  2. Access the heat pump control panel

    Ensure power is completely off before opening any electrical panels.
  3. Inspect the flame sensor

  4. Clean the flame sensor

    Handle the flame sensor carefully - it's fragile and expensive to replace.
  5. Check gas valve connections

    Do not tamper with gas valve internals. Only licensed technicians should service gas valves.
  6. Reinstall flame sensor and restore power

  7. Test the heating system

    If you smell gas at any point, immediately shut off gas supply and contact emergency services.

Parts You May Need

Wire nuts and electrical tape
Check Price on Amazon
Wire nuts and electrical tape
Check Price on Amazon
Wire nuts and electrical tape
Check Price on Amazon
Wire nuts and electrical tape
Check Price on Amazon
Wire nuts and electrical tape
Check Price on Amazon
Wire nuts and electrical tape
Check Price on Amazon
Wire nuts and electrical tape
Check Price on Amazon
Wire nuts and electrical tape
Check Price on Amazon
Ad

When to Call a Professional

Call a licensed HVAC technician if the error persists after cleaning the flame sensor, if you detect gas leaks, if the gas valve appears damaged, or if you're uncomfortable working with gas appliances. Also call a professional if multiple error codes appear or if the heat pump fails to ignite after repairs.

Frequently Asked Questions

What causes Carrier heat pump error code 21?
Error code 21 is caused by a dirty or faulty flame sensor, failed gas valve, blocked venting, or interrupted gas supply. The system locks out heating operation as a safety measure when it cannot detect proper flame or gas flow.
Can I reset Carrier error code 21 without fixing the problem?
While you can reset the error by turning power off and on, the code will return if the underlying issue isn't resolved. The lockout is a safety feature that prevents unsafe operation, so fixing the root cause is essential.
How often should I clean my Carrier heat pump flame sensor?
Clean the flame sensor annually as part of regular maintenance, or whenever error code 21 appears. Dirty sensors are the most common cause of this error and regular cleaning prevents lockouts during heating season.
Is error code 21 dangerous on my Carrier heat pump?
Error 21 indicates the safety system is working properly by preventing potentially dangerous operation. However, the underlying cause (gas flow issues or flame detection problems) requires immediate attention to ensure safe operation.
How much does it cost to fix Carrier heat pump error code 21?
If cleaning the flame sensor fixes the issue, the cost is minimal (DIY). Professional service calls range from $150-300. If the gas valve needs replacement, total costs including parts and labor typically range from $400-800.