Basement to Roof

Heating and Cooling

Thermostat Wiring and Install: Wire Colors and Terminal Letters

Updated

A wall thermostat is a low-voltage switch: it runs on 24 volts from a small transformer at the furnace or air handler, and a swap usually takes less than an hour. Two things cause most of the trouble: assuming wire colors mean something they don't, and buying a thermostat that doesn't match the system.

Before You Buy Anything

Check what kind of system you have. Pull the old thermostat off its base and look at the wires and terminals. Window units and a ductless mini-split run on their own built-in controls or remotes, so none of the wiring below applies to them.

  • Two thick wires, often with wire nuts, connected to baseboard heaters or wall heaters: This is a line-voltage thermostat running 120 or 240 volts. This page doesn't cover it, and a standard smart thermostat won't work on it. It also carries enough voltage to hurt you.
  • Two thin wires to a gas wall furnace or fireplace with no electrical connection: This is a millivolt system. It needs a thermostat rated for millivolt use.
  • Three to eight thin wires on terminals labeled R, C, W, Y, G, O/B: This is a standard 24-volt system. Almost any thermostat on the shelf will work with it, and this is the case this page covers.
  • Four wires on terminals that don't use the normal letters, with a Trane XL1050, ComfortLink, or Link UX360 on the wall: This is a communicating system. The thermostat and equipment trade data, not simple on/off signals. A store-bought thermostat either won't run it or will lose variable-speed and zoning features. Replace these with a compatible Trane control through a dealer.

Take a photo of the wiring before disconnecting anything. This step prevents more service calls than any other.

Thermostat Wire Colors and What They Usually Mean

Wire colors are a habit, not a code requirement. Installers use whatever conductor is handy, and plenty of homes have a blue wire on the Y terminal or a black wire for R. The terminal letter tells you what a wire does. The color doesn't. Label each wire by the terminal it came off, and check the other end at the furnace or air handler if anything looks odd.

Terminal Usual color What it does
R Red 24-volt power from the transformer
Rh / Rc Red Separate power for heating (Rh) and cooling (Rc). Most systems have one transformer, and a jumper between Rh and Rc handles it
C Blue or black (sometimes brown) Common. The return side of the 24-volt circuit, which gives a smart thermostat steady power
W / W1 White Heat, first stage. On a furnace this is the burner; on a heat pump it's usually the backup heat
W2 Brown or other Heat, second stage
Y / Y1 Yellow Cooling compressor, first stage (also heat pump compressor)
Y2 Light blue or other Compressor second stage
G Green Indoor blower fan
O/B Orange (O) or dark blue (B) Heat pump reversing valve. O energizes in cooling, B energizes in heating
AUX / E Various Heat pump auxiliary or emergency heat
L Various Fault light from some heat pumps
S1 / S2 Various Remote or outdoor temperature sensor

A few warnings:

  • Blue is the most confusing color. It might be C, it might be B on a heat pump, and it might be a spare. Trace it to the equipment before you assume.
  • Most heat pumps, including Trane and American Standard, use O. A few brands use B. If the heat pump blows cold air in heat mode, this setting is almost always the cause.
  • A wire tucked back into the wall that isn't connected to anything is often an unused C wire. Check whether it connects at the furnace end.

What You'll Need

  • The new thermostat (check its compatibility list against your terminals)
  • A small flat-blade and Phillips screwdriver
  • A wire stripper (if the copper ends are corroded or nicked)
  • A level, a drill and anchors if the new screw holes don't line up
  • Painter's tape and a marker to label wires
  • A small piece of electrical putty or a dab of caulk to seal the wall hole

Thermostat cable, if you need to run new wire: 18-gauge solid copper, sold as 18/5 (five conductors) or 18/8. Run 18/8 if you're pulling new wire at all. The extra conductors cost little and cover future equipment.

How to Install a Thermostat, Step by Step

1. Shut off power. Turn off the breaker for the furnace or air handler, or the service switch on or near the unit. It looks like a light switch. Don't rely only on setting the thermostat to off. A brushed R and C will blow the 3- or 5-amp fuse on the furnace control board, and that turns a one-hour job into a service call.

2. Remove the old thermostat and photograph the wiring. Note which wire is on which terminal, and whether there's a jumper between Rh and Rc.

3. Label every wire by terminal letter. Wrap tape around each one and write the letter from the old terminal, not the color.

4. Look for a C wire. If there's a C wire, you're set. If there isn't one, see the section below before going further.

5. Disconnect the wires and remove the old base. Wrap the cable around a pencil so it can't slip back into the wall. An old thermostat with a glass bulb has mercury in it. Take it to a hazardous waste drop-off or a hardware store that collects them. Don't throw it in the trash.

6. Mount the new base. Pull the cable through, level the base, and screw it to the wall. Fill the hole in the wall behind it with putty. Air from inside the wall cavity will throw off the temperature reading. This one detail fixes a lot of complaints about a thermostat reading wrong.

7. Connect the wires. Strip about ¼ inch of bare copper if the ends are damaged. Insert each wire fully into its terminal so no bare copper touches the next one. If the old thermostat had a single R wire and the new one has Rh and Rc, follow the manual. Most bases have a built-in jumper or put R on Rc.

8. Push the excess cable back into the wall and attach the faceplate.

9. Restore power and run setup. The setup will ask about the equipment: gas or electric furnace, heat pump, stages, and the O/B setting. Answer from what's actually wired, not what the manual assumes.

