The invention discloses an electric screw driver which comprises a handle outer shell, a handle cap, a high-voltage direct-current motor, a control circuit, a deceleration torque-varying box, a main shaft, a connecting shaft and an elbow assembly. The high-voltage direct-current motor, the control circuit, the deceleration torque-varying box and the main shaft are all arranged in the handle outer shell, the main shaft penetrates through the handle cap to output twisting force of the electric screw driver, and the elbow assembly comprises an elbow base, a cover of the elbow base, an output shaft and a pair of rotary teeth, wherein one rotary tooth is arranged on the output shaft, the other rotary tooth is arranged at the front end of the connecting shaft, the output shaft and the connecting shaft are respectively fixed by bearings to arrange the rotary teeth in the elbow base, the back end of the connecting shaft is connected with the main shaft, and the connecting shaft and the main shaft share the same center shaft. The electric screw driver is strong in practicability, the twisting force can be adjusted at will, the twisting force is constant and accurate, the mains supply is directly used for working, the defect that a straight-bar type electric screw driver cannot be used in a narrow station is overcome, and the electric screw driver is suitable for assembly lines and various maintaining and installing occasions.