How to Wire a Thermostat (2024)

Jump to Specific Section

  • Thermostat Wiring Tips
  • Take Off Existing Control Panel
  • Locate the Common Wire
  • Connect the New Thermostat

1

Thermostat Wiring Tips

How to Wire a Thermostat (1)

To install your unit, you’ll need to connect the correct wires to the corresponding terminals on the back of your new thermostat. Here is the industry standard color code for thermostat wires used for most systems:

  • The W wire is connected to your heating system. If your thermostat controls your heat, you will have a white wire.
  • The Y wire is yellow and connects to your air conditioning compressor.
  • The G wire is green and connects to the fan.
  • Rc and Rh: The red wire(s) are the power source for your thermostat. If your thermostat is dedicated to air conditioning only, it will have a red Rc wire. For heating and cooling systems, it will have a red Rc and a red Rh wire. Though both wires are red, they are not interchangeable. For the thermostat to work properly, the red wires must be connected to the correct corresponding terminal.
  • The C, or common wire, provides smart thermostats with continual power. It’s usually blue, but it may also be black, brown or purple.
  • The O or orange wire connects to your heat pump (if applicable).

While it’s important to know these industry standards, your wiring may be different. Use this guide as a reference only. If you are unsure about any wiring to your thermostat, contact a professional electrician.

Tip: The terminal letters can be very small, so use a magnifying glass to make them easier to see.

2

Take Off Existing Control Panel

How to Wire a Thermostat (2)

Once you understand wiring, it's time to prepare to install your new thermostat. First, turn your existing thermostat to the OFF position. Wait for any cooling or heating to stop, then turn off the power to your HVAC system at the main breaker box. Remove the faceplate or control panel of your thermostat according to the user’s manual to reveal the wires. Do not remove the rest of the thermostat from the wall or remove the wiring at this point.

3

Locate the Common Wire

How to Wire a Thermostat (3)

Look for a wire connected to a terminal labeled with a “C” on the thermostat. If you have one, that’s your c-wire, and you’re ready for general installation.The common wire, sometimes referred to as the c-wire, is what’s responsible for delivering constant power to your thermostat. For programmable and smart thermostats, c-wires are required for setting a heating or cooling schedule. While some units can run without a c-wire, most brands suggest having one for optimal function.

If you don’t have a “C” wire:

  • Check the area behind the thermostat to see if a c-wire was tucked into the wall by your electrician or the installer. Many older thermostats did not need c-wires, but they were available for use.
  • Check your furnace to see if you have one. You may find a c-wire connection and lead. This means that you do have a c-wire, but you need to find the end of the lead near your thermostat.

If you can’t find the c-wire or need help with the difference between a 4-wire thermostat and a 5-wire thermostat, call a professional electrician. Or look for thermostats that specifically say they do not require a c-wire to operate. Keep in mind that choosing a model that doesn’t require a c-wire will limit your choices and overall functionality.

4

Label & Disconnect the Wires

How to Wire a Thermostat (4)

Identify and label the wiring in your existing thermostat before you disconnect the wires:

  • Take a picture of your current wiring scheme. Check to see if they match the industry standard listed in Step 1. If they do, you can use that as your guide to connect your new thermostat. If not, make your own list with a pencil and paper, and label each wire with a strip of painter’s tape and a permanent marker.
  • Disconnect the wires and the corresponding mounting screws. The back plate from your thermostat should come free. Tape the wires to the wall with painter’s tape so they don’t fall in the hole while you prepare your new thermostat.

Tip: In some cases, you may need to remove the old anchors. Repair the drywall with a patch to ensure a secure fit when installing your new thermostat.

5

Connect the New Thermostat

How to Wire a Thermostat (5)

Place the plate of your new thermostat against the wall where it will be located. Check the plate with a level, and mark the screw holes with your pencil.

  • If applicable, drill guide holes before adding anchors to the wall.
  • Pull the wires through the opening of the thermostat’s backplate.
  • Attach the back plate to the wall with the provided screws. Check to make sure the thermostat is secure.
  • Reconnect the wires according to the industry standard color codes or your unit-specific notes from Step 4. Double check that they’re connected in the right place. If necessary, refer to the photo you took of the old wiring scheme or the instructions that came with the thermostat.
  • Replace the thermostat cover.
  • Turn the HVAC power back on at the main breaker. Follow the manufacturer’s instructions to connect to Wi-Fi and set up user programs.

Tip: Before you connect the wires to the new thermostat, check them for wear. Wrap them with electrical tape if they look worn out.

Installing a new programmable or smart thermostat makes it more convenient to control your home's comfort system. It’s a fairly straightforward DIY project, and simple to do with the right information. Checking for the common wire and mapping out your existing thermostat wires are key to a frustration-free installation. To find everything you need to make installing your new thermostat a breeze, use The Home Depot Mobile App to locate products and check inventory. We’ll take you to the exact aisle and bay.

