Thermostat Wiring: Color Codes, Terminal Labels, and Diagrams

SYSTEMS STATUS: OPTIMALNode Swept 24H Ago
Diagnostic Summary

Understand thermostat wiring color codes, terminal labels, and configurations for any HVAC system. Call a licensed local pro for accurate wiring help.

Thermostat wiring uses low-voltage control wires to connect your thermostat to the furnace, air handler, or heat pump control board. Each wire carries one specific signal, identified by a terminal letter and a conventional color. Understanding which wire goes where is the foundation for any thermostat replacement, smart thermostat upgrade, or troubleshooting job.

What Is Thermostat Wiring?

Residential thermostats don't run on line voltage. Your HVAC system's transformer steps 120V household power down to 24 volts AC, and those low-voltage wires carry switching signals between the thermostat and the control board. When your thermostat calls for heat, it closes the right circuit; the control board reads it and fires up the furnace. Each function, heating, cooling, fan control, and reversing valve, gets its own dedicated wire and terminal.

The cable running between your thermostat and furnace is called thermostat wire or stat wire. It bundles multiple color-coded conductors inside a single outer jacket. Standard residential cable comes in 2-, 4-, 5-, 6-, 7-, and 8-conductor versions. For in-wall runs, you need CL2-rated cable. If the wire passes through an air duct or plenum space, fire codes require CL2P plenum-rated cable instead.

One point that no one explains clearly enough: wire color is a convention, not a standard. The industry follows common color assignments, but older homes, prior DIY work, and some HVAC manufacturers deviate. Always verify each wire's function at the HVAC control board before connecting anything at the thermostat.

Thermostat Wire Color Codes: What Every Wire Does

R / RC / RH: Power (Red)

The R wire carries 24V power from the transformer to the thermostat. Most systems use one R wire. Systems with separate heating and cooling transformers use two: RH for the heating transformer and RC for the cooling transformer. If your thermostat has a single R terminal, a factory jumper usually bridges RH and RC internally, so connecting to R alone covers both.

W / W1 / W2: Heating (White)

The W wire triggers the heating call. When the thermostat asks for heat, it connects R to W, signaling the furnace or boiler to fire. W2 handles second-stage heat in two-stage furnaces or heat pump systems that use backup electric resistance strips for supplemental heat.

Y / Y1 / Y2: Cooling (Yellow)

The Y wire carries the cooling call to the compressor contactor. When you call for air conditioning, R connects to Y, starting the outdoor condensing unit. Y2 activates the second-stage compressor on two-stage cooling systems.

G: Fan Control (Green)

The G wire controls the air handler or furnace blower fan independently from heating or cooling. Setting the fan to "on" at the thermostat closes the R-to-G circuit, running the blower without a heating or cooling call. The G wire also runs the fan during heating and cooling cycles on most systems.

C: Common Wire (Blue or Black)

The C wire completes the 24V circuit by providing a continuous return path to the transformer. It doesn't carry a switching signal. It simply keeps the thermostat powered at all times. Older systems often lack a C wire because older thermostats ran on batteries or drew so little current they didn't need continuous power. Smart thermostats need a C wire to stay on around the clock.

O / B / O-B: Heat Pump Reversing Valve (Orange or Dark Blue)

Heat pump systems use an O or B wire to control the reversing valve, which switches the refrigerant circuit between heating and cooling mode. Most systems use O, energized during cooling calls. Some brands, including Rheem and Ruud, use B, which is energized in heating mode. The reversing valve logic on the thermostat must match the system exactly, or the heat pump will heat when it should cool and cool when it should heat.

AUX / E: Auxiliary and Emergency Heat

AUX triggers the backup heat source, usually electric resistance strips inside the air handler, when the heat pump can't keep up at low outdoor temperatures. E bypasses the heat pump entirely and runs only the backup strips. Both terminals appear only on heat pump thermostats.

Thermostat Wiring Configurations by Number of Wires

2-Wire Systems

Two-wire setups appear on older single-pipe steam heating systems, millivolt gas valve systems, and some baseboard hydronic setups. There is no cooling circuit, no fan control, and no separate power return. These systems are simple but limit thermostat choices considerably, since most modern and smart thermostats require more wires.

3-Wire and 4-Wire Systems

A 3-wire system typically adds a cooling or fan wire to a basic heating setup. A 4-wire system commonly carries R, G, W, and Y, supporting full heating, cooling, and fan control without a C wire. This configuration worked well for low-power analog and early digital thermostats, but it can cause smart thermostat power issues.

5-Wire Systems (Most Common for Central HVAC)

