The present invention discloses a process for electrophoretic painting of a fastener, which comprises the following; firstly, a step of phosphatization of zinc series, in which the phosphatization is carried out in a phosphatization tank at a temperature of between 30 and 40 DEG C for 3 to 5 minutes, and the sample piece is subjected to ceaseless shaking, washing, drying for 20 minutes at a temperature between 80 and 100 DEG C; secondly, a step of cathodic electrophoresis, in which the cathodic electrophoresis is carried out in an electrophoresis tank, the tank liquid temperature is between 28 and 32 DEG C, the electrophoresis time is between 2 and 3 minutes and the painting voltage is between 140 and 180 volt, and water washing is adopted; thirdly, a step of drying, in which the surface is dried for 40 minutes at a temperature of between 170 and 180 DEG C. The process solves the problem of processing main Cr6+ pollution in the most universal fastener surface treatment (zinc plating+passivation process, Dacro coating process, darkening process, and the like). The cathodic electrophoretic painting process adopted by the fastener is a novel technology, which improves the corrosion resistance of the fastener and has capacity of protecting environment as well. The composite cost of the process is lower than that of the barrel plating.