Rotating spindle is the main heat source of machine tool. However, it is hard for the traditional wired sensors to get access to the temperature value in rotating environment. This is one of the largest challenges that the researchers will encounter in machine thermal analysis and machine's state monitoring, and it limits the accuracy of the machine thermal analysis and state monitoring. Recently some researcher begins to adopt wireless communication technologies into the measurement in rotating environment, which would overcome the weakness of wired sensors. This paper first describes the superiors of the popular wireless technology ZigBee. And then presents the design of a wireless temperature measurement system based on ZigBee. In the Last, the system is implemented into a wireless temperature measuring experiment. The result of the experiment proved the stability of the wireless temperature measuring system, and shows the clear advantage of wireless sensors compared with wired sensor in rotating environment.