Guide

How to Wire a 4 Wire Thermostat

Updated on · By the Thermostat Home team

To wire a 4 wire thermostat, turn off HVAC power, label each wire, and connect it to the matching terminal on the new thermostat. Most four wire setups use R, G, Y, and W, but you should confirm each wire's job before restoring power.

On this page (8 sections)
  1. What do the four wires on a thermostat usually control?
  2. How should you prepare before you wire a 4 wire thermostat?
  3. Where does each wire go on a 4 wire thermostat?
  4. What should you do with Rc and Rh terminals?
  5. Do you need a C wire with a four wire thermostat?
  6. How does wiring change for heat pump or heat only systems?
  7. Can you connect a smart thermostat to four wires?
  8. What checks should you make after wiring a 4 wire thermostat?

To wire a 4 wire thermostat, turn off HVAC power, label each wire, and connect it to the matching terminal on the new thermostat. Most four wire setups use R, G, Y, and W, but you should confirm each wire's job before restoring power.

This guide walks through the common terminal layout, safe prep steps, and power checks. You'll also see when a four wire setup needs extra attention, such as a missing C wire or separate Rc and Rh terminals.

Before you touch any wiring, make sure the replacement thermostat works with your heating and cooling system. The labels on your old thermostat and your system manual matter more than wire color alone.

What do the four wires on a thermostat usually control?

Most four wire thermostat cables carry power, fan, cooling, and heating signals. In a common conventional system, those wires land on R, G, Y, and W terminals.

The exact job can vary, so the terminal labels on your old thermostat are the best place to start.

R usually brings 24-volt power from the HVAC system. G controls the fan, Y signals cooling, and W signals heating.

These roles are common, but they are not guaranteed by wire color.

In many homes, red is used for R, green for G, yellow for Y, and white for W. Treat that pattern as a helpful clue, not proof.

If the labels are faded or the colors don't match what you expect, pause before removing wires. The guide How to Identify Thermostat Wires: Quick Fixes can help you confirm each conductor before you move it to the new thermostat.

You should also check whether any wire is unused or tucked into the wall. An extra conductor can matter later for power or smart thermostat features.

For now, focus on recording what each connected wire does in your current setup.

How should you prepare before you wire a 4 wire thermostat?

The safest way to prepare is to cut power, confirm the system is off, and record the old wiring. A few minutes of prep can prevent short circuits, blown fuses, and confusing wire mixes.

It also makes the new thermostat easier to install.

Turn off power and confirm it is off

Turn off power at the breaker or the HVAC service switch before removing the thermostat cover. Then try changing the temperature or fan setting on the old thermostat to confirm the system does not respond.

Don't rely on the thermostat screen alone, because some displays can stay on with battery power. Wait until you're sure the heating and cooling equipment is fully off before touching any wires.

Label wires and take a photo

Take a clear photo of the old terminal block before you disconnect anything. Use the labels that came with the new thermostat, or tape labels, to mark each wire by its terminal letter.

Pull wires gently so they don't slip back into the wall, and keep them separated until you're ready to connect them. A simple photo and clear labels can save a lot of time during reinstallation.

Where does each wire go on a 4 wire thermostat?

Each wire should go to the terminal with the same letter it used on the old thermostat, unless your new thermostat manual says otherwise. Matching letters is the normal starting point for a four wire setup.

The terminal names matter more than the wire color.

Match terminals one wire at a time

Connect one wire at a time so the layout stays clear. Insert R into the R or Rc terminal as directed, G into G, Y into Y, and W into W.

Tighten each terminal screw or clamp so the bare copper is secure, but don't overtighten and damage the conductor.

After all four wires are seated, give each one a gentle tug. A wire that slips out can cause the fan, heating, or cooling to stop working.

Keep the wire ends neat so they don't touch neighboring terminals.

If your old thermostat had a jumper between Rc and Rh, check whether the new thermostat includes one or handles it internally. That detail depends on the model, so follow the installation instructions that came with it.

What should you do with Rc and Rh terminals?

If your new thermostat has separate Rc and Rh terminals, check whether you have one power wire or two. Many four wire systems use one R wire that feeds both heating and cooling.

In that case, the thermostat may need a jumper or a built-in setting.

Some thermostats ship with a jumper between Rc and Rh, while others use a single R terminal. If you only have one R wire, connect it to the terminal your manual specifies and keep the jumper in place unless the instructions tell you to remove it.

A missing jumper can leave part of the system without power.

