Skip to Main Content Skip to Footer Content

Our Blog

DIY Tips

Thermostat Wire Color Code Guide

Close-up of handyman working on thermostat.

Last updated: May 2025

Reviewed: by our team of HVAC professionals

Whether you’re trying to fix your thermostat or installing a new smart thermostat, this thermostat wire color code guide will help you avoid some common DIY wiring problems. However, please note that this article references the most common thermostat wire colors used. Your thermostat may contain different colored HVAC thermostat wires. If you have any doubts, request professional thermostat installation.

Below are the common thermostat wire colors:

How Do You Identify Thermostat Wires?

Before identifying your HVAC thermostat wires, turn your HVAC unit and thermostat off. Do this by switching the circuit breaker to the ‘off’ position. Once the power is off, remove the front cover from the thermostat. While old thermostat wiring doesn’t always adhere to color-coding trends, most newer units do. These wires are typically labeled on the HVAC unit with a series of letters indicating what each wire does. Letters correspond to the color of the wire. Here is a quick summary of the different color wires and what each one does.

The White Wire

The white wire on your thermostat connects to your heating system. It connects your thermostat to your air handler or furnace. The white wire connects to terminal W in most industry-standard thermostats. If your HVAC system has multiple heating stages, then you may find more than one white wire.

Yellow Wires

The yellow wires on your thermostat connect to your compressor. They control your air conditioning system by turning the compressor on and off. The yellow wires connect your thermostat to your compressor contactor via the air handler. The yellow wires connect to the Y terminals on your thermostat.

The Green Wire

The green wire on your thermostat connects to the fan of your furnace or air handler. It connects your thermostat to the air handler or furnace. The green wire connects to terminal G on your thermostat.

The Orange Wire

The orange thermostat wire connects to your heat pump if you have one. It connects your thermostat to your outdoor condenser to reverse valve operations from hot to cold. The orange wire connects to terminal O on your thermostat.

The orange wire only applies to homeowners who have an air-source heat pump. Only air-source heat pumps connect to your outdoor condenser. Homeowners with geothermal heat pumps can disregard the orange wire.

Red Wires

Red wires are ‘hot’ because they connect to the power source. You may see an Rc and/or an Rh wire. This wire will supply power to your thermostat.

The Rc Wire

The Rc wires on your thermostat are for air conditioning systems or dual transformer systems. Dual transformer systems refer to a setup with a cooling and heating transformer. Rc wires connect to the RC terminals on your thermostat.

The Rh Wire

The Rh wire on your thermostat connects to your heating system as opposed to your cooling system.However, if you have a dual transformer setup, this wire may just be labeled as ‘R’ without an ‘h’ included. The Rh wire connects to the RH terminal on your thermostat.

The Blue or C Wire

Blue wires (‘B’) are also called C wires because they are common wires. C wires are necessary for any smart thermostat that requires a 24/7 power source, regardless of type of heat pump you have. (Make sure to choose a thermostat that is compatible with your specific heat pump.)

C wires, whether blue or other color, may apply to every thermostat, but blue C wires are primarily used for thermostats that are attached to a heat pump. This wire connects to terminal B on your thermostat.

Yes, thermostat color wiring can be confusing, which is why it’s best to leave this task to an expert, especially if you're feeling uncertain about where to connect each wire.

Does Thermostat Wire Color Matter?

Yes, thermostat color code wiring does matter a great deal. The color coding indicates which wire goes to which port. In some cases, the color of the wire doesn’t necessarily mean it connects to the same color on the board. This may be the case when the wires have been swapped (on either end) or if there’s a splice in the wire that is incorrectly matched to a specific color.

What Happens if You Wire a Thermostat Incorrectly?

While HVAC thermostat wires seem fairly straightforward, there are several configurations to keep in mind when installing your new thermostat. Depending on the HVAC system you have, it may allow you to use a simple mechanical or digital room thermostat. Depending on the amount of control you want, you can install a thermostat that is simply designed for climate control or one that is a multi-system communicating thermostats.

If you’re considering replacing or installing a thermostat yourself, you’ll need some basic electrical knowledge and a general understanding of the equipment you’re using. Even armed with these, you may struggle to wire a thermostat correctly. Novice installers may blow a circuit breaker or experience electric shocks. If you wire a thermostat wrong, you may damage the thermostat, the electrical system, or the HVAC unit itself, which makes the entire installation process more frustrating. You may find yourself testing thermostat wires for hours, trying to get them right.

Trust Aire Serv for Your Thermostat Wiring

There is one sure-fire way to ensure your thermostat functions reliably, hire a professional for thermostat installation. In some cases a thermostat manufacturer will void the warranty if the installation is not performed by a professional. While the warranty might not seem like a big deal, it does offer protection against defects and malfunctions. Should your thermostat suddenly stop working, you can avoid paying out of pocket for any repairs or replacement if covered under the warranty.

Your local Aire Serv team wants you to help you get the best performance from your HVAC unit. Professional HVAC installation, repairs, and maintenance can improve comfort, energy efficiency, and reliability. The next time you’re in the market for a new thermostat, skip the complicated HVAC wiring diagram thermostat and call the professionals instead. We work night and day to ensure we’re there when you need us most for your heating and cooling needs.

Call us or request an appointment online to get started.

Disclaimer

This article is intended for general informational purposes only and may not be applicable to every situation. You are responsible for determining the proper course of action for your home and property. Aire Serv is not responsible for any damages that occur as a result of this blog content or your actions. For the most accurate guidance, contact the Aire Serv location nearest you for a comprehensive, on-site assessment.

