The invention discloses a method for epidemically preventing the porcine mouth-foot disease. A medicine for preventing the porcine mouth-foot disease is prepared firstly. The method is prepared from the following medicinal raw materials: coptis chinensis, scutellaria baicalensis, cortex phellodendri, gardenia jasminoides, lonicera japonica, fructus forsythiae, astragalus membranaceus, dandelion, angelica sinensis, licorice root, gypsum, radix isatidis, lalang grass rhizome, indigo naturalis and folium isatidis. The method comprises the following steps: uniformly mixing the medicinal raw materials, putting the mixture into a pot, adding cold water into the pot, and leading the water line to be 3-4cm over the top surface of the medicinal raw materials; and then, soaking the medicinal raw materials for 20-30 minutes, decocting with strong fire for 2-3 times, and uniformly mixing decoctions which are decocted in multiple times, and giving the decoction to pigs once a day. The medicine has the effects of clearing heat, removing toxicity, cooling blood, expelling wind, removing septimic furunculosis and pyogenic infections, drawing toxin, expelling pus, healing sores and relieving pain, has a remarkable effect on preventing porcine mouth-foot disease, and can be used for improving the immunity of pigs not infected by the porcine mouth-foot disease. Furthermore, the method is applicable to epidemic prevention of mouth-foot disease of cattle, sheep and other main artiodactyla.