Wiring Reference

Thermostat Wiring Diagrams
For Every System Type

Visual wiring diagrams for 2-wire, 3-wire, 4-wire, 5-wire, and heat pump thermostat systems. Match your wires to the correct terminals and install your thermostat with confidence.

Last updated: February 2026

Safety Warning

Always turn off power at the breaker before touching any thermostat wires. Verify power is off with a non-contact voltage tester. Even though thermostat wires are low-voltage (24V), the equipment they connect to operates on 120V/240V.

How to Read a Thermostat Wiring Diagram

A thermostat wiring diagram maps each wire from your thermostat to your HVAC equipment. Every diagram has three key elements you need to understand before doing any wiring work:

Terminal Labels

Letters like R, W, Y, G, C, and O/B on the thermostat base. Each letter represents a specific HVAC function. The same letters appear on your furnace control board.

Wire Colors

Industry convention assigns colors to functions (red = power, white = heat, yellow = cool, green = fan, blue = common). However, installers don't always follow convention — always verify by terminal, not color.

Connection Path

Each wire runs from a terminal on the thermostat to the same-labeled terminal on the furnace or air handler control board. The thermostat acts as a switch, completing circuits to activate equipment.

TerminalStandard ColorFunction
R (Rh/Rc)Red24V power from transformer
WWhiteHeat call signal
YYellowCooling call signal
GGreenFan control
CBlue24V common (return path)
O/BOrangeHeat pump reversing valve
W2/AUXWhite (alt.)Auxiliary/emergency heat
Y2Brown/TanSecond-stage compressor

How to Wire a Thermostat Step-by-Step

1

Turn off power at the breaker

Before touching any thermostat wires, switch off the HVAC breaker at your electrical panel. Look for breakers labeled "HVAC," "furnace," or "air handler." Use a non-contact voltage tester at the thermostat wires to confirm power is off. This protects you and prevents short-circuits that could blow a fuse on your furnace control board.

2

Remove the thermostat faceplate

Gently pull the thermostat faceplate away from the wall plate. Most models snap off or have a small release tab at the bottom. Be careful not to pull the wall plate off the wall — you only need to remove the front unit to access the wiring terminals.

3

Photograph existing wiring

Take a clear photo of every wire connection before disconnecting anything. Note which color wire goes to which terminal letter. If the wires are not color-coded or the colors are faded, wrap a small piece of labeled tape around each wire before removing it. This reference is essential if you need to reconnect or troubleshoot later.

4

Identify your system type from the wires

Count the connected wires and match them to a system type: 2 wires (R + W) = heating only; 3 wires (R + Y + G) = cooling only; 4 wires (R + W + Y + G) = heating + cooling; 5 wires (R + W + Y + G + C) = heating + cooling with common wire; 6-8 wires with O/B = heat pump. Refer to the diagrams below for your specific configuration.

5

Match wires to the correct terminals

Connect each wire to the terminal that matches its function: R = 24V power, W = heat, Y = cooling, G = fan, C = common, O/B = reversing valve (heat pumps). Push each wire firmly into the terminal until it clicks or the screw is tight. Verify no bare copper is exposed outside the terminal connector.

6

Restore power and test each mode

Turn the breaker back on and test every mode on your thermostat: heating, cooling, and fan-only. Wait 3-5 minutes between tests for the system to respond. If a mode does not work, turn off power and recheck that specific wire connection. For heat pumps, verify the system heats in heat mode and cools in cool mode — a reversed O/B wire causes the opposite behavior.

If these steps resolved your issue, your thermostat should now be working correctly.

2-Wire System (Heating Only)

2-Wire Heating Only Diagram

R (Rh)R

24V power from transformer

WW

Heat call signal to furnace

The 2-wire system is the oldest and simplest thermostat wiring configuration. It is commonly found in homes with a single gas furnace, boiler, or wall heater where the only function is to turn heat on and off. When the thermostat calls for heat, it closes the circuit between R and W, sending a 24V signal to the furnace to ignite.

There is no separate fan control wire because the furnace manages the blower fan internally — it turns the fan on after the heat exchanger warms up and shuts it off after the burner stops. This setup cannot control air conditioning.

