The invention discloses a traditional Chinese medicine preparation for enhancing the immunity of pigs and poultry, which comprises 10-30 parts of atractylodes rhizome, 10-20 parts of licorice, 10-50 parts of American ginseng, 10-30 parts of bupleurum, 10-30 parts of kudzu root and 10-30 parts of Cimicifuga 20. Peony 10-20, Jianqu 10-30, Rhubarb 10-40, Magnolia officinalis 10-20, Citrus aurantium 10-30, Betel nut 10-20, Qinpi 10-20, Glauber's salt 10-40, Coptis 10-30, Scutellaria baicalensis 10-30, Folium 10-20, Pulsatilla 10-40. The present invention can be applied to the entire breeding and epidemic prevention process of pigs and poultry, without using any vaccines, antibiotics, hormones and other chemical drugs at all, only using traditional Chinese medicine to enhance immunity, and finally making the meat products of pigs and poultry produced without antibiotics and hormones Green food such as chemicals.