The invention discloses a main motor installation structure of a numerically controlled lathe, which comprises a main shaft controller, a main shaft lifting guide rail, a main shaft protective cover, a heat dissipation hole, a fixed disk, a cooling joint, a cooling pipe, a main motor, an electric main shaft, a machining handle, Motor body, fixed ferrule, threaded pressure block, fixed bolt, anti-skid buckle, the upper end of the main motor is embedded inside the main shaft protective cover, the main motor and the electric main shaft are both cylindrical in structure and adopt interference fit, the present invention The beneficial effect is: the interior of the electric spindle provided by the utility model is fixed by two arc-shaped fixed ferrules, and the bottom of the fixed ferrules is provided with an anti-skid buckle, which can prevent the bottom of the motor body from slipping, and the rear side is penetrated by the fixing bolts. The threaded pressing block strongly fixes the fixed ferrule, which greatly improves the fixing strength of the spindle and the motor, and avoids the phenomenon of sliding when running at high speed.