The computer numerical control (CNC) machine tool was investigated and the dynamics model for the servo feed system was established. Based on the fixing constraint of the ball screw, the mathematical models of axial stiffness and torsion stiffness are constructed. According to the effects of stiffness on the dynamic performance, the simulation model for CNC machine tool feed system with stiffness considered was set up by the dynamic simulation tool Simulink, and a curve representing the performance of the system was obtained. To reduce the effect of stiffness on the system, the feedforward control strategy is used for stiffness compensation. The simulation results show that the stability and response performances of the system are improved and the steady-state error of the system is reduced by the control strategy.