Thermostat Wiring Color Code Guide (All Systems)

Thermostat wire colors are a constant source of confusion — and incorrect thermostat wiring is one of the most common causes of no-heat, no-cool, and short-cycling calls I run into in the field. The problem is that there is no absolute standard: red is almost always R (power), but after that, the color-to-terminal mapping varies by manufacturer, system type, and installation era. A 2-wire heating-only system looks nothing like a 5-wire heat pump system with C-wire. Getting it wrong doesn't just mean the system doesn't work — wrong wiring can damage the transformer, blow the thermostat's internal fuse, or short the control board. This guide covers every standard thermostat terminal, what each wire should do, the correct color conventions, and the mistakes I see most often. For heat pump-specific wiring including O/B reversing valve, aux heat, and emergency heat, see /fixes/heat-pump-thermostat-wiring. To scan your existing wiring for errors, use the Wiring Scan at /wiring-scan or upload photos to /diagnose.

Try the AI Diagnosis Tool

Common Symptoms

  • System doesn't respond to thermostat after wiring a new thermostat
  • Heat comes on but cooling doesn't work, or vice versa
  • System short-cycles — runs for 30–60 seconds then shuts off repeatedly
  • Fan runs continuously even when the system is not heating or cooling
  • Thermostat display is blank or goes dark shortly after installation
  • C-wire adapter (Honeywell adapter or similar) was needed but system still doesn't power the thermostat
  • Thermostat works but heat pump runs in wrong mode — heats when set to cool
  • Error on thermostat screen after wiring — 'wrong wire' or 'low power' message

Most Likely Causes

  1. 1

    R Wire Confusion — Rh vs Rc Split

    The red wire carries 24VAC power from the transformer. Some thermostats have two red terminals: Rh (heat transformer) and Rc (cool transformer), used when the heating and cooling systems have separate 24V transformers. In modern homes with a single air handler or furnace powering both heat and AC, there is only one transformer, and a single red wire connects to R or Rh with a jumper to Rc. If you remove an old thermostat that had this jumper installed and don't note it, the new thermostat may only control heat or only cooling. Rule: if there's a jumper between Rh and Rc on the old thermostat, your system has one transformer — install the red wire at R or Rh and add a jumper (or use a thermostat with a single R terminal).

  2. 2

    Missing C-Wire (Common Wire) — Smart Thermostat Won't Power

    The C-wire (common wire) completes the 24VAC circuit from the thermostat back to the transformer's common terminal. Older thermostats were battery-powered and didn't need C-wire. Smart thermostats (Nest, Ecobee, Honeywell Home, Emerson Sensi) draw continuous power and require the C-wire to function. If your system has a spare wire at the thermostat (common in 18/5 or 18/8 cable), it can be connected to C at both ends. If not, options include: Honeywell's 4-wire adapter (uses the G wire as C during non-fan operation), Ecobee's PEK adapter, or running new 18/8 thermostat cable. A thermostat connected without C-wire that attempts to steal power through the Y or G terminals can damage the transformer or cause the system to short-cycle.

  3. 3

    Y Wire (Cooling) — Compressor Contactor Signal

    The yellow Y wire carries the 24VAC signal that energizes the compressor contactor — it activates cooling mode. Y connects to the Y terminal on the thermostat and the Y terminal on the air handler control board. When the thermostat calls for cooling, it closes the circuit between R and Y, sending 24VAC to the contactor coil. In a heat pump, Y also starts the compressor in heating mode. If Y is swapped with W, the furnace fires instead of cooling when you call for cooling. If Y is connected correctly but C is missing, the compressor may not stage correctly on smart thermostats that use load detection on Y to power themselves.

  4. 4

    G Wire (Fan) — Independent Fan Control

    The green G wire activates the air handler blower fan independently of heating or cooling. When the thermostat is set to 'Fan ON' (continuous circulation), it closes R-to-G. During cooling, the thermostat closes both R-to-Y and R-to-G simultaneously. During heating on a gas furnace, the furnace control board typically activates the blower itself — G at the thermostat may or may not be closed during heating depending on the thermostat and furnace board. If G is miswired or open, fan-only mode won't work. If G is connected to W accidentally, the furnace fires every time you turn the fan on.

  5. 5

    W Wire (Heat) — Furnace or Heat Strip Signal

    The white W wire carries the 24VAC call-for-heat signal to the furnace gas valve or electric heat strip relay. On a heat pump, W typically activates auxiliary electric heat strips inside the air handler rather than primary heat (the compressor handles primary heat). W2 on some systems activates a second stage of heating — a second heat strip bank on electric systems or the backup furnace on a dual-fuel system. Miswiring W and Y causes the furnace to fire when cooling is called and the AC to run when heating is called — a classic mistake when replacing a thermostat without noting the original wiring.

  6. 6

    O/B Wire (Reversing Valve) — Heat Pump Only

    The orange O or blue/black B wire controls the reversing valve on a heat pump, which switches the refrigerant cycle direction between heating and cooling mode. Carrier, Trane, Lennox, Rheem, and most heat pump brands use O: the valve is energized in cooling mode. Bosch, Bryant, and some York units use B: the valve is energized in heating mode. This is set in the thermostat's setup menu under 'heat pump type' or 'O/B configuration.' Getting O vs B wrong causes the heat pump to heat when set to cool and cool when set to heat — without any other obvious fault code. For a detailed heat pump wiring guide see /fixes/heat-pump-thermostat-wiring.

