The invention relates to the technical field of aquaculture, and discloses a feed additive for preventing and treating swine erysipelas. The feed additive is prepared from, codonopsis pilosula, rhizoma polygonati, polygonatum odoratum, sanguisorba officinalis, agrimonia pilosa, nabalus, geum, erose mussaenda leaf, cudrania cochinchinensis, thunbergia grandiflora, glabrous sarcandra herb, marsdenia tenacissima, eggshell powder, mirabilitum praeparatum, black soybean powder, dietary alkali, aspergillus oryzae, bacillus natto, lycopene and compound enzyme. The feed additive does not have any toxic reagents and antibiotics, cannot generate residue and is remarkable in preventing and treating efficiency, the occurrence rate of the swine erysipelas is reduced to 0-1%, enzymolysis of various Chinese herbal medicines is achieved, tissue cell structures are destroyed, the Chinese herbal medicines are doubly fermented, palatability is improved, effective components are effectively extracted, the extracting rate reaches 86-88%, the use ratio of the Chinese herbal medicines is increased, the dietary alkali and the lycopene are added, pH(potential of hydrogen) and disease-resistant components of the feed additive are improved, activities of swine erysipelas bacilli are restrained, resistance of pigs is improved, and the swine erysipelas and other diseases are fundamentally restrained, so that aquaculture cost is reduced by 13.6%.