The fully automatic CNC steel bar straightening machine consists of a frame, a microcomputer controller, a straightening frame with straightening rollers, an electric motor, a length control sensor, a steel bar automatic cutting mechanism, and an automatic unloading mechanism. It operates by inputting the quantity of steel bars to be cut into the microcomputer controller. Based on the set cutting length of the steel bars, the position of the length control sensor on the unloading chute plate is determined. The electric motor drives the straightening frame, which contains the straightening rollers, to rotate at high speed. The rotating straightening rollers press and straighten the twisted steel bars into a spiral shape, continuously pulling and stretching them forward to achieve straightening.