Five wires covering R, G, W, Y, and C are the standard for most central heating and cooling systems installed in the last 20-plus years. This setup handles full heating and cooling with the C wire providing continuous thermostat power. If your home has standard central forced air with one heating stage and one cooling stage, this is almost certainly what you have.

6-, 7-, and 8-Wire Systems (Heat Pumps and Multi-Stage Equipment)

Six or more wires appear in heat pump installations, two-stage systems, and dual-fuel hybrid setups. A basic single-stage heat pump needs at least 5 or 6 wires, adding O/B to the standard 5-wire set. Two-stage heat pumps add Y2, AUX, and E, pushing the count to 7 or 8. Dual-fuel systems, where a heat pump pairs with a gas furnace for cold-weather backup, require the thermostat to manage both heating sources and the outdoor temperature lockout that triggers the switchover.

Do You Need a C-Wire? What to Do If You Don't Have One

Why Smart Thermostats Need a C-Wire

Nest, Ecobee, Honeywell T6 Pro, and similar smart thermostats draw continuous power for Wi-Fi, color displays, and occupancy sensors. Without a C wire, they attempt to steal power through the heating or cooling signal wires. This causes short-cycling, connectivity dropouts, and compressor wear over time. A C wire is the right fix, not a workaround.

C-Wire Workarounds

Three options are available when a home lacks a C wire.

Run a new conductor from the control board. Most HVAC control boards have an unused C terminal. If your existing thermostat cable has a spare conductor, a tech can connect it at both ends in about 30 minutes. If no spare exists, new 5-conductor cable must be fished from the furnace to the thermostat location.

Repurpose the G wire. If a spare conductor is not available and you can live without independent fan control, the green wire can be reconnected to the C terminal at both ends. This removes the ability to run the fan independently from the thermostat.

Install a C-wire adapter kit. Products like the Venstar Add-A-Wire split one existing wire into two signals, creating a functional C wire without running new cable. These work on most conventional systems but are not compatible with all control boards, so confirm compatibility before purchasing.

What Happens If You Wire a Thermostat Incorrectly?

Miswired thermostats cause a range of problems, from frustrating to expensive:

  • System won't start. A missing power connection means the thermostat can't send any signal at all.
  • Fan runs continuously. G shorted to R keeps the blower on regardless of temperature or mode.
  • Heat pump operates in the wrong mode. A reversed O/B wire flips the reversing valve logic, so the system heats when you call for cooling.
  • Short-cycling. Incorrect power wiring causes the thermostat to restart repeatedly, stressing the compressor and shortening equipment life.
  • Control board burnout. Connecting a 120V or 240V line-voltage wire to the thermostat terminals destroys the 24V control board. Replacement boards typically run from $100 to $400, and labor adds to that total.

DIY or Call a Pro? A Practical Decision Framework

Most wiring guides describe the process but skip the question homeowners actually need answered: when is it safe to do this yourself? Here is a clear framework.

When DIY Is Reasonable

Swapping a like-for-like thermostat on a standard 5-wire system is manageable for a careful homeowner. Follow these steps:

  1. Turn off power at the furnace breaker and confirm the thermostat is off.
  2. Take a clear photograph of each wire and its terminal label before disconnecting anything.
  3. Label each wire with masking tape and a permanent marker, using the terminal letter.
  4. Disconnect the old thermostat, mount the new one, and reconnect wire for wire based on your photograph.
  5. Restore power and test each mode: heating, cooling, and fan individually.

If the terminal letters on the new thermostat match the old one exactly and the wire count is the same, the job carries low risk. This applies to most standard furnace and central AC swaps with a 5-wire setup.

When to Call an HVAC Technician

Hire a licensed pro in any of these situations:

  • Heat pump systems. Reversing valve wiring and O/B configuration require system-level knowledge beyond a basic swap.
  • Non-standard or mystery wire colors. If the colors in your home don't match any known convention, tracing them to the control board without damaging anything takes a meter and real experience.
  • Adding a C wire. Fishing new cable through finished walls or selecting a compatible adapter is faster and lower risk with a professional.
  • Multi-stage or dual-fuel systems. The interaction between two heating sources and the outdoor temperature lockout logic is easy to get wrong.
  • Older homes with unknown wiring history. Pre-1980 homes sometimes have millivolt systems, 120V thermostat circuits, or prior DIY work. A tech identifies these in minutes.
  • Equipment under active warranty. A wiring mistake that damages a control board may void your HVAC manufacturer's warranty. A professional visit preserves that coverage, and typically costs far less than a board replacement.

What a Professional Thermostat Wiring Service Covers

