The invention provides an antibacterial and mildewproof latex foam material and a preparation method thereof. The foaming material comprises, by weight, 100 parts of latex (based on dry weight), 0.58 parts of potassium hydroxide, 2-5 parts of potassium vegetable oleate, 1-2 parts of potassium ricinate, 4-6 parts of sulfur, 1-2 parts of an antiager, 1-2 parts of sodium silicofluoride, 1-1.5 parts of bentonite, 4-6 parts of a vulcanization accelerator nanometer zinc oxide, and 0.5-1 part of an inorganic silver-carrying zinc-carrying antibacterial agent. The preparation method comprises removing ammonia, stirring ingredients, aging the mixture, and carrying out foaming, material filling, setting, vulcanization, cleaning and drying setting. The antimicrobial efficiency of the antibacterial and mildewproof latex foam material is 99% or more. The anti-mildew performance of the antibacterial and mildewproof latex foam material reaches the level 0-1. The elasticity, rebound resilience, strength and hardness of the foam material are excellent.