FAQs About Thermostat Wiring Colors

As an industry leader and a brand that is trusted by homeowners and businesses nationwide for our knowledge and experience, we’re happy to answer your HVAC questions. Here are answers to some of the frequently asked questions about thermostat wiring colors.

Why are there different colored wires on a thermostat?

The different colors of thermostat wiring serve as a standardized system for identifying the specific function of each wire. Color coding is a simple way to ensure correct connections during installation, troubleshooting, and repairs. It can help prevent miswiring and potential damage to the system.

Why don’t my wire colors match the standard thermostat wiring guide?

Variations do exist with HVAC wire colors. That’s why it’s important to refer to the thermostat cable color codes guide provided by the company that installed your thermostat. Here's what to do if your air conditioner wire colors don’t match the standard referenced:

  • Consult wiring diagrams: The most reliable source is the wiring diagram included with your thermostat and HVAC equipment. It should have been provided by the company that installed the thermostat.
  • Label carefully: Before disconnecting any thermostat wiring, meticulously label each wire with its corresponding terminal letter on the old thermostat. Use masking tape and a permanent marker.
  • Take pictures: Take clear photos of the existing wiring configuration before making any changes.
  • Trace wires: If diagrams are unavailable, you may need to carefully trace the wires from the thermostat to the control board of your furnace or air handler to identify their functions. However, mapping thermostat wires is not recommended for non-professionals.

While these troubleshooting tips can be handy, they are also precarious for inexperienced homeowners. It’s always best to let a qualified service professional review your wiring and diagnose any problems you're having with your HVAC equipment.

What color is the C-wire on the thermostat?

The thermostat common wire, also known as the C-wire, is the blue wire on the thermostat. The C-wire provides a constant 24VAC power supply, which many smart thermostats require to operate features like Wi-Fi connectivity, touchscreens, and advanced scheduling. Without a C-wire, these thermostats might not function correctly or might draw power intermittently from other wires, potentially causing system issues.

If there is no blue wire in your thermostat, contact a service professional to evaluate your system.

What is the orange wire on the thermostat?

The orange wire on a thermostat is typically used in heat pump systems. Its primary function is to control the reversing valve to facilitate heating and cooling functions.

The essential functions of the orange wire include:

  • Heat pump reversing valve: The reversing valve is responsible for alternating the flow of refrigerant, allowing the system to switch between heating and cooling modes.
  • Cooling mode: When your thermostat calls for cooling, the orange wire (connected to the O terminal on some thermostats) sends a signal to energize the reversing valve, directing the refrigerant flow for air conditioning.
  • Heating mode: If the reversing valve is energized for heating instead of cooling, the orange wire will be connected to a B terminal on the thermostat (though blue is more common for this function in modern thermostats, and some thermostats use an O/B terminal that can be configured). When the thermostat calls for heat, this wire signals the reversing valve to move to the heating position.

Where can I find a thermostat wiring guide for my thermostat and HVAC system?

If you’re unfamiliar with thermostat wiring and don’t have electrical experience, you should hire a professional to assist with thermostat repair. However, there are places you can find a guide for thermostat wiring colors:

  • Thermostat manual: The wiring diagram is usually included in the thermostat's installation manual.
  • HVAC unit manuals: Check the manuals for your furnace, air conditioner, or heat pump. Wiring diagrams are also often found inside the control panel access doors.
  • Online resources: You can often find manuals and wiring diagrams by searching the model numbers of your thermostat and HVAC equipment.
  • Manufacturer websites: Many thermostat and HVAC equipment manufacturers provide downloadable manuals and diagrams.

When should I call an HVAC service professional for thermostat wiring?

It's always best to consult a qualified HVAC professional if you:

  • Are uncomfortable working with electrical wiring.
  • Encounter wiring that doesn't match standard color codes or your diagrams.
  • Are unsure about the function of a particular wire.
  • Experience any issues while installing a thermostat.
  • Suspect existing wiring problems.

How do I identify thermostat wires if the colors are dirty or faded?

Carefully clean the wire ends. If the color is still indistinguishable, try tracing the wire back to the terminal it was connected to and note the terminal label (e.g., R, Y, G, W, C, O/B).

If you’re still unable to identify which wires attach to specific terminals, it's best to contact a professional. A DIY mistake could damage your thermostat or HVAC system.

Let Us Call You

By checking this box, I agree to opt in to receive automated SMS and/or MMS messages from Aire Serv, a Neighborly company, and its franchisees to the provided mobile number(s). Messages & data rates may apply. Message frequency varies. View Terms and Privacy Policy. Reply STOP to opt out of future messages. Reply HELP for help.

By entering your email address, you agree to receive emails about services, updates or promotions, and you agree to the Terms and Privacy Policy. You may unsubscribe at any time.

About Aire Serv

A closeup of an Aire Serv business card.

At Aire Serv, we strive to keep the air in which we live and breathe comfortable and clean, so people live healthier, happier lives. Since 1992, our brand has stood for excellence and putting customers first. When you see the name Aire Serv, you can expect quality services and customer attention. With over 200 locations across the United States and Canada, Aire Serv is a trusted name in the field of heating and air conditioning installation, maintenance, and repair.

Learn More

Find an Aire Serv Near Me

Let us know how we can help you today.

*Indicates a required field

Call us at (877) 231-7564
Neighborly branded van.