The invention discloses a numerically controlled electric screwdriver based on a static torque sensor, which includes a connected control box and a screwdriver, and is characterized in that: the control box includes a box body, a touch screen is arranged on the box body, a controller and a Switching power supply, the controller includes a signal processing module, an acquisition main control module, a motor drive module and a display input module, the screwdriver includes a shell, the shell is provided with a connected motor, a reduction box and an output spindle, and there is at least one angle sensor in the motor , a static torque sensor is installed outside the output spindle, and one end of the output spindle extends out of the shell and is connected with the batch nozzle. At the same time, the control method of the CNC electric screwdriver is also introduced. Based on the above structure and control method, the present invention has multiple functions such as good data management and fault detection, and has the advantages of low cost, long life, high precision, safety and reliability, and can be widely extended to the assembly of various precision parts .