Our house has an old boiler, and the thermostat isn't working. I'd like to replace it with a Nest thermostat. But, when I took the cover off to check which wires it had, I only see two wires (red and white) and they aren't marked. I checked the Nest compatibility guide, but it asks me to identify the wires, and I have no idea which ones they are.

Here's 3 pictures of the thermostat: enter image description here

enter image description here

enter image description here

Can anyone tell me how I can figure out which wires they are? Could I install a Nest E thermostat on this?

  • are there any other wires in the cable? Jun 2, 2018 at 6:24
  • Be sure to find a proper recycling center for that old mercury filled thermostat.
    – Machavity
    Jun 2, 2018 at 17:04
  • There aren't any other wires in the cable. Thanks for the link for the recycling centers. There is one near my house. Jun 2, 2018 at 21:18
  • Nests will not work on a 2 wire boiler, been there and done that.
    – user129332
    Jan 27, 2021 at 20:20

1 Answer 1


If you have only two wires on a heating system, then those two wires are the ones known as R (red) and W (white), and it doesn't even matter which one is which because it's AC and there are only two. (If you had a more complex system with cooling or other features for the thermostat to control, then there would be more wires.)

To confirm, get a multimeter and measure the two wires on the AC voltage mode (you should see about 24 volts). If you hold the wires together the heat should start. If this doesn't work, the problem may be with the boiler rather than the thermostat.

You probably know this already, but just in case: your old thermostat has a significant amount of mercury in it. Make sure to take it to a household hazardous waste disposal station rather than putting it in the trash.

  • Did you contact Nest support? I think the Nest needs a common wire for its ground so it can draw its power from that and the red wire.
    – BrianK
    Jun 2, 2018 at 21:35
  • @BrianK The nest will actually draw power from across the red and white wires when the heater is off and run on its internal battery when the heater is on. The C wire is recommended, but not required to be present to use the nest.
    – kponz
    Jun 2, 2018 at 23:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.