Search

4-Wire Thermostat Wiring: R, W, Y, G Explained (Color Code + Diagram)

Table of Contents

Four wires at your thermostat almost always means R, W, Y, and G: 24V power, heat, cooling, and fan, with no C (common) wire. Everything works except constant power to the thermostat itself, which is why 4-wire homes hit a wall the day they buy a Nest or ecobee.

This page covers the 4-wire hookup start to finish. For every other wire count and terminal, see the full thermostat wiring guide.

4-wire thermostat wiring diagram showing R, W, Y, and G conductors between the thermostat sub-base and the furnace control board, with no C wire present
4-wire thermostat wiring diagram showing R, W, Y, and G conductors between the thermostat sub-base and the furnace control board, with no C wire present

TL;DR

Wire (typical color)TerminalWhat it does
RedR24V AC power from the transformer
WhiteWHeat call (R connected to W fires the furnace)
YellowYCooling call (R connected to Y runs the compressor)
GreenGFan relay (R connected to G runs the blower)

Match the terminal letters, not the wire colors. Photograph the old thermostat before you disconnect anything, label each wire by the letter it was on, and land it on the same letter at the new thermostat.

What “4 wires” tells you about your system

A 4-wire thermostat cable was the standard install for decades: one conductor each for power, heat, cooling, and fan. It assumes the thermostat either needs no power of its own (mechanical or battery models) or steals a trickle through the switching circuits.

That fourth-wire ceiling is the whole story of this page. Heat works, AC works, fan works. What you do not have is a C wire, the return path that gives a smart thermostat constant 24V power. The fix options are covered below.

4-wire color code

Wire color (typical)TerminalWhat it does
RedR (or Rc / Rh)24 V AC power from the transformer. Rc = cooling power, Rh = heating power; one system uses a jumper between them.
WhiteW (W1, W2)Heat call. W2 is second-stage or auxiliary heat.
YellowY (Y1, Y2)Cooling call — energizes the compressor contactor. On heat pumps, Y runs the compressor for heating too.
GreenGIndoor fan (blower) relay.
BlueCCommon — completes the 24 V circuit and gives smart thermostats constant power. Sometimes black.
OrangeO (or O/B)Heat-pump reversing valve, energized in cooling (most brands).
Dark blueBHeat-pump reversing valve, energized in heating (Rheem/Ruud). Occasionally used as C — verify.
BrownEEmergency heat — manual backup that locks out the compressor.
VariesAUXAuxiliary heat — automatic electric backup on heat pumps. Often shares a wire with W2.
Colors are conventions, not rules. The installer may have used any color for any terminal — always match by the terminal letter on the old thermostat, not the wire color. Label each wire with masking tape before disconnecting anything.

The table above is the convention, and on a 4-wire system the odds are good it holds: red to R, white to W, yellow to Y, green to G. But colors are whatever the installer had on the truck. There is no standard anyone enforces, and Honeywell’s own support pages say so. A previous owner’s “green” heat wire is not rare.

So the rule stands: go by the terminal letter printed on the old thermostat’s sub-base, not the color of the insulation. If the old thermostat is already gone and you have four bare wires, identify them at the furnace control board, where each conductor lands on a labeled screw terminal (R, W, Y, G).

How to wire a 4-wire thermostat, step by step

Safety first: turn off power at the breaker or the furnace switch, and confirm the thermostat display is dark before pulling it off the wall. The control side is only 24V AC, but shorting two wires can blow the control-board fuse or kill the transformer.

  1. Kill the power. Breaker or the switch on the side of the furnace. Confirm the display is dead. If your old thermostat is battery-powered, pull a battery to be sure the screen you’re seeing isn’t battery-only.
  2. Photograph the wiring. Two shots: one wide showing the whole sub-base, one close enough to read the terminal letters.
  3. Label each wire by letter. Masking tape flags marked R, W, Y, G. Letters, not colors.
  4. Disconnect and secure the cable. Unscrew each terminal, then clip or tape the cable bundle to the wall plate so it cannot slide back into the wall cavity. Retrieving a dropped cable means cutting drywall.
  5. Mount the new base and land the wires. Each wire goes to the terminal with the same letter. Seat each one firmly and tug-test it. A loose W wire is an intermittent no-heat call that shows up on the coldest night of the year.
  6. Set the installer menu. System type (gas furnace, AC), fan type (gas = furnace controls the fan in heat; electric = thermostat controls it), and cycling rate.
  7. Restore power and test all three functions: heat, cool, and fan. Let each run at least a full minute.

The smart-thermostat problem: no C wire

A 4-wire system has no C wire, and most smart thermostats want one. Nest models can power-share (sipping power through the R-W and R-Y circuits), but Google’s own documentation says a C wire or adapter is the fix when you see Wi-Fi dropouts, random reboots, or relay chatter at the equipment. ecobee doesn’t gamble: on a 4-wire system it requires either a C wire or the Power Extender Kit that ships in the box.

Four ways to get constant power, best first:

  1. Check for a spare conductor. Pull the thermostat and look for an unused wire folded back into the wall. Many “4-wire” homes actually have 5-conductor cable with one spare. Land it on C at the thermostat and at the furnace board, and you’re done in 20 minutes. Free.
  2. Add-a-wire kit or Power Extender Kit. A small module at the furnace splits one existing conductor into two circuits, creating a C without new cable. The ecobee PEK is this exact device, included with the thermostat. Third-party kits do the same job for other brands.
  3. 24V plug-in adapter. A wall transformer that feeds the thermostat’s Rc and C terminals directly from an outlet. Works anywhere, no furnace access needed, but you’ll have a visible wire running to an outlet. Fine for rentals.
  4. Pull new 18/8 cable. The permanent fix. If you’re opening the wall or the run is accessible, pull eight-conductor so every future upgrade is free. Details in the thermostat wire gauge guide.

