The embodiment of the invention provides a startup and shutdown machine circuit. The circuit comprises a key module, an input module, a charging and discharging control module, a non-gate module, a trigger module and a startup and shutdown control module, wherein the key module is used for inputting key signals, the input module is used for outputting pulse signals according to the key signals and control signals output by an MCU, the charging and discharging control module is used for performing charging and discharging control and controlling the logic state of the non-gate module to be turned over, the non-gate module is used for performing negation on the pulse signals output by the input module, the trigger module is used for outputting startup and shutdown signals to the startup and shutdown control module according to the pulse signals after negation, and the startup and shutdown control module is used for outputting power supply signals to a terminal according to startup and shutdown signals so as to control the terminal to be started up or shut down. The circuit can achieve the aims of starting up and shutting down the terminal in the key pressing process and storing data in the shutting down process, and due to the fact that each module in the startup and shutdown machine circuit is composed of some independent simple components, and a single chip microcomputer is not needed, the cost of the startup and shutdown machine circuit is reduced.