The invention discloses ultraviolet curing vacuum coating metal primer capable of achieving electrostatic spraying and a preparation method thereof.The ultraviolet curing vacuum coating metal primer capable of achieving electrostatic spraying is prepared from, by weight, 5-20 parts of urethane acrylate, 10-20 parts of epoxy acrylate, 0-5 parts of pure acrylate, 5-10 parts of polyesteracrylate, 30-40 parts of trimethylolpropane triacrylate, 10-20 parts of low-functionality active diluted monomers, 2-5 parts of photoinitiator, 0.05-0.1 part of a flatting agent, 0.05-0.5 part of adhesion promoter, 0.01-0.5 part of a conductive agent and 3-5 parts of electrostatic thinner.The ultraviolet curing vacuum coating metal primer prepared through the method can be used for electrostatic spraying, has the advantages of being good in coating performance, good in adhesion, high in salt fog resistance, high in production efficiency, high in paint utilization rate and the like, and has wide market prospects.