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

Testing a Thermostat Circuit with a Multimeter

If a system is not responding to the thermostat, a multimeter lets you narrow down whether the fault is at the thermostat, the wiring run, or the equipment before you replace anything.

Step 1: Confirm power at the transformer

  1. Turn off power to the furnace or air handler at its service switch or breaker, then remove the thermostat from its base, leaving the low-voltage wiring connected at the equipment end.
  2. Restore power and set a multimeter to AC voltage.
  3. At the furnace or air handler control board, measure between the R and C terminals (or R and the transformer's secondary common wire if C is not landed on the board). You should read approximately 24-30V AC. A reading of 0V points to a bad transformer, a tripped transformer fuse, or an open safety switch -- such as the furnace door switch -- upstream of the transformer.

Step 2: Check for a blown low-voltage fuse

  1. Most furnace and air handler control boards have a small 3A or 5A automotive-style blade fuse protecting the 24V circuit.
  2. With power off, inspect the fuse -- a visibly broken filament confirms it is blown. With a multimeter set to continuity/ohms, test the fuse out of circuit; no continuity means it needs replacing.
  3. A fuse that blows again after replacement points to a short somewhere in the thermostat wiring or at the thermostat itself, not a one-off fuse failure.

Step 3: Test a suspect wire run for continuity

  1. Turn off power at the furnace.
  2. Disconnect the suspect wire at both ends (thermostat and equipment).
  3. Set the multimeter to continuity/ohms and touch one probe to each end of the same conductor. Continuity confirms the wire is intact; no continuity means a break somewhere in the wall, often at a staple driven through the cable or a connection inside a wall cavity.
  4. If a run tests broken, the usual fix is running a new cable rather than trying to splice inside a wall.

Permits and Thermostat Wiring

Thermostat wiring is a low-voltage Class 2 circuit, so it generally does not require the same permit process as line-voltage electrical work -- Class 2 circuits carry limited energy and most jurisdictions do not require a permit simply to replace a thermostat or run new low-voltage thermostat cable. That said, the equipment side of the job -- wiring at the furnace, air handler, or outdoor unit control board, which is line voltage -- is a different matter, and any work there should be performed or verified by a qualified HVAC technician or licensed electrician. If your project touches anything beyond the low-voltage thermostat wire itself, check with your local building department.

Additional Troubleshooting Scenarios

These scenarios go beyond the System Does Not Turn On, Cooling Does Not Work, and other troubleshooting sections above.

Symptom Likely Cause Fix
Thermostat display is completely blank No power reaching the thermostat -- disconnected C wire, blown fuse, or dead batteries on a battery-powered model Check batteries first if applicable, then test for 24V at R and C at the thermostat base; if present at the base but the display is still blank, the thermostat itself may have failed
Thermostat loses power intermittently, display flickers or resets Loose connection at a screw terminal, or a wire nicked during installation making intermittent contact Turn off furnace power, remove the thermostat from its base, and re-seat and tighten every wire at both the thermostat and the equipment control board
Fan runs at the wrong time after a DIY thermostat swap (for example, cooling calls also turn on the fan even though G was not wired to it) A wire landed on the wrong terminal -- most often G swapped with Y, or W swapped with Y Turn off power and compare your wire-to-terminal photo against both ends; correct the swapped terminals one at a time and retest
Heating and cooling seem to run backward from what the thermostat calls for O/B reversing valve wire connected to the wrong terminal for your heat pump brand's convention Confirm whether your equipment uses O (energizes for cooling) or B (energizes for heating) from the manufacturer's documentation, then correct the terminal
Thermostat responds correctly but the wrong equipment runs (for example, calling for heat turns on the compressor) Wires crossed at the equipment control board, not at the thermostat Verify wire-to-terminal matching at the furnace or air handler board using your reference photo; do not assume the thermostat end is the problem just because it is more accessible

Key Takeaways

Hvac Schematic — circuit diagram showing component connections24V TransformerTThermostatKFan RelayM3~Blower Motor230V AC UtilityThermostat / HVAC WiringR = 24V, W = Heat, C = Common
Hvac Schematic — open the interactive version of this diagram to customise and export it.
Thermostat Wiring Explained — circuit diagram showing component connections24V TransformerTThermostatKFan RelayM3~Blower Motor230V AC UtilityThermostat / HVAC WiringR = 24V, W = Heat, C = Common
Thermostat Wiring Explained — open the interactive version of this diagram to customise and export it.
2 Wire Thermostat Wiring Diagram — circuit diagram showing component connections24V TransformerTThermostatKFan RelayM3~Blower Motor230V AC UtilityThermostat / HVAC WiringR = 24V, W = Heat, C = Common
2 Wire Thermostat Wiring Diagram — open the interactive version of this diagram to customise and export it.

Frequently asked questions

What happens if you connect the wrong wire to the wrong thermostat terminal?

Depending on which terminals are swapped, you may get no response at all, the wrong equipment running (such as the fan running on a cooling call), or in the worst case a short between R and C that blows the transformer's low-voltage fuse. Always compare wires against a photo of the original wiring before reconnecting.

Can I use thermostat wire with fewer conductors than my system needs?

No, each function (heat, cool, fan, common, and any reversing valve or second-stage signal) needs its own dedicated conductor -- you cannot combine two functions on one wire. If your existing cable has too few conductors for a new system or smart thermostat, you need to run new cable or use an add-a-wire adapter.

Is it safe to wire a thermostat myself?

Yes, thermostat wiring is a low-voltage Class 2 circuit (typically 24VAC), which carries far less shock risk than line-voltage wiring. Still turn off power at the furnace before working, avoid letting bare wire ends touch each other while the system is powered, and leave any work at the furnace or air handler's line-voltage side to a qualified technician.

What size wire do I need for thermostat wiring?

Thermostat wire is sized by gauge number rather than ampacity in the way line-voltage circuits are, with 18-gauge being the standard size for most residential runs. Longer wire runs (typically beyond about 100 feet) may need a heavier gauge such as 16-gauge to avoid voltage drop; check your thermostat manufacturer's guidance for your specific run length.

Can I use a doorbell transformer to power a thermostat?

Only if it is a genuine 24VAC Class 2 transformer matched to your thermostat's power draw -- many doorbell transformers are rated for 16VAC or a different VA capacity and are not a safe substitute. Use a transformer rated specifically for thermostat or HVAC control applications, typically 24VAC at 20-40VA.

What happens if the R and C wires touch each other?

Touching R (24VAC power) and C (common) together creates a direct short across the transformer's secondary winding, which will blow the low-voltage fuse on the furnace control board almost immediately. This is a common cause of a system that suddenly stops responding after DIY thermostat wiring.

Interactive diagrams for this guide