The invention relates to a solvent-free type heavy anti-corrosion coating based on a secondary doped polyaniline nanometer material and belongs to the technical field of heavy anti-corrosion coating. The solvent-free type heavy anti-corrosion coating is characterized by comprising a component A and a component B; the weight ratio of the component A to the component B is 10:(2.6-3.2); the component A comprises the following components by weight percent: 32-40% of liquid epoxy resin, 7-18% of a nuclear shell rubber flexibilizer, 6-10% of a reactive diluent, 0.6-1.4% of a silane coupling agent, 1.2-2.5% of a dispersing agent, 0.3-0.7% of a de-foaming agent, 1.5-2.4% of a sterilizing agent, 0.6-1.2% of a thixotropic agent, 1.6-2.5% of a flatting agent, 4-12% of zinc phosphate, 4-8% of mica powder, 3.5-20% of superfine talcum powder and 7-12% of titanium dioxide, wherein the sum of the weight percent of the components is 100%; the component B comprises the following components by weight percent: 44-56% of phenolic amine, 20-44% of modified polyamide, 1.6-2.4% of a dispersing agent, 0.2-0.6% of a de-foaming agent, 2-6% of nanometer graphite powder, 7-15% of polyaniline and 0.4-0.8% of a thixotropic agent, wherein the sum of the weight percent of the components is 100%. The anti-corrosion coating provided by the invention is environmentally friendly and nontoxic and has the advantages of excellent mechanical properties, low surface processing requirement, applicability on wet and even water-containing metal substrate, excellent mold-proof and antibacterial properties, excellent corrosion protection and corrosion inhibition, high site construction operability, and the like.