Carrier · Furnace

Carrier Furnace Code 21: Gas Valve Relay Fault & Fixes

Last updated Sep 15, 2026 · By fixme.vip Editorial

Carrier Furnace: Code 21
Applies to: Carrier 4-flash/status-light gas furnaces (Infinity, Performance and Comfort series) using integrated furnace control boards. Legends vary by board vintage, so confirm Code 21 against the label inside your blower door.
Typical repair cost: $0 power cycle – $600+ if the control board needs replacement — compare free local quotes

Get this fixed by a local pro

Free, no-obligation quotes from licensed HVAC technicians in your area. Compare up to 3 estimates before anyone visits.

Get free local quotes

Carrier furnace code 21: what it means

Carrier Furnace Code 21 is a Gas Heating Lockout. The furnace control board is designed to watch the gas valve relay — the switch on the board that energizes the gas valve during a heating call. Code 21 is set when the board senses those relay contacts are closed (valve energized) at a time when they should be open.

In plain terms, the board thinks the gas valve is being told to open when it shouldn’t be. The two documented triggers are:

This is a safety self-check, not an ignition or gas-supply issue. Because an unexpectedly energized valve is a hazard, the control locks out and does not auto-reset. It clears only when you cycle power to the furnace. If it comes right back after a power cycle, the fault is still present and needs a technician.

Note: status-code legends vary slightly between older and newer Carrier boards. Always confirm the flash/number meaning on the label inside your blower compartment door before acting.

Carrier furnace code 21: common causes, ranked by probability

  1. Shorted gas valve relay or relay driver on the control board. The most common documented cause — the relay contacts weld or the driver transistor fails shorted, so the board sees the valve circuit energized when it commanded it off.
  2. Mis-wired gas valve. Typically appears right after a service call, valve replacement, or board swap where a wire landed on the wrong terminal, or a control wire was pinched/back-fed.
  3. Damaged or chafed wiring in the gas valve circuit. Insulation rub-through or a stray connection creating an unintended path that energizes the valve leg.
  4. Failing control board (general). Age, heat cycling, or a power surge degrading the board so the valve-relay monitoring circuit reports a fault.

Note: low gas pressure, a closed manual shutoff, a dirty flame sensor, or ignition failures are not Code 21 causes — those belong to ignition and flame-proving codes.

How to fix Carrier furnace code 21: safe checks first

These are the only steps a homeowner should perform for Code 21:

Do not open the cabinet, touch wiring, probe the gas valve, or attempt repeated resets. Code 21 involves the internal control circuit and is technician-only beyond the single power cycle.

How a technician will diagnose it

A licensed tech will typically:

  1. Read the fault history on the board and confirm Code 21 versus any accompanying codes.
  2. De-energize the furnace and inspect the gas valve wiring against the wiring diagram, looking for a mis-landed wire, back-feed, or chafed insulation — especially if the fault appeared after recent service.
  3. Meter the gas valve relay circuit to determine whether the relay contacts are stuck/welded closed or the driver is shorted.
  4. Test the control board’s valve output to confirm whether the board is commanding the valve incorrectly (board fault) versus a wiring path energizing it externally.
  5. Repair the wiring if a fault is found, or replace the control board if the relay/driver is confirmed shorted.
  6. Verify a clean heat cycle — proper valve open/close timing with no recurring lockout after power-up.

If a quote jumps straight to a board replacement without any wiring inspection, it’s fair to ask whether the gas valve wiring was checked first.

Symptom, cause and what to do

SymptomLikely causeDIY actionTechnician job
Code 21 flashing, no heat, won’t clearShorted valve relay/driver on boardCycle power once; if it returns, call a proMeter relay/driver, replace control board
Code 21 appeared right after a service visitMis-wired gas valveCycle power once, then stopInspect wiring vs. diagram, correct landing
Intermittent Code 21, sometimes heatsChafed/back-feeding wire in valve circuitNone safe beyond confirming codeTrace and repair damaged wiring
Code 21 plus erratic board behaviorFailing/surge-damaged control boardCycle power onceConfirm and replace board
Code 21 clears on power cycle, doesn’t returnOne-time glitch or transientMonitor; no further actionOnly if it recurs

Carrier furnace code 21 repair cost

Honest US ballpark ranges (parts plus labor; regional variation applies):

Because Code 21 points to the control circuit and valve wiring — not consumable parts — there are no homeowner-installable parts for this fault, which is why the parts list is empty.

Safety first: anything beyond filters, batteries, and visual checks on gas-burning equipment should be handled by a licensed technician. Repeatedly resetting a locked-out unit can mask a dangerous fault. When in doubt, get a pro.

Frequently asked questions

Does Carrier Code 21 reset on its own?

No. This is a hard lockout that holds until you cycle power to the furnace. It does not auto-reset, and repeatedly resetting will not fix the underlying wiring or board fault.

Is Code 21 a gas supply problem?

No. Code 21 is a control-circuit fault — the board sees the gas valve relay contacts closed when they should be open. It is not caused by low gas pressure, a closed shutoff, or a dirty flame sensor.

Can I fix Code 21 myself?

Only the initial power cycle is homeowner-safe. If the code returns, it involves internal wiring or the control board and must be handled by a licensed HVAC technician.

Is it safe to keep running the furnace with Code 21?

The furnace locks itself out for safety, so it typically will not heat. Do not attempt to bypass the lockout or force the gas valve. Have it diagnosed before running.

Different code on your furnace? Look it up — and if we haven't covered it yet, telling us is how it gets written next.