The invention provides a high-efficiency environment-friendly antibacterial mildew-proof paint containing a nano film-forming agent and a preparation method thereof. The paint is prepared from the following raw materials: heavy calcium powder, ash calcium powder, white Portland cement, hollow microspheres, nano silicon dioxide, rutile titanium dioxide, dicalcium silicate, sepiolite powder, sodiumoxalate, talcum powder, tourmaline powder, attapulgite clay, sodium bentonite, polyvinyl alcohol powder, redispersible latex powder, lithium sulfate, calcium lignosulphonate, hydroxypropyl methyl cellulose, wood fibers and an organic silicon polyether composite defoaming agent. The prepared interior and exterior wall dry powder paint is suitable for interior and exterior walls, is non-toxic and environment-friendly, does not pollute the environment, does not influence body health, has excellent antibacterial and anti-mildew construction performance and other properties, is long in service life, is a dry powder coating, is simple in production process, and has the advantages of being convenient to transport, long in storage period and the like.