If you're replacing a thermostat and only see one R wire, don't create a second one. Use the terminal setup your new thermostat supports and keep the wiring simple.

If you see two separate power wires, one red wire may go to Rc and another to Rh. That setup is less common in a simple four wire cable, but it can appear in other wiring layouts.

For a clear breakdown, see Rc vs Rh thermostat wiring.

Do you need a C wire with a four wire thermostat?

Many four wire thermostats work without a C wire, but some smart models need one for steady power. Traditional thermostats often run well on R, G, Y, and W.

The C wire, when present, completes the 24-volt power circuit.

If you want the basics first, What Is a C Wire? A Guide for Homeowners explains why that extra conductor matters.

Wire color can also be confusing, so What Color Is the C Wire on a Thermostat? can help you check what you're seeing.

Look behind the thermostat for an unused fifth conductor in the cable. If one exists, you may be able to connect it as C at the thermostat and at the HVAC control board.

Only do that if you can confirm the same wire at both ends.

If there is no spare wire, don't guess. Some thermostats offer adapter options, while others work best with a new cable.

Your thermostat manual should list the approved power options for your system.

How does wiring change for heat pump or heat only systems?

A four wire setup can look different when the system is a heat pump or heat only unit. The terminal letters may be similar, but their jobs can change.

That's why system type matters as much as wire count.

For a heat pump, a wire that looks like W on an old thermostat may serve a different role, or you may see an O or B wire for the reversing valve. If your system uses a heat pump, follow the dedicated steps in how to wire a heat pump thermostat before you connect anything.

For a heating-only system, the wiring is often simpler, but you should still match the labels carefully. If your setup has no cooling wire, the guide on how to wire a heat only thermostat is a better fit than a standard four wire heating and cooling layout.

When the old labels don't match the new terminal names, the thermostat manual usually includes a conversion chart for common system types. When you're unsure which system you have, check the equipment labels or the old thermostat settings before finishing the install.

Can you connect a smart thermostat to four wires?

You can sometimes connect a smart thermostat to four wires, but you need to confirm its power requirements first. Many smart thermostats prefer a C wire for steady power.

Without it, some models work with an adapter or power sharing, while others may not be a good match.

If you're installing a specific model, follow the manufacturer's instructions closely. For example, the steps for how to wire an Amazon Smart Thermostat show how model-specific wiring and app setup can affect the installation.

If your cable has no spare conductor and your thermostat needs one, pulling a new cable may be the cleanest fix. A guide to 18/5 thermostat wiring can help you understand when a five conductor cable makes sense for future upgrades.

Before buying or installing a smart thermostat, check compatibility with your HVAC system. A four wire cable is only one part of the picture, and power needs can change the plan.

What checks should you make after wiring a 4 wire thermostat?

After wiring, restore power and test heating, cooling, and fan modes one at a time. This final check confirms that each terminal is doing its job.

It also helps you catch a loose wire before you close the wall plate.

Test heating, cooling, and fan

Turn the breaker back on and wait for the thermostat to start up. Set the fan to on and listen for airflow, then test cooling and heating with a small temperature change.

Give the system a few minutes between tests so you don't confuse a normal delay with a wiring problem. If your thermostat has a setup menu, confirm the system type matches what you have before you finish.

If something doesn't respond, turn power off again before opening the thermostat. Recheck the wire labels, terminal seating, and any jumper settings.

Most problems come from a loose connection, a wire on the wrong terminal, or a system setting that doesn't match the equipment.

Once everything runs correctly, push excess wire gently back into the wall and secure the thermostat. Taking your time with these checks is the best way to finish learning how to wire a 4 wire thermostat safely and confidently.

Frequently asked questions

Can I wire a 4 wire thermostat myself?

You can wire a 4 wire thermostat yourself if you're comfortable turning off power, labeling wires, and following the thermostat manual. The key steps are matching each wire to the correct terminal and testing the system after installation.

If the wiring labels look unclear or your system has unusual terminals, a qualified HVAC technician can confirm the setup.

What are the four wires on a thermostat?

The four wires on many conventional thermostats are R, G, Y, and W. R usually carries 24-volt power, G controls the fan, Y controls cooling, and W controls heating.

Wire colors often follow this pattern, but labels at the old thermostat and control board are more reliable than color alone.

Do 4 wire thermostats have a C wire?

Many 4 wire thermostats do not have a C wire because the four conductors are used for power, fan, cooling, and heating. Some smart thermostats need steady power from a C wire.

If your cable has an unused conductor, you may be able to use it as C after checking both ends.