Guide

How to Wire a Four-Wire Thermostat

Updated on · By the Automivo team

To wire a four-wire thermostat, connect the R, Y, G, and W wires to matching terminals after switching off HVAC power. Photograph the old connections first, then test heating and cooling separately.

On this page (9 sections)
  1. What do the four thermostat wires control?
  2. What should you check before wiring a four-wire thermostat?
  3. How do you wire a four-wire thermostat step by step?
  4. How do you identify R, Y, G, and W wires?
  5. What can help if the thermostat has no C wire?
  6. When does a wall plate help during thermostat replacement?
  7. What if the new thermostat needs a C wire?
  8. How should you test the thermostat after wiring?
  9. What is the safest way to finish a four-wire installation?

To wire a thermostat 4 wire setup, connect the R, Y, G, and W wires to terminals with the same labels after shutting off power. R supplies 24-volt control power, Y calls for cooling, G controls the indoor fan, and W calls for heat.

A four-wire arrangement is common on conventional heating and cooling systems. It usually does not include a C wire, so check the replacement thermostat's power needs before removing the old unit.

Some models use batteries; see what batteries thermostats use.

What do the four thermostat wires control?

The four wires usually control power, cooling, the fan, and heating. The terminal labels matter more than insulation color because installers may use different colors.

  • R or Rc: 24-volt power from the HVAC control system.
  • Y: cooling equipment call.
  • G: indoor blower fan.
  • W: heating equipment call.

Some thermostats use separate Rc and Rh terminals, while others use one R terminal with an internal jumper. Don't add or remove a jumper unless the thermostat instructions tell you to.

The red, yellow, green, and white color pattern is common, but it is not a guarantee. For more detail on the white conductor, see What Is the White Wire on a Thermostat?.

What should you check before wiring a four-wire thermostat?

Turn off HVAC power and document the old connections before touching the wires. Switch off the system at the thermostat, furnace or air-handler service switch, and the relevant breaker when appropriate.

Remove the thermostat cover carefully. Take a clear photo showing every wire and terminal label, then write the label on each conductor with tape if needed.

Do not rely on wire position alone. A wire may be connected to a terminal that does not match its insulation color, and unused conductors may be tucked behind the wall.

Read the replacement thermostat instructions before disconnecting anything. For the Amazon model, follow the Amazon thermostat installation guide.

For terminal connections, see the Amazon thermostat wiring guide.

If the new thermostat requires a C wire, a four-wire system may need an approved power solution or a different thermostat.

Our Smart Thermostat Wiring: Beginner’s Guide explains terminal labels, common system types, and the checks to make before installation.

How do you wire a four-wire thermostat step by step?

Move one wire at a time from the old terminal to the matching terminal on the new thermostat. Keep the conductors from slipping into the wall and tighten each terminal securely without crushing the wire.

  1. Turn off power to the HVAC system.
  2. Remove the old thermostat cover and photograph the connections.
  3. Label the wires R, Y, G, and W based on their terminal labels.
  4. Disconnect one conductor at a time.
  5. Connect R to R or Rc as the new thermostat instructions specify.
  6. Connect Y to Y, G to G, and W to W.
  7. Check that no bare copper touches another terminal.
  8. Attach the thermostat body and restore power.
  9. Test heat, cooling, and fan operation one at a time.

Keep the thermostat level if the mounting design allows adjustment. Avoid forcing a wire into a terminal that is too small or using a conductor with damaged insulation.

How do you identify R, Y, G, and W wires?

Identify each wire by the old terminal label, not by color alone. The terminal label tells you the control function that the HVAC system expects.

R is commonly red and supplies control voltage. Review the thermostat wire color guide for the other common colors.

If you see one, learn what the brown wire does.

Y is often yellow and calls for cooling.

G is often green and controls the blower fan. W is often white and calls for heat.

If a wire has no visible label, trace it back to the old thermostat terminal only after power is off. Do not guess based on color when the wiring history is unknown.

A conventional four-wire thermostat generally lacks a dedicated C connection. Learn What Is a C Wire on a Thermostat? before replacing it with a smart model.

What can help if the thermostat has no C wire?

A thermostat without a C wire may need an approved 24-volt power solution or a compatible thermostat design. The correct choice depends on the thermostat, HVAC equipment, available outlet, and installation instructions.

A transformer can help when a compatible thermostat needs a separate 24-volt source. It does not replace careful terminal checks, and it should not be connected until you understand the thermostat's wiring diagram.

