Call us at (866) 330-1709 In Stock & Shipped Fast All Brands & Products by Quote HVAC Promotions & Seasonal Specials Need Help? Contact Support

HVAC Wiring Color Codes: A Guide for Technicians

Published by HVACProSales Team on Mar 16th 2026

Quick Answer Box

What are the standard HVAC wiring color codes?

While not always followed, the standard thermostat wiring color code is: Red (R) for 24V power, White (W) for heat, Yellow (Y) for cooling, Green (G) for the fan, and Blue or Black (C) for the common wire. In heat pumps, an Orange (O) or Dark Blue (B) wire is used for the reversing valve.


For a new HVAC technician, understanding thermostat wiring can be one of the most confusing initial challenges. A mess of colorful wires connects the thermostat to the furnace or air handler, and connecting them incorrectly can lead to system malfunctions or even damage to the equipment.

While there is a generally accepted color code standard in the HVAC industry, it’s not always followed by every installer. This guide will break down the standard HVAC wiring color codes and explain the function of each wire, helping you troubleshoot and install thermostats with confidence.

The Standard Thermostat Wiring Color Code

Here is a breakdown of the most common wire colors and the terminals they connect to on the thermostat and the HVAC control board.

| Wire Color | Terminal | Function | | :--- | :--- | :--- | | Red | R, Rh, Rc | Power. Provides 24-volt AC power from the transformer. Rh is power for heat, Rc is power for cool. A jumper often connects them. | | White | W, W1, W2 | Heat. Energizes the heating system. W1 is for the first stage of heat, W2 for the second. | | Yellow | Y, Y1, Y2 | Cooling. Engages the air conditioner compressor. Y1 is for the first stage of cooling, Y2 for the second. | | Green | G | Fan. Controls the indoor blower fan independently of heating or cooling. | | Blue or Black | C | Common. Completes the 24V circuit to provide continuous power to the thermostat, required for most smart thermostats. | | Orange | O | Reversing Valve (Heat Pump). Energizes the reversing valve to switch a heat pump to cooling mode. | | Dark Blue or Brown | B | Reversing Valve (Heat Pump). Energizes the reversing valve to switch a heat pump to heating mode (less common, used by brands like Rheem/Ruud). |

A diagram showing the standard thermostat wiring color codes and their corresponding terminals A standard thermostat wiring diagram illustrating the common color codes and terminal designations.


CTA Block 1

Get the Right Wire for Any Job

From 18/5 for standard installs to 18/8 for heat pumps, we have the thermostat wire you need to complete any residential or commercial job.

Shop for Thermostat Wire


“The Old Installer’s Trick” - Always Verify!

Never assume the colors are correct. An experienced technician always verifies which wire is connected to which terminal on the HVAC unit’s control board before replacing a thermostat. Take a picture of the old thermostat’s wiring before you disconnect it. If you are unsure, use your multimeter to trace the wires and confirm their function.

What is the “C” Wire?

The “C” or common wire has become much more important with the rise of smart, Wi-Fi-enabled thermostats. Older thermostats were simple switches and didn’t require their own continuous power source. Modern thermostats with digital screens and Wi-Fi radios need a constant supply of 24V power, which the C-wire provides by completing the circuit with the R-wire.

If you are installing a smart thermostat and the existing wiring does not have a C-wire, you may need to run a new thermostat wire or use a C-wire adapter.

A technician pointing to the C-wire terminal on a furnace control board The C-wire terminal on the furnace control board provides a continuous 24V power source for smart thermostats.


CTA Block 2

Upgrade Your Customers to a Smart Thermostat

Offer your customers the convenience and energy savings of a smart thermostat. We carry the latest models from top brands like Honeywell, Nest, and Ecobee.

Shop for Smart Thermostats


Expert Summary: Key Takeaways for Technicians

  • Memorize the Standard: Learn the standard color code (R, W, Y, G, C) as your baseline.
  • Trust but Verify: Never trust the colors alone. Always check the connections at the control board.
  • The C-Wire is Crucial for Smart Thermostats: Always check for a C-wire when installing a modern thermostat.
  • Heat Pumps are Different: Remember that heat pumps use an O or B wire to control the reversing valve.

FAQ Section

Q: What happens if I wire a thermostat wrong? A: Incorrectly wiring a thermostat can cause a range of problems, from the system simply not working to blowing a fuse on the control board or, in a worst-case scenario, damaging the transformer or the thermostat itself.

Q: I don’t have a C-wire. What can I do? A: If there is an unused wire in the thermostat bundle (often the green wire if the fan is not controlled separately), you can repurpose it as a C-wire by connecting it to the C-terminal on both the thermostat and the furnace control board. Otherwise, you will need to run a new wire or use a plug-in C-wire adapter.

Q: What is the difference between Rh and Rc? A: Rh is the 24V power for the heating system, and Rc is the 24V power for the cooling system. In most modern systems with a single transformer, these two terminals are connected by a small jumper wire.


Blog Tags: * HVAC Wiring * Thermostat * Electrical * HVAC Repair * Troubleshooting