In this study, IL-22 was selected as a candidate drug for the treatment of bovine mastitis, and its anti-inflammatory repair effect was used to treat mammary tissue injured by mastitis. This evidence concerns the gene IL22 and Bovine mastitis.