The invention provides a medicine for controlling swine erysipelas, belonging to the technical field of pharmaceutical and medical engineering. The medicine comprises the following components in parts by weight: 5-15 parts of honeysuckle, 5-15 parts of dyers woad leaf, 5-15 parts of Tokyo violet herb, 5-15 parts of radix arnebiae, 4-12 parts of cyrtomium rhizome, 4-12 parts of gypsum rubrum, 4-12 parts of tree peony root bark, 4-12 parts of common anemarrhena rhizome, 3-10 parts of figwort root, 3-10 parts of spikemoss, 3-10 parts of red peony root, 3-10 parts of platycodon root, 2-6 parts of rhubarb, 2-6 parts of cape jasmine fruit and 2-6 parts of liquorice. The medicine is prepared by drying the above Chinese herbal medicines in the sun, weighing the dried medicines, grinding the weighed medicines, sieving the powder with a 60-80-mesh sieve and mixing the powder uniformly. During clinical application, the medicine is soaked in boiling water for 30-60 minutes so that the active ingredients of the medicine are fully dissolved and precipitated to be beneficial to internal absorption of sick swine, and at the same time, the medicine efficacy can be improved by adding a few sugars and Vc. The medicine has higher clinical cure rate, does not have adverse reactions, does not generate medicine resistance easily, avoids medicine residues in pork, has easily obtained needed raw materials, is simple to prepare and convenient to use and can be widely applied in the swine industry.