The BOJACK transformer has a 120 VAC, 60 Hz input and a 24 V/40 VA output. It is designed for screw-down and thread-clamp installation to an electrical box, and the package includes 1 transformer.

Its stated compatibility includes Nest, Ecobee, Sensi, and Honeywell thermostats, along with specified Ring and Nest doorbell models. Confirm the voltage and installation method with your equipment instructions, and use a qualified electrician when working inside an electrical box.

If you want a thermostat that can work without a dedicated C wire, compare Best Smart Thermostat Without C Wire.

When does a wall plate help during thermostat replacement?

A wall plate helps cover old screw holes or marks when the new thermostat has a different footprint. It can also create a cleaner mounting surface when the wall behind the old thermostat is uneven or discolored.

The Spigen plate is made from polycarbonate and includes a metal plate and 4 screws. It uses screw-in installation and has a flush-fit design for the Google Nest Thermostat.

Use it only when its compatibility matches your thermostat. A wall plate does not change the wiring, add a C wire, or correct a wrong terminal connection.

What if the new thermostat needs a C wire?

A four-wire system may need an added adapter when the new thermostat requires continuous power. Check the thermostat's instructions before connecting any adapter, because the correct terminals and included parts vary.

The LIANSUM adapter has a 120 V, 60 Hz, 0.2 A input and a 24 V/500 mA output. Its cable is 315 inches, or 8 meters, and its 2-pin wires are non-polarity.

Its stated compatibility includes Nest 1st and 2nd generation thermostats, Ecobee, Honeywell Smart WiFi, and Sensi models. It specifically excludes the Nest Thermostat 3rd generation, so verify your model before choosing it.

The instructions describe connecting one adapter wire to C and another to Rc, with a diode and Rh-to-Rc connection possibly needed for a cooling system. Keep the adapter unplugged while wiring, switch off the circuit breaker, and follow the thermostat's diagram exactly.

How should you test the thermostat after wiring?

Test the fan, cooling, and heating separately after restoring power. For Braeburn-specific controls, see how to set a Braeburn thermostat.

Give each call time to reach the equipment, and check that the thermostat display and HVAC response match the selected mode. For Carrier controls, follow the Carrier thermostat setup steps when selecting modes and setpoints.

Set the fan to On briefly to confirm blower operation. Then return it to Auto and test cooling, followed by heating after the system has had time to stop the previous call.

If the system does not respond, switch power off again before checking connections. Look for a loose conductor, a wire in the wrong terminal, a missing jumper required by the thermostat, or a power method that does not match the equipment.

If your system is a heat pump, use How to Wire a Smart Thermostat for a Heat Pump? because heat-pump terminals and reversing-valve controls differ from conventional systems.

What is the safest way to finish a four-wire installation?

Match terminal labels, secure every conductor, and stop when the system type or power requirements are unclear. Pick the BOJACK transformer when a compatible 24 V/40 VA transformer suits the installation, the Spigen plate when a Google Nest Thermostat needs a covered mounting area, or the LIANSUM adapter when its model compatibility and 8-meter cable fit your setup.

A four-wire thermostat is usually straightforward when the old labels are clear. If you see an unfamiliar terminal, line-voltage wiring, damaged conductors, or heat-pump equipment, use the correct wiring guide or contact an HVAC professional before applying power.

Frequently asked questions

What are the four wires on a thermostat?

A conventional four-wire thermostat commonly uses R for 24-volt power, Y for cooling, G for the indoor fan, and W for heat. Wire colors often follow this pattern, but terminal labels are more reliable than color, so photograph and label each connection before removing anything.

Can I install a smart thermostat with only four wires?

Sometimes. A four-wire setup may control heating, cooling, and the fan, but many smart thermostats also need a C wire for continuous power.

Check the thermostat's wiring requirements and your HVAC system before buying; a compatible power adapter may be another option.

Is it safe to wire a thermostat myself?

Low-voltage thermostat wiring is often manageable when the system is switched off and the existing connections are clear. Stop if wires are damaged, terminals are unclear, or the equipment uses line voltage.

An HVAC professional should handle uncertain wiring or electrical work.

What happens if thermostat wires are connected incorrectly?

Incorrect connections can stop heating, cooling, or fan control and may damage low-voltage components. Turn off the HVAC breaker or service switch before correcting wires, keep each conductor on its matching terminal, and follow the equipment and thermostat instructions.