The invention relates to a nuclear magnetic resonance spectrometer gas circuit and temperature control system based on an LAN (Local Area Network) and a CAN (Controller Area Network) bus, belonging to a nuclear magnetic resonance spectrometer and providing a nuclear magnetic resonance spectrometer gas circuit and temperature control system based on the LAN and the CAN buses, with characteristics of strong independence and reliability, simpler structure, easy expansion, convenient maintenance, and the like. The nuclear magnetic resonance spectrometer gas circuit and temperature control system is provided with a central processing unit, a display unit, a CAN interface circuit, a rotating speed measuring circuit, a pneumatic valve drive circuit, a temperature measuring unit and a heating unit, wherein the central processing unit is connected with a computer; the central processing unit is connected with the display unit, the CAN interface circuit, the rotating speed measuring circuit, the pneumatic valve drive circuit, the temperature measuring unit and the heating circuit by adopting a standard CAN bus cable; the input end of the rotating speed measuring circuit is externally connected with a photoelectric rotating speed sensor, and the output end of the pneumatic valve drive circuit is externally connected with an electronic air valve; and the temperature measuring unit is externally connected with a thermoelectric couple, and the heating circuit is externally connected with a heating wire.