No competitor explains what a professional actually does during a thermostat wiring visit beyond connecting wires. Here is what a qualified HVAC tech or licensed electrician near you typically covers:

  • System voltage test. Confirming 24V is present at the transformer and reaching every thermostat terminal before any work begins.
  • Control board inspection. Checking terminals for corrosion, loose connections, or scorched traces that would cause problems regardless of which thermostat is installed.
  • Wire integrity check. Testing each conductor for continuity and inspecting insulation condition, especially in homes where thermostat wire may be 30 or 40 years old.
  • Compatibility verification. Matching the new thermostat's power and wiring requirements to the existing system type, whether conventional, heat pump, two-stage, or dual-fuel.
  • Programming and calibration. Setting schedules, verifying temperature accuracy against a reference thermometer, and testing each operating mode before leaving.
  • Documentation. Leaving a wiring label or photograph at both the furnace and thermostat for future reference.

A standard thermostat wiring visit runs 45 to 90 minutes on a conventional system. Heat pump and multi-stage setups take longer. If the visit uncovers broader wiring problems, a tech can also advise on home electrical repair services, electrical wiring repair, or knob and tube wiring replacement if your home has aging infrastructure that affects thermostat performance.

Frequently Asked Questions About Thermostat Wiring

What color wire goes where on a thermostat?

Standard conventions: red to R (power), white to W (heat), yellow to Y (cool), green to G (fan), blue or black to C (common). Orange or dark blue goes to O/B on heat pump systems. These are conventions, not guaranteed standards. Always confirm at the HVAC control board before connecting.

Do I need a C wire for a smart thermostat?

In most cases, yes. Smart thermostats need continuous power for Wi-Fi, displays, and sensors. Without a C wire, they steal power through signal wires and cause short-cycling or connection problems. Options include running a new C wire, using an adapter kit, or repurposing a spare conductor if one exists in the bundle.

What happens if you wire a thermostat incorrectly?

Symptoms range from a system that won't start to a heat pump running in reverse, a fan that won't stop, or short-cycling. The most serious mistake is connecting a line-voltage wire to the 24V terminals, which burns out the control board and typically costs $100 to $400 in parts alone, plus labor.

How do you identify thermostat wires when colors don't match standard codes?

Turn off power at the breaker. Use a multimeter set to 24V AC and the wiring diagram printed on the inside of the furnace panel to trace each wire back to its control board terminal. If you're uncertain at any step, a licensed tech can trace and label every wire in under an hour.

What is the O/B wire on a heat pump thermostat?

The O/B wire controls the reversing valve that switches the heat pump between heating and cooling mode. Most systems use O, energized during cooling calls. Some Rheem and Ruud units use B, energized in heating mode. The thermostat must be configured to match the system, or it will run in the wrong mode year-round.


If you need help with thermostat wiring, a C-wire installation, or a full thermostat swap on a heat pump or multi-stage system, call a licensed local pro now for a fast quote. For related home electrical needs, an aluminum wiring replacement specialist or a licensed electrician near you can handle any broader wiring concerns your home has.

FAQ & Troubleshooting Nodes

Q:What color wire goes where on a thermostat?

Standard conventions: red to R (power), white to W (heat), yellow to Y (cool), green to G (fan), blue or black to C (common). Orange or dark blue goes to O/B on heat pump systems. These are conventions, not guaranteed standards. Always confirm each wire's function at the HVAC control board before connecting anything.

Q:Do I need a C wire for a smart thermostat?

In most cases, yes. Smart thermostats need continuous power for Wi-Fi radios, displays, and sensors. Without a C wire, they steal power through signal wires and cause short-cycling or connectivity problems. Options include running a new C wire to the control board, installing a C-wire adapter kit, or repurposing a spare conductor if one exists in the cable.

Q:What happens if you wire a thermostat incorrectly?

Symptoms range from a system that won't start to a heat pump running in reverse, a fan that won't shut off, or short-cycling. The most serious mistake is connecting a line-voltage wire to the 24V thermostat terminals, which burns out the control board and typically requires a $100 to $400 replacement board plus labor.

Q:How do you identify thermostat wires when colors don't match standard codes?

Turn off power at the breaker. Use a multimeter set to 24V AC and the wiring diagram printed on the inside of the furnace panel to trace each wire back to its terminal on the control board. If you are uncertain at any step, a licensed HVAC tech can trace and label every wire in under an hour.

Q:What is the O/B wire on a heat pump thermostat?

The O/B wire controls the reversing valve that switches the heat pump between heating and cooling mode. Most systems use O, which is energized during cooling calls. Some Rheem and Ruud units use B, which is energized in heating mode. The thermostat must be configured to match the system exactly, or it will run in the wrong mode.