10. Test every mode. Run heat, cool, and the fan one at a time: - Fan: The blower should start within a few seconds. - Heat: A gas furnace takes 30 to 90 seconds to light and then start the blower. A heat pump should blow warm air within a few minutes. - Cool: The outdoor unit should start, but many thermostats hold the compressor off for up to five minutes after power-up to protect it. Wait it out before deciding something is wrong. If the outdoor unit still sits idle after that wait, work through central AC troubleshooting by symptom before calling for service.

No C Wire? Your Options

Most smart thermostats need constant power from a C wire. Without it, some try to "power steal" through the heat or cooling wires, which can cause clicking, short cycling, or a blower that won't shut off.

  • Unused wire in the cable: Connect it to C at the thermostat and to the C terminal on the furnace control board. This is free and the best fix.
  • Adapter kit: Some thermostats include one, and stand-alone kits run about $20–$80. It mounts at the furnace and frees up a wire. Many ecobee models include one in the box.
  • New thermostat cable: A pro typically charges $120–$200 to run new wire, depending on how hard the path is.
  • A thermostat that doesn't need C: Battery-powered programmable models and a few smart models work without one, with tradeoffs.

The G-wire trick (moving the fan wire to C) is common online. It works, but you lose separate fan control. That's fine for some homes, but know the tradeoff.

Trane Thermostat Troubleshooting

Trane's current lineup is going through changes. The XL824 is still supported but is being phased out for new installs in favor of the Priority Smart Thermostat, and the XR724 is being replaced by the Trane Choice Smart Thermostat. The XL1050 and Link UX360 are made for Trane's communicating variable-speed equipment. The troubleshooting steps below apply to most of them.

Blank screen

Work through these in order:

  1. Batteries. Some Trane models run on batteries or use them as backup. Replace them first.
  2. Breaker and service switch. Check that the furnace or air handler has power.
  3. Furnace door. The blower compartment has a safety switch under the panel. If the door isn't seated fully, the whole system, thermostat included, goes dead.
  4. Condensate float switch. This is the most common cause in summer. When the AC drain backs up, a float switch at the drain pan or line cuts 24-volt power, and the thermostat goes blank. Look for standing water in the pan or a clogged drain line. Clear the line (a wet/dry vac on the outside end works well) and power usually comes back.
  5. Blown low-voltage fuse. Look on the furnace control board for a small 3- or 5-amp automotive-style fuse. If it's blown, something shorted R to C: a nicked wire, a staple through the cable, or a wire touching during the install. Replace the fuse with the same rating. If it blows again, there's a short to find before replacing it a third time.
  6. Power cycle. With the system idle, turn off the breaker for 20–30 seconds and turn it back on.

If all of that checks out and the screen is still dark, the thermostat or the transformer has failed, and a tech with a meter can tell you which in a couple of minutes.

Heat works but no cooling

  • Wait five minutes. A flashing snowflake or "waiting" message means compressor protection, not a failure.
  • Outdoor disconnect. Check that the pull-out or breaker box near the outdoor unit is on, along with the breaker for the condenser in the main panel.
  • Indoor fan runs, outdoor unit doesn't: Check the Y wire at both ends. If the Y connection is good, the problem is usually at the outdoor unit. A failed capacitor is the single most common AC repair. That's a job for a tech because the capacitor holds a charge even with power off.
  • Float switch wired in the Y circuit only: Some installers wire it so it kills cooling but not heat. Check the drain.

Heat pump blows cold in heat mode, or warm in cool mode

The O/B setting is backward. Change it in the thermostat's installer settings. Trane heat pumps use O.

Short cycling or wrong temperature reading

  • Seal the wall hole behind the thermostat (see step 6 above).
  • Check the location. Sun, a lamp, a supply register, or an exterior wall will skew the reading.
  • Look at cycle-rate or "cycles per hour" settings in the installer menu.
  • On a system without a C wire, power-stealing can cause cycling. Add a C wire.

Lost Wi-Fi or app connection

Restart the router first, then the thermostat. If the router was replaced or the password changed, the thermostat has to be reconnected through its own network settings. Trane's connected models stay running on their own schedule while offline. Only the remote control is lost.

Testing whether it's the thermostat or the equipment

At the furnace or air handler control board, with the thermostat wires still connected, a short jumper wire between R and G should start the blower, R and Y the cooling, and R and W the heat. If the equipment runs with a jumper but not from the thermostat, the problem is the thermostat or its wiring. If it doesn't run with a jumper either, it's the equipment. Never touch R to C. That's a dead short that blows the fuse. If you're not comfortable on the control board, leave this test to a tech.

What It Costs

Prices as of late 2026, before tax:

Item Typical price
Basic non-programmable thermostat $25–$50
Programmable thermostat $40–$100
Amazon Smart Thermostat $60–$80
Honeywell Home T5 about $80–$130
Google Nest Thermostat about $80–$130
ecobee Smart Thermostat Premium about $210–$260
Trane-branded smart thermostats Dealer-priced and quoted with install
C-wire adapter kit $20–$80
Pro install, simple swap $100–$500
Pro install with new C wire $300–$700
HVAC labor about $85–$150 per hour

Sale prices for smart thermostats often drop well below list around Black Friday and Prime Day.

When to Call a Pro

  • The system is communicating (four wires, Trane XL1050, UX360, or ComfortLink).
  • The thermostat runs line voltage (thick wires, baseboard heat).
  • There's a zoning panel, a dual-fuel setup (heat pump plus gas furnace), or a humidifier or dehumidifier wired to the thermostat.
  • The fuse blows again after replacement.
  • The thermostat is working but the outdoor unit hums and won't start.

On a standard furnace and AC, or a basic heat pump, with the wiring photographed and labeled before anything comes off the wall, swapping a thermostat is one of the easiest jobs in a house.