Objective:To explore the effect and mechanism of Chaihu Shugan powder(CHSGS)regulating Th17/Treg balance on liver function in mice with hepatitis B.Methods:We divided mice into control,hepatitis B virus(HBV)and HBV +CHSGSgroup.Eachgrouphas15 mice.The hepatitis B model was established by HBV(1×106 mL,30 mL·kg-1)infection.CHSGS(30 g·mL-1,30 mL·kg-1)was intervened by intragastric administration.After 6 weeks,liver function,Th17 and Treg changes in liver mononuclear cells,and the expression of RORγ and FOXP3 proteins were detected.Results:Compared with the control group,alanine aminotransferase(ALT)[(85.24±17.03)U·L-1],aspartate aminotransferase(AST)[(315.39±37.61)U·L-1],Th17(5.22%±0.51%),Treg(9.96%±0.95%),Th17/Treg ratio(0.52±0.07),RORγ and FOXP3 proteins were all increased(P<0.05).ALT[(60.75±8.46)U·L-1],AST[(201.44±21.87)U·L-1],Th17(3.67%±0.37%),Th17/Treg ratio(0.26±0.04)and RORγ protein in HBV +CHSGS group were lower than those in the HBV group,while Treg(14.30%±1.13%)and FOXP3 proteins were higher than those in the HBV group(P<0.05).Conclusion:CHSGS can inhibit Th17 and promote the differentiation of Treg,so as to improve the abnormal Th17/Treg ratio caused by HBV,and regulate the immune inflammatory response to protect liver function of mice with HBV.