How to Wire a Thermostat (2024)

FAQs

What color wire goes where on a thermostat? ›

Thermostat Wiring Tips

If your thermostat controls your heat, you will have a white wire. The Y wire is yellow and connects to your air conditioning compressor. The G wire is green and connects to the fan. Rc and Rh: The red wire(s) are the power source for your thermostat.

Does the R wire go to RC or RH? ›

If you have two wires, R or RH go into the R terminal and RC into the RC terminal. If you have more than one wire (for example, you have a wire labeled R and another wire labeled Rc), remove any jumpers between the R and Rc terminals or push the switch to open the RC terminal to insert a wire.

How do I know which wires go where on a thermostat? ›

Thermostat Wire Color Coding
  1. Red Wire is a part of every type of thermostat. ...
  2. White Wire is used for heating. ...
  3. Green Wire is for an indoor fan. ...
  4. Yellow Or Blue Wire is for cooling. ...
  5. Black (Or Blue) Wire is the so-called C wire, or common wire.
Oct 20, 2022

What happens if you wire a thermostat wrong? ›

Unsupported wires that are installed incorrectly can damage your thermostat or your system.

How many wires go to my thermostat? ›

A basic thermostat that would be used with an HVAC typically requires 4 wires (power, ground, heating, and cooling), but a more advanced thermostat may require additional wires.

What is the OB wire on a thermostat? ›

The O wire reverses the valve from heating to cooling, and the B wire switches the valve from cooling to heating. Sometimes it might be a single O/B wire instead of two separate wires. X, AUX: Some heat pump systems can provide auxiliary heat.

What color is C wire? ›

Blue Or C Wire

The blue wire—also called the C, or “common,” wire—is required to power any thermostat and ensure proper system function. Your HVAC system and thermostat configuration will determine what color the C wire will be. The C wire in homes with a heat pump is always blue.

Do I use R or RC on a thermostat? ›

There is no standard for the color of the RH wire, but most units use a red one. The RC wire, on the other hand, refers to “red cooling”. It's the same with the RH wire in that it powers the thermostat. For the RC, it powers the cooling system.

Do I need a jumper between RH and RC? ›

Instead of using jumper wires, Nest Learning Thermostats use an internal jumper between the Rh and Rc connectors. A Nest Learning Thermostat will automatically use this internal jumper if your system needs it. Important: Never put more than one wire into a Nest thermostat connector.

What color wire goes to RH? ›

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.

Can I install thermostat without C wire? ›

While your thermostat may not technically need a C-wire to operate, it gets the power for its screen and Wi-Fi capabilities through “phantom power” or “power stealing.” Basically, this means your thermostat gets a kick of extra power whenever your HVAC system is running.

Can I use thermostat without C wire? ›

There may be a few smart thermostat models that don't require a C wire and can operate with batteries. You should always ensure proper wiring as needed for your HVAC system and corresponding thermostat (with or without a C wire).

What colors go where on a thermostat? ›

Blue or Black (C): The Unsung Hero
Wire ColorTerminalFunction
Red (Rh)Power24-volt power supply for heating
White (W)HeatHeating system activation
Yellow (Y)CoolCooling system activation
Orange (O)Heat/CoolReversing valve control (for heat pumps)
3 more rows
Sep 6, 2023

How to wire a 4 wire thermostat? ›

In general, the heating wire (often white), goes into the “W” port, the cooling wire (often yellow), goes into the “Y” port, the wire that sends power from the HVAC system to the thermostat (often red), goes into the “R” port, the fan wire (often green), goes into the “G” port, and the common wire (often blue), which ...

What are the 5 thermostat wires? ›

This configuration includes a 24-volt red wire for power, a white wire for the heating elements, a yellow wire for the AC unit, a green wire for the fan component, and a common wire which is most likely blue but could be a different color.

Where does the black wire go on a thermostat? ›

As shown in the diagram, you will need to power up the thermostat, and the 24V AC power is connected to the R and C terminals. The color of wire R is usually RED and C is BLACK. C is known as the common terminal. These two connections will ensure that there is power to the thermostat that you are operating.

Top Articles
Latest Posts
Article information

Author: Reed Wilderman

Last Updated:

Views: 5467

Rating: 4.1 / 5 (72 voted)

Reviews: 87% of readers found this page helpful

Author information

Name: Reed Wilderman

Birthday: 1992-06-14

Address: 998 Estell Village, Lake Oscarberg, SD 48713-6877

Phone: +21813267449721

Job: Technology Engineer

Hobby: Swimming, Do it yourself, Beekeeping, Lapidary, Cosplaying, Hiking, Graffiti

Introduction: My name is Reed Wilderman, I am a faithful, bright, lucky, adventurous, lively, rich, vast person who loves writing and wants to share my knowledge and understanding with you.