Smart thermostat note: If you want to upgrade to a smart thermostat like Nest, Ecobee, or Honeywell, you will need to add a C wire for continuous power. With only 2 wires, most smart thermostats either won't work or will experience chronic battery drain. See our C wire guide for options.

3-Wire System (Cooling Only)

3-Wire Cooling Only Diagram

R (Rc)R

24V power from transformer

YY

Cooling call signal to AC compressor

GG

Fan control signal to air handler

The 3-wire configuration is found in homes with central air conditioning but no furnace — typically in warmer climates where heating is provided by a separate system (like a wall heater or radiant floor). The R wire may be labeled Rc on the thermostat, indicating it is powered from the cooling system's transformer.

The Y wire signals the outdoor AC compressor to start, while the G wire independently controls the indoor blower fan. This separation allows you to run the fan without the compressor for air circulation. When cooling is called, both Y and G are typically energized together so the fan distributes the cooled air through the ductwork.

This system is relatively uncommon in modern installations. Most homes with central air also have a furnace, making a 4-wire or 5-wire system more typical.

4-Wire System (Heating + Cooling)

4-Wire Heating & Cooling Diagram

RR

24V power from transformer

WW

Heat call signal

YY

Cooling call signal

GG

Fan control

The 4-wire system is the most common residential thermostat wiring configuration in the United States. It supports a standard gas furnace paired with a central air conditioning unit — the combination found in the majority of American homes. The R wire provides power, W calls for heat from the furnace, Y activates the outdoor AC compressor, and G controls the indoor blower fan.

With 4 wires, you have full control over heating, cooling, and fan-only modes. The thermostat acts as a switch for each function: when you set it to heat, it connects R to W; when set to cool, it connects R to Y and R to G simultaneously.

Smart thermostat limitation: Without a C wire, many smart thermostats will not work reliably on a 4-wire system. The Nest can attempt to trickle-charge through the HVAC system, but this frequently causes "delayed" messages and battery drain. Ecobee includes a Power Extender Kit to solve this, while Honeywell smart models require a C wire. If you have an unused wire in your cable bundle, you can repurpose it as a C wire.

5-Wire System (With C Wire)

5-Wire System with C Wire Diagram

RR

24V power (hot)

WW

Heat call signal

YY

Cooling call signal

GG

Fan control

CC

24V common (return path for continuous power)

The 5-wire system is the "gold standard" for modern thermostat installations, especially if you are using or plan to upgrade to a smart thermostat. It includes all four functional wires (R, W, Y, G) plus the C (common) wire, which provides a continuous 24V return path to power the thermostat.

The C wire completes the 24V circuit, allowing the thermostat to draw constant power for its Wi-Fi radio, display, sensors, and processor. Without it, smart thermostats must rely on battery backup or trickle-charging — both of which cause reliability issues over time.

Compatibility: The Ecobee requires a C wire (but includes a Power Extender Kit). The Google Nest strongly recommends a C wire to prevent battery drain. The Honeywell T-series requires a C wire. If your system has only 4 wires, check out our complete C wire guide for options to add one.

Pro Tip

If your thermostat cable has an unused wire (often wrapped around the cable bundle), you can use it as a C wire. Just connect it to the C terminal on both the thermostat and the furnace control board.

Heat Pump Wiring (6-8 Wires)

Heat Pump Wiring Diagram (6-8 Wires)

RR

24V power

YY

Compressor (heat & cool)

GG

Fan control

O/BO/B

Reversing valve (switches heat/cool mode)

CC

24V common

W2/AUXW2

Auxiliary/emergency heat strips

Y2Y2

Second-stage compressor (if equipped)

Heat pump wiring is more complex than conventional systems because the heat pump uses the same compressor for both heating and cooling. A reversing valve inside the outdoor unit switches the direction of refrigerant flow, and the O/B wire controls that valve.

O Terminal vs. B Terminal — Critical Difference

O Terminal (Most Brands)

The reversing valve is energized in cooling mode.

Used by: Carrier, Trane, Lennox, Goodman, York, Daikin, and most other manufacturers.

