Biliary complications are currently one of the leading causes of liver failure and patient death after liver transplantation and need to be solved urgently. Biliary ischemia-reperfusion injury (IRI) is one of the important causes of biliary complications. IL-22 has a protective effect on liver injury and hepatitis diseases, and its safety and efficacy in the treatment of hepatitis have also been proved in human clinical experiments. Furthermore, multiple studies have confirmed that IL-22 promotes the proliferation and repair of epithelial cells in various organs. Still, its function in the bile duct after transplantation has not been explored. This study was aimed at investigating the effects of IL-22 on cholangiocyte IRI in vitro and in vivo and exploring its underlying mechanisms. We simulated the hypoxia process of bile duct epithelial cells through in vitro experiments to investigate the protective function and molecular mechanism of IL-22 on bile duct epithelial cells. Subsequently, the function and mechanism of IL-22 in the biliary IRI model of autologous orthotopic liver transplantation in rats were assessed. This study confirmed that IL-22 could promote cholangiocyte proliferation, decrease the apoptosis rate of cholangiocytes and tissues, decrease MDA levels, and increase SOD levels by activating STAT3. In addition, IL-22 can also reduce the level of mitochondrial membrane depolarization, protect mitochondria, reduce ROS production, and play a role in protecting bile ducts. These findings provide evidence for IL-22 as a novel and effective treatment for biliary IRI after liver transplantation.