HVAC Thermostat Wiring Diagram Guide

Thermostat wiring connects your thermostat to your HVAC system -- furnace, air conditioner, heat pump, or a combination of these. Understanding the wire colors and terminal designations is essential whether you are installing a new thermostat, upgrading to a smart thermostat, or troubleshooting a system that is not heating or cooling correctly.

This guide covers the standard thermostat wire color codes, terminal designations, wiring diagrams for common HVAC configurations, and smart thermostat installation.

Thermostat Wire Basics

Thermostat wire is low-voltage cable (typically 24V AC) that runs between the thermostat on the wall and the HVAC equipment (furnace, air handler, or outdoor unit). The cable contains multiple individually insulated conductors inside a single jacket.

Common Cable Types

Pro tip: When running new thermostat wire, always use 18/8 cable even if you only need four or five wires today. The extra conductors allow for future upgrades without re-running cable.

Standard Wire Color Codes

Thermostat wire colors follow an industry-standard convention, though installers can technically use any color for any function. The standard colors are:

Terminal Wire Color Function
R Red 24V power (hot)
Rc Red 24V power for cooling (if separate transformers)
Rh Red 24V power for heating (if separate transformers)
C Blue Common (24V neutral -- powers the thermostat)
W White Heat (stage 1)
W2 Brown Heat (stage 2)
Y Yellow Cooling (compressor, stage 1)
Y2 Light blue Cooling (compressor, stage 2)
G Green Fan
O/B Orange Reversing valve (heat pump)
E -- Emergency heat

The R Terminal

The R terminal provides 24V AC power to the thermostat. In many systems, there is a single R terminal. In systems with separate transformers for heating and cooling, the R terminal is split into Rh (heating) and Rc (cooling). Most modern thermostats have a jumper between Rh and Rc that you remove only if your system has separate transformers.

The C Wire (Common)

The C wire provides the return path for 24V power, completing the circuit so the thermostat can power its display, Wi-Fi radio, and processor. Older thermostats that used mercury switches did not need a C wire -- they stole tiny amounts of power from the circuit. Modern smart thermostats (Nest, Ecobee, Honeywell) require a C wire or an adapter.

Wiring Diagram 1: Heat-Only System (Furnace)

The simplest HVAC configuration. A gas or oil furnace with no air conditioning.

Wires needed: R, W, G (optional), C (for smart thermostats)

Connections:

Wiring Diagram 2: Heat and AC (Furnace + Central Air)

The most common residential HVAC configuration.

Wires needed: R, W, Y, G, C

Connections:

How it works:

Wiring Diagram 3: Heat Pump System

Heat pumps use the same equipment for both heating and cooling by reversing the refrigerant flow. The wiring is similar to a standard heat/cool system but adds an O/B wire for the reversing valve.

Wires needed: R, Y, G, O/B, W2/E (auxiliary/emergency heat), C

Connections:

Important: Check your heat pump documentation to determine whether your system uses O (energize for cooling) or B (energize for heating) for the reversing valve. Getting this wrong means the system heats when it should cool and vice versa.

Wiring Diagram 4: Two-Stage System

Two-stage furnaces and air conditioners have two operating levels: stage 1 (low/efficient) and stage 2 (high/full capacity). This requires additional wires.

Wires needed: R, W, W2, Y, Y2, G, C

Connections:

The thermostat runs stage 1 first. If the temperature does not reach the setpoint within a configured time, it activates stage 2 for additional capacity.

Installing a Smart Thermostat

Smart thermostats (Nest, Ecobee, Honeywell Home) require a C wire for continuous power. Here is how to handle each scenario:

Scenario 1: C Wire Already Present

Simply connect each wire to the matching terminal on the smart thermostat. Most smart thermostats include a compatibility checker on their website -- enter your existing wire colors and it will confirm compatibility.

Scenario 2: No C Wire -- Add-a-Wire Adapter

An "add-a-wire" adapter (like the Venstar ACC0410) installs at the furnace and repurposes an existing wire to provide C wire functionality. It sends both the fan signal and common over one wire using a special module.

Scenario 3: No C Wire -- External Transformer

You can power the thermostat with a separate 24V AC transformer plugged into a nearby outlet. Connect the transformer's output to the C and Rc terminals on the thermostat.

Scenario 4: Ecobee with Power Extender Kit

Ecobee thermostats include a Power Extender Kit (PEK) in the box. This device installs at the furnace control board and allows the Ecobee to work without a C wire by using the existing wires.

Reading Your Existing Wiring

Before removing your old thermostat, document the existing wiring:

  1. Take a photo of the wires connected to the old thermostat terminals. Make sure the photo clearly shows which color wire is on which terminal.
  2. Label each wire with masking tape noting the terminal letter (R, W, Y, G, C, etc.).
  3. Check the furnace end -- take a photo of the wires connected to the furnace control board. Verify the terminal letters match.
  4. Note any jumpers -- especially between Rh and Rc.

Troubleshooting Thermostat Wiring

System Does Not Turn On at All

  1. Check the furnace power switch (usually a standard light switch on the side of the furnace).
  2. Check the furnace door safety switch -- the blower door must be fully closed.
  3. Verify 24V at the R terminal at the thermostat. If no voltage: check the furnace transformer and its fuse.
  4. Check the C wire connection -- a disconnected C wire will kill power to a smart thermostat.

Heating Works but Cooling Does Not

  1. Verify the Y wire is connected at both the thermostat and the furnace/air handler.
  2. Check the outdoor unit disconnect -- it may be switched off.
  3. Check the outdoor unit's fuse or breaker.
  4. Verify the thermostat is set to "cool" mode and the setpoint is below room temperature.

Fan Runs Constantly

  1. Check the thermostat fan setting -- it may be set to "ON" instead of "AUTO".
  2. If the G wire is shorted to R, the fan will run constantly. Inspect the wiring.

Short Cycling (System Turns On and Off Rapidly)

  1. Check for the thermostat location -- drafts, direct sunlight, or proximity to a heat source cause erratic readings.
  2. The anticipator setting (on older thermostats) may need adjustment.
  3. A dirty furnace filter can cause overheating and safety shutdown.

Blown Fuse at the Furnace

  1. A blown 3A or 5A fuse on the furnace control board usually means a short circuit in the thermostat wiring.
  2. Disconnect all thermostat wires at the furnace and check for bare wire contact or a shorted wire in the wall.
  3. Reconnect one wire at a time to identify which circuit has the short.

Safety Notes

Create Your Own Thermostat Wiring Diagram

Documenting your thermostat wiring saves time during future thermostat changes and helps HVAC technicians quickly understand your system. With CircuitDiagramMaker, you can:

Create your thermostat wiring diagram -- free

Key Takeaways