The invention discloses a preparation method of a bacteriostatic air purifier. The preparation method comprises the following steps: step I: acid leaching, calcining, and producing modified maya blue;step II: fermenting various plants by virtue of probiotics, filtering a fermented solution, and preparing plant enzymes; step III: under a condition of argon charged, dissolving zirconium dioxide andtitanium dioxide in tartaric acid, and then preparing a lanthanum-doped composite photocatalyst by virtue of the coupling bonding of lanthanum oxide; step IV: mixing tea polyphenols, quercetin and hydrazine carbonate according to a weight ratio of 1: (1.2 to 1.6): (0.3 to 0.5), condensing by using a coating agent, and preparing a coated synergist; and step V: mixing 20 to 30 parts of modified maya blue, 40 to 60 parts of plant enzymes, 12 to 16 parts of lanthanum-doped composite photocatalyst, and 15 to 20 parts of coated synergist, thus obtaining the air purifier. By adopting the preparationmethod, the pathogenic bacteria can be effectively eliminated, the air spreading route of the pathogenic microorganism can be blocked, the air pollutants can be effectively degraded, and the air quality can be improved.