The invention discloses a method for processing a rectangular-tooth spline sleeve using 42CrMoE high-quality alloy steel as a material, belonging to the technical field of thermal treatment. The method comprises the steps of: free forging of a blank, normalizing treatment, rough turning, hardening and tempering thermal treatment, finish turning, spline drawing, drilling, burr gripping, carburization treatment, surface deposition treatment, phosphorylation treatment, electroplating, drying and detection. In the invention, due to the new material and new technology, the wear resistance of the produced rectangular-tooth spline sleeve is greatly enhanced, the phenomenon of crack of the rectangular-tooth spline sleeve is avoided, the surface is smooth, the friction is low, the heat dissipation is good, and the service life is prolonged, thus the processing technology is widely applied.