The invention relates to a workpiece grinding machine of a numerical-control electric spark machine tool. The workpiece grinding machine of the numerical-control electric spark machine tool comprisesa base plate, a fixing device, an inner wall grinding device and an outer wall grinding device. The fixing device and the inner wall grinding device are sequentially installed on the base plate from left to right. The outer wall grinding device is installed on the back side of the base plate. The inner wall grinding device comprises a fixing plate, a rotating motor, a rotating column, sliding blocks, limiting frames, telescopic rods, springs, adjusting air cylinders and first steel wire brushes. The outer wall polishing device comprises a lifting frame, a rotating motor, a rotating column, a cam, connection sliding blocks, connection frames, guide rails and second steel wire brushes. The workpiece grinding machine of the numerical-control electric spark machine tool can solve the problemsthat in an existing annular workpiece grinding process, the labor cost is high, the labor intensity is high, the work efficiency is low, the grinding difficulty is large, and the adjustability is poor; the automatic grinding function on the annular workpiece can be achieved; and the workpiece grinding machine of the numerical-control electric spark machine tool has the advantages of being low in labor cost, low in labor intensity, high in work efficiency, small in polishing difficulty, good in adjustability and the like.