Full walkthrough of all four, with when each one wins: how to install a thermostat without a C wire. And before you repurpose a wire, read can the Nest blue wire be a C wire?

4 wires on a heat pump: R, Y, G, O/B

Not every 4-wire system is heat + cool + fan. If your outdoor unit runs in winter, you have a heat pump, and your four wires are probably R, Y, G, and O/B instead:

  • R: 24V power, same as always.
  • Y: compressor. On a heat pump, Y runs the compressor for both heating and cooling.
  • G: fan.
  • O/B: the reversing valve, which sets the direction. O energizes in cooling on most brands (Carrier, Trane, Goodman, Lennox); B energizes in heating on Rheem and Ruud. You select O or B in the thermostat’s installer menu, never by moving wires.

There is no W here because a basic heat pump has no separate heat call: heat is Y plus the reversing valve position. This 4-wire heat-pump layout has no aux or emergency heat wire either, so it belongs to heat pumps without backup strips (common in mild climates). If you asked for heat and got cold air, the O/B setting is wrong. Check the installer menu before touching wiring. More in the heat pump section of the wiring guide.

4 wires on a heat-only boiler: R, W, and two spares

The other edge case: a boiler or furnace with 4-conductor cable but only two wires connected, R and W. The remaining two conductors are folded back as spares.

Treat it as a 2-wire heat-only system that came with free upgrades. One spare becomes your C wire (land it on C at both ends, and any smart thermostat runs happily). Full heat-only hookup: 2-wire thermostat wiring.

Troubleshooting 4-wire problems

SymptomMost likely causeCheck
Heat works, no ACY wire loose, or the Rc/Rh jumper is missing on the new thermostatTug-test Y at both ends; confirm the Rc/Rh jumper is set for one transformer
AC works, no heatW wire loose, or Rh not bridged to RcSame jumper check, then the W terminal screws
Fan won’t stop runningG shorted to R somewhere in the run, or fan set to ONThermostat fan setting first; then inspect G insulation where the cable is stapled or kinked
Blank display after installBlown control-board fuse from a short during installThe blade fuse on the furnace board; then measure across R and W (should read ~24-28V AC with the stat off the wall)
Smart thermostat reboots or drops Wi-FiPower stealing on a no-C systemAdd a C wire (four options above)

If two of these show up at once after a swap, re-shoot your wiring against the photo from step 2. The most common install error is two wires swapped at the new base.

FAQ

What is the color code for 4-wire thermostat wiring?
The convention is red to R (24V power), white to W (heat), yellow to Y (cooling), and green to G (fan). It’s a convention, not a rule: always confirm against the terminal letters on the old thermostat or at the furnace control board.

How do I wire a Honeywell thermostat with 4 wires?
Same letters, same landings: R, W, Y, G onto the matching Honeywell terminals. If the Honeywell backplate shows separate Rc and Rh terminals, land the red wire on R (or Rh) and leave the factory jumper or slider in the single-transformer position, since a 4-wire system has one transformer. Battery-powered Honeywell models run on 4 wires with no adapter.

Can I install a Nest or ecobee with only 4 wires?
Yes, with a caveat each. A Nest will power-share on many 4-wire systems, but add a C wire or adapter if you see Wi-Fi dropouts or reboots. An ecobee requires its Power Extender Kit on a 4-wire system; install the PEK at the furnace board per the included instructions.

Which of my 4 wires is the C wire?
None of them. A standard 4-wire system (R, W, Y, G) has no C wire; that’s its defining limitation. If you find a fifth conductor folded back in the wall, that spare can become your C wire.

Is 4-wire thermostat cable different from 5-wire cable?
Same 18-gauge wire, different conductor count. Thermostat cable is sold as 18/2 through 18/10, where the second number is the conductor count. If you ever replace the cable, pull 18/8: the wire gauge guide explains why.

⚠️ Know when to stop

Thermostat wiring is 24 V AC low voltage — safe to handle once you cut power at the breaker (do it anyway; a short can kill the transformer or blow the board fuse). But stop and call an HVAC pro or electrician if you hit any of these:

  • Line voltage (120/240 V): thick wires with wire nuts, often on baseboard or wall-heater thermostats. Miswiring these can injure you or start a fire.
  • Gas components: anything past the furnace control board — gas valves, ignitors, pilot assemblies.
  • Refrigerant lines or sealed-system parts on heat pumps and AC units.
  • No idea which system you have: if the wiring doesn’t match any diagram here, photograph it and get a pro’s eyes on it before guessing.

Last reviewed: July 2026. Wiring conventions verified against Honeywell Home, Google Nest, and ecobee support documentation; always confirm against your equipment’s manual.

About the Author – Dan Golden
Picture of Dan Golden

Dan Golden

Dan Golden is a Chicago-based developer, entrepreneur, and proptech builder focused on making homes smarter and more sustainable. He is the creator of HomeDoc, a home management platform that helps homeowners track maintenance, warranties, and projects, and HomeEnergyPlanner, a resource for evaluating energy upgrades and efficiency improvements. On the commercial and enterprise side, Dan co-founded Pandotic, a product studio behind BidSmart, an AI-powered HVAC bid analysis tool, and LEEDsmart, a platform for navigating green building certification. His work in sustainable real estate also extends to ESGsource, where he covers green building trends and ESG developments in the built environment.
Scroll to Top