The invention discloses a preparation method of a 
polyaniline-polyacrylate compound, and relates to the technical field of 
polyaniline synthesis. The preparation method comprises the following steps: firstly, enabling part of active 
solvent to be reacted with part of mixed monomers and initiator, then, heating the reacted mixed 
system, next, dropwise adding the other part of mixed monomers, initiator and active 
solvent, and carrying out preserved heat reaction until the reaction is ended; cooling the 
system generated through the reaction to 0-20 DEG C, adding 
aniline, uniformly stirring, then, dropwise adding an oxidative initiator solution, and then, reacting at normal temperature until the reaction is ended. 
Polyaniline and polyacrylate resin in the 
polyaniline-polyacrylate compound disclosed by the invention are formed into a molecular compound to be added into an anticorrosive 
coating, so that not only is the uniform dispersion of polyaniline in the 
coating realized, but also polyacrylate resin in the compound can be used for promoting the compatibility of the polyaniline and film forming materials in an anticorrosive 
coating, so that the long-acting 
corrosion resistance and environment friendliness of polyaniline in a heavy anticorrosive coating can be realized.