The invention provides an epoxy universal primer, which comprises A component and B component, wherein, A component comprises the following components by weight: 11-18 parts of epoxy resin, 2-5 parts of C9 petroleum resin , 0.7-1.5 parts of bentonite, 4-8 parts of titanium dioxide, 2-4 parts of aluminum tripolyphosphate, 0.5- 1 part, 0.06-0.2 parts of dispersant, 1-3 parts of trichloropropane, 5-10 parts of xylene; component B includes the following components by weight: 30-60 parts of epoxy resin curing agent, dimethyl 2 to 5 parts of polysiloxane, 0.5 to 1.5 parts of 3-methylphenol, 20 to 40 parts of xylene; the mass ratio of the A component to the B part is (5.2 to 5.6): 1, provided by the present invention The epoxy universal primer has good adhesion and short adaptation period, especially suitable for application in the marine field.