The invention relates to a self-fixed zinc-rich primer using for anticorrosion inside an oil tank and a preparation method thereof. The self-fixed zinc-rich primer comprises A solution which consists of tetraethyl orthosilicate, butanol, ethanol, butyl acetate, dibasic ester, 36-38 percent of hydrochloride and distilled water, and B solution which consists of polyvinyl butyral (PVB), butanol, ethanol, zinc powder, ultrafine ferrophosphorus powder, mica powder, fly ash, alkoxy ammonium salt with acidic group and block copolymers, and polysiloxane-polyether copolymer, when in use, the A solution and the B solution are mixed and solidified to form a paint film which is characterized by self-repairing, corrosion resistance, solvent resistance, static conducting, rapid drying and good construction adaptability, etc. The self-fixed zinc-rich primer can be used for surface anticorrosion treatment of steel structures used in inner walls and outer walls of various storage tanks and offshore drilling platforms, etc.