It comes with a cord that plugs into the thermostat and then plugs into the wall. Like an extension cord.