The invention relates to a machining process for shaft parts. The machining process comprises the following steps that 1, CNC machining is conducted, specifically, raw materials are machined into blank pieces through a numerical control machine tool; 2, deburring is conducted, specifically, the blank pieces are polished and deburred through a grinding machine; 3, rough grinding is conducted, specifically, rough grinding is conducted on the blanks through a grinder; 4, fine grinding is conducted, specifically, fine grinding is carried out on the blank pieces through the grinder; 5, electroplating is conducted, specifically, nickel plating is conducted on the blank pieces obtained after fine grinding through a nickel plating pool; 6, polishing is conducted, specifically, the electroplated blank pieces are ground and polished through polishing equipment to be machined into workpieces; 7, degreasing is conducted, specifically, after polishing is completed, the workpieces are cleaned and degreased, and drying is conducted after degreasing; 8, inspection is conducted, specifically, the roughness and the circle run-out degree of the degreased and dried workpieces are inspected; 9, correction is conducted, specifically, pressing correction is conducted on the workpieces with the circle run-out degree not reaching the standard; and 10, packaging is conducted, specifically, the qualified workpieces are packaged and conveyed. The machining process has the effect of improving the corrosion resistance of the workpiece surfaces.