The present invention discloses an application of berberis julianae schneid in purification of livestock and poultry breeding biogas slurry, and belongs to the field of wastewater treatment. According to the present invention, berberis julianae schneid is planted in an environment polluted by livestock and poultry breeding biogas slurry, and absorption effects of the berberis julianae schneid on NH4<+>-N, TN, TP, CODcr and other pollutants in the livestock and poultry breeding biogas slurry, and characteristics of tenacious vitality, direct planting, no requirement of special management and perennation of the berberis julianae schneid are completely utilized so as to permanently solve the pollution problem of the livestock and poultry breeding biogas slurry. The application of the present invention has the following advantages that: the investment is low, the operation cost is low, the effect is good, the operation is simple and easy to perform, and the winter purifying effect of the artificial wetland system is ensured; the harvested berberis julianae schneid can be used for treatments of damp-heat dysentery, diarrhea, jaundice, eczema, sores ulceration, aphthae, conjunctival congestion, pharyngalgia and other syndromes; the berberis julianae schneid is adopted to treat the wastewater treatment, such that the environmental protection and the economic construction are combined, the sustainable development thoughts concurrently comprising sewage treatment, ecological restoration and economic construction are reflected, and the far-reaching significance is provided.