B Terminal (Rheem/Ruud)

The reversing valve is energized in heating mode.

Used by: Rheem, Ruud, and some older Nordyne units. Less common but important to identify.

Getting this wrong means your heat pump runs in the opposite mode — it heats when you call for cooling and cools when you call for heating. If your system behaves this way after installation, swap the O/B setting in your thermostat configuration (most smart thermostats let you toggle between O and B in settings without rewiring).

The W2/AUX wire activates auxiliary heat strips, which are electric resistance heaters that supplement the heat pump when outdoor temperatures are too low for the heat pump to be efficient (typically below 30-35°F). Emergency heat mode forces the system to use only the heat strips, bypassing the heat pump entirely. The Y2 wire is only present in two-stage heat pump systems where the compressor can run at a lower speed for mild conditions and full speed for extreme temperatures.

Dual Transformer Systems (Rh and Rc)

In most homes, a single 24V transformer powers both the heating and cooling systems, and you have one R wire going to the thermostat. However, some homes — particularly older builds or properties where the heating and cooling systems were installed at different times — use two separate transformers: one for heating and one for cooling.

When you have dual transformers, the thermostat has two separate power terminals:

  • Rh (R-heat): Receives 24V from the heating system's transformer (usually at the furnace)
  • Rc (R-cool): Receives 24V from the cooling system's transformer (usually at the air handler or outdoor unit)

The jumper wire: If you have a single transformer (most common), there should be a small jumper wire or metal bridge connecting the Rh and Rc terminals together. This tells the thermostat to use the same power source for both heating and cooling. If you only have one R wire and your thermostat has separate Rh/Rc terminals, install the jumper and connect your R wire to either terminal.

Important: Never connect two separate transformers to the Rh and Rc terminals without removing the jumper first. Running two transformers into a jumpered connection will cause a short circuit and blow fuses on one or both control boards.

Common Thermostat Wiring Issues

Wrong Wire on Wrong Terminal

High Risk

The most common DIY wiring mistake. Swapping Y and W causes heating when you call for cooling and vice versa. Swapping R and C can blow the transformer fuse. Always photograph your wiring before disconnecting and double-check terminal labels on both the thermostat and furnace control board.

Missing C Wire for Smart Thermostat

Very Common

Smart thermostats need continuous power. Without a C wire, symptoms include: battery drain, "delayed" messages, Wi-Fi drops, and intermittent blank screens. Solutions include running a new wire, using an add-a-wire adapter, or installing a manufacturer-provided power extender kit.

Broken or Nicked Wire Insulation

Hard to Diagnose

Damaged insulation can cause intermittent shorts when wires touch each other or the metal wall plate. Symptoms include random system shutdowns, blown fuses, or the thermostat cycling erratically. Inspect all wires for nicks, and use electrical tape or heat-shrink tubing to repair any damage.

Wire Too Short to Reach Terminal

Easy Fix

If a wire was cut too short during a previous installation, it may barely reach the terminal and pull loose over time. Strip an additional 1/4 inch of insulation to expose more copper, or use a Wago lever-nut connector to splice on a short extension wire. Never stretch a wire to reach — it will eventually disconnect.

Recommended Tools for Thermostat Wiring

Klein Tools NCVT-1 Voltage Tester

$19

Non-contact voltage tester for verifying power is off before touching thermostat wires. Essential safety tool for any wiring work.

4.7/5
  • Non-contact voltage detection
  • Auto-off power saving
  • Pocket clip for easy carry
  • Detects 50-1000V AC
Check Price on Amazon

Wago 221-412 Lever-Nut Connectors

$14

Tool-free wire splicing connectors for extending short thermostat wires or adding a C wire splice. Reusable and much better than wire nuts.

4.8/5
  • Tool-free wire splicing
  • Reusable connections
  • Clear housing for inspection
  • Works with 12-28 AWG
Check Price on Amazon

Related Guides

Frequently Asked Questions

Written by

ThermostatFixer Editorial Team

Our team of HVAC enthusiasts and DIY experts creates detailed thermostat troubleshooting guides, wiring diagrams, and repair tips to help homeowners fix common thermostat issues without calling a technician.