The invention discloses a numerical control polishing machine. The numerical control polishing machine comprises a four-axis workpiece shifting device and a rotary polishing head, wherein the four-axis workpiece shifting device comprises a stand column, a Y-axis sliding seat, an X-axis rotary arm, a Z-axis rotary arm, an A-axis rotating work bench, a Y-axis driving assembly, an X-axis driving assembly, a Z-axis driving assembly and an A-axis driving assembly; and the rotary polishing head is provided with a main polishing mechanism, the main polishing mechanism comprises a main grinding wheel assembly, a main rotating arm and a main grinding wheel vertical/horizontal transforming assembly, the main grinding wheel assembly is mounted on the main rotating arm, and the main grinding wheel vertical/horizontal transforming assembly drives the main rotating arm to rotate, so that the rotary polishing head transforms at any angle in the vertical direction and the horizontal direction, and accordingly, a workpiece on the A-axis rotary work bench is polished in an omnibearing manner. The numerical control polishing machine can automatically polish a casting, effectively removes burrs and flashing of the casting and is efficient, environment-friendly, safe and simple and convenient to operate, the labor intensity is reduced, and the polishing quality is improved.