When the CNC machining of continuous small line segments is performed, the direction of the machine tool movement will change abruptly at the corner of adjacent line segments. Therefore, a reasonable constraint on the feedrate at the corner is the prerequisite for achieving high-speed and high-precision machining. To achieve this goal, a feedrate-constraint method based on the nominal acceleration was proposed. The proposed method obtains the predicted value of acceleration during the machining process by the machining trajectory prediction and acceleration filtering. Then, the feedrate at the corner is constrained, according to the predicted acceleration. Specifically, for any corner of adjacent line segments, the proposed method assumes that the CNC machining of a short path centered on the corner is carried out at a constant feedrate. First, the actual machining trajectory is predicted according to the transfer function of the servo system. Then, the nominal acceleration, when the CNC machining is carried out to the corner, is calculated and processed by a low-pass FIR filter. Last, the feedrate-constraint value at the corner is obtained according to the nominal acceleration and the preset normal acceleration. The advantage of the proposed method is that it can be used for different machining paths consisting of long segments or continuous small segments and it has no special requirement for the accuracy of the machining path. As a result, the feedrate-constraint value obtained is reasonable and the smooth machining process can be ensured. The simulation results in both 2D and 3D machining paths show that the proposed method is insensitive to the length of the line segment and the angle of the corner, and the calculated feedrate-constraint value is close to the theoretical value, which has good stability and versatility. In contrast, the feedrate-constraint values obtained by conventional methods change abruptly along the machining path, especially in the 3D simulation, which will damage the machining quality. The experiment was performed on a three-axis CNC machine tool controlled by a self-developed controller, and a free-form surface workpiece was machined by a conventional feedrate-constraint method and the proposed method, respectively. The experimental results showed that the proposed method can make the feedrate of the machining process higher and more stable. Then, machining defects such as overcutting and undercutting can be avoided and the machining quality can be improved. Therefore, the article proposes a new method to constrain the feedrate at the corner of continuous small line segments, which can improve the machining efficiency and quality of the CNC machining.