Not sure if this is the right fix for your exact model?

Upload a photo of your appliance label — Fix-It Fast AI will identify your exact unit and tailor the diagnosis.

Quick DIY Checks

Caution

Always turn off the air handler or furnace power switch (the wall switch near the unit, or the circuit breaker) before disconnecting thermostat wires. While 24VAC is a low-voltage circuit that is not directly lethal, touching R and C together with the power on will short the transformer and may blow the control board fuse — a $5–$20 part — or, in worst cases, damage the transformer. Replacing a failed control board is a $200–$600 repair that is entirely preventable.

Caution

Do not use the G wire as a substitute C-wire by permanently relocating it. The G wire controls the air handler fan — disconnecting it means fan-only mode won't work and on some systems the fan won't run at all during heating. Use a proper C-wire adapter (Honeywell, Ecobee PEK) or run new cable rather than repurposing G.

  1. 1Document old wiring before disconnecting anything — photograph the old thermostat's terminal connections before removing the first wire. This is the single most important step. Take close-up photos showing which color wire is on which terminal letter. If the previous thermostat had a Rh-Rc jumper, photograph it. Note any wires that are capped off or unused — these are often the spare wire for C-wire. On heat pump systems, specifically note whether the reversing valve wire is connected to O or B. This photo record is your reference when the new thermostat's wiring diagram doesn't match what you find.
  2. 2Verify wire count and cable type — count the wires coming through the wall. Standard thermostat cable: 18 AWG multi-conductor. Common configurations: 2-wire (R + W only — heating-only systems like old boilers or furnaces), 4-wire (R, G, Y, W — standard 3-wire heat/cool + C missing), 5-wire (R, C, G, Y, W — complete for most modern systems), 6-wire (R, C, G, Y, W, O — heat pump without aux), 8-wire (R, C, G, Y1, Y2, W, O/B, and spare — complete heat pump with 2-stage compressor and aux). If you have fewer wires than terminals, identify the shortest path for running new cable or determine if an adapter solution works for your thermostat choice.
  3. 3Test 24VAC at the R terminal — with power on and wiring complete, use a multimeter set to AC voltage (50V range). Place the black probe on C terminal (common) and the red probe on R terminal. You should read 24–28V AC. A reading below 18V suggests transformer problems or a short in the thermostat cable. No voltage at all: check that the air handler or furnace power switch is on, the furnace filter/access door safety switch is closed, and the transformer fuse (if present on the control board) is intact. A 3A fuse on the control board is common — a blown fuse means there was a short circuit in the thermostat wiring, often caused by wiring R and C together directly.

Get the full fix — Pro members get unlimited AI diagnoses

Save your repair history, get step-by-step AI guidance on any HVAC & cooling issue, and avoid $150+ service call fees.

Try Pro — $7.99/mo
  1. 4Test individual terminal functions — with the thermostat calling for cooling, measure voltage between R and Y: should read 0–2V (circuit closed by thermostat). Between R and C with cooling active: should read 24V (R is hot, C is common — Y is not in this path). At the control board, measure voltage between Y and C with cooling called: should read 24V (Y signal energizing the contactor). Repeat for heating: with heat called, measure W to C at the control board — should read 24V. Fan only: G to C should read 24V. Any terminal that should be closed but reads 24V (open) indicates either the thermostat is not calling for that function, a broken wire, or a bad thermostat terminal.
  2. 5Identify and connect C-wire — if your new thermostat requires a C-wire and you don't have one: (1) Look for a spare wire at the thermostat end and at the air handler/furnace end. An 18/5 or 18/8 cable with an unused conductor (often blue, black, or brown) can be connected to C at both ends. (2) If no spare wire: Honeywell's C-wire adapter uses the G wire as a power-sharing circuit when the fan is not running — works well for most systems but may cause intermittent fan issues on some older furnaces. (3) Ecobee thermostats ship with a PEK (Power Extender Kit) that installs at the control board and eliminates the need for a physical C-wire. (4) Install new 18/8 thermostat cable if none of the above work. C at the thermostat connects to C at the air handler control board or the secondary side of the transformer (the common terminal on the transformer labeled 'C' or 'COM').
  3. 6Confirm heat pump O/B setting in thermostat setup — if you have a heat pump and the system heats when set to cool (or vice versa), the thermostat's O/B configuration is set incorrectly. Access the thermostat installation/setup menu (varies by brand — Honeywell: Menu > Installer Options; Nest: Settings > Equipment; Ecobee: Main Menu > Installation Settings > Equipment). Find the 'heat pump type' or 'reversing valve' setting. Set to O if your system is Carrier, Trane, Lennox, Rheem, Goodman, American Standard, or most major brands. Set to B if Bosch or if the outdoor unit data plate specifies 'B energized in heat.' When set correctly, you should be able to hear the reversing valve click (a distinct mechanical click) when you switch between heat and cool modes on the thermostat.

Save $150+ on a single service call

Less than a cup of coffee — fix it yourself with expert guidance.

  • ✓ Step-by-step repair guides with exact part numbers
  • ✓ Expert diagnosis in seconds — 500+ problems covered
  • ✓ Full tool list & cost estimate before you spend a dime
Get Instant Access — $7.99/mo

$150+ service call vs. $7.99/mo · Cancel anytime

Repair vs Replace

✓ Worth Repairing

Thermostat wiring errors are almost always free to fix — the cost is time and careful work. The only exceptions are damaged components from a wiring short (blown transformer fuse, fried control board) or a thermostat that was genuinely damaged. Running new 18/8 thermostat cable costs $20–$80 in materials and is a DIY-viable task in most homes. The Wiring Scan at /wiring-scan can identify wiring errors from photos before you start, saving troubleshooting time.

Est. Repair Cost

$0 for correcting wiring errors; $20–$80 for new thermostat cable; $15–$30 for C-wire adapter kit

Est. Replacement Cost

$100–$300 for a new smart thermostat; $200–$600 for control board if damaged by wiring short

Recommended Tools & Parts

  • 18/8 Thermostat Wire (50 ft)

    18 AWG, 8-conductor thermostat cable for replacing old 4-wire or 5-wire runs. 8 conductors handles all modern systems including 2-stage heat pumps with aux and emergency heat. Color-coded per HVAC industry standard.

    $20–$45

    Buy on Amazon →
  • Honeywell Home 4-Wire C-Wire Adapter

    Installs at the furnace control board to add a C-wire connection using existing 4-wire thermostat cable. Compatible with most Honeywell Home and ResidentHD thermostats. Does not require running new cable in most 4-wire installations.

    $15–$30

    Buy on Amazon →
  • Digital Multimeter

    Set to AC voltage (50V range) for verifying 24VAC at thermostat terminals and testing individual control signals. Klein MM400 or Fluke 107 are field-proven for low-voltage HVAC control diagnostics.

    $30–$80

    Buy on Amazon →

Links are Amazon affiliate links (tag: fixitfastai-20). Prices are estimates.

Still stuck? Let AI take a look.

Describe your problem or upload a photo — get a diagnosis in seconds.

Related Repairs

Save $150+ on a single service call

Less than a cup of coffee — fix it yourself with expert guidance.

  • ✓ Step-by-step repair guides with exact part numbers
  • ✓ Expert diagnosis in seconds — 500+ problems covered
  • ✓ Full tool list & cost estimate before you spend a dime
Get Instant Access — $7.99/mo

$150+ service call vs. $7.99/mo · Cancel anytime

Still not sure what's wrong?

Get an AI diagnosis in seconds — describe the problem or upload a photo.

Get an AI Diagnosis

⚡ Get step-by-step help for YOUR specific appliance

Our AI diagnoses your exact model — not just generic advice. Upload a photo or describe the issue and get a repair plan in seconds.

No account needed for diagnosis. Cancel Pro anytime.

Related Tools

Frequently Asked Questions

What does each thermostat wire color mean?
The industry-standard color conventions are: Red = R (24VAC power from transformer); White = W (heat call signal to furnace or heat strips); Yellow = Y (cooling call to compressor contactor); Green = G (fan/blower signal); Blue or Black = C (common wire, completes 24VAC circuit); Orange = O (reversing valve, energized in cooling — most heat pumps); Dark Blue = B (reversing valve, energized in heating — Bosch, some Bryant); Brown or Tan = W2/Aux (second-stage heat or auxiliary heat strips); Light Blue = Y2 (second-stage compressor). These are conventions, not requirements — installers sometimes use non-standard colors, especially when splicing or replacing wire segments. Always trace wires to confirm function rather than assuming by color.
Do I need a C-wire for a Nest or Ecobee thermostat?
Both Nest and Ecobee strongly recommend a C-wire for reliable operation. Nest can sometimes operate without a C-wire using 'power sharing' through the Y or W wires, but this causes short-cycling on some systems — the compressor or furnace turns on briefly to generate power for the thermostat, then shuts off. This is hard on the equipment and should be avoided. Ecobee ships with a Power Extender Kit (PEK) that installs at the control board and eliminates the need for a physical C-wire — this is the cleanest solution if no spare wire is available. If you have a spare unused conductor in your thermostat cable, connecting it to C at both ends is the simplest and most reliable approach.
Why does my new thermostat only heat and not cool (or vice versa)?
The most likely cause is a swapped Y and W wire. Y controls cooling (connects to the compressor contactor), W controls heating (connects to the furnace gas valve or heat strip relay). If they are reversed, your thermostat activates heating when it should activate cooling and vice versa. Verify at the old thermostat's photo (hopefully you took one before disconnecting) or at the air handler control board where both wires terminate. If you have a heat pump where O/B is incorrectly configured, the reversing valve switches to the wrong mode — the thermostat setup menu controls this without any physical rewiring.
What is the C-wire and why do so many homes not have one?
The C-wire (common wire) completes the 24VAC low-voltage circuit, allowing the thermostat to draw continuous power from the transformer rather than relying on batteries. Homes built or renovated before smart thermostats were common (generally before 2010) often ran only 4-wire thermostat cable (R, G, Y, W) because older thermostats were battery-powered and didn't need the C connection. The spare conductors that could serve as C-wire were simply not run or terminated. Running new 18/8 cable, using a C-wire adapter, or installing an Ecobee with PEK adapter are the three practical solutions for homes without an existing C-wire.