Hepatitis is a metabolic system disease which is a serious challenge to the medical and healthcare system of the world. This study attempted to investigate the therapeutic effect and illustrate the regulation pharmacological mechanism of Detoxification II Prescription on ACLF. In this study, the rats were injected with D-galactosamine to establish ACLF-rat models, and the levels of cholinesterase (CHE), alanine aminotransferase (ALT), aspartate aminotransferase (AST), albumin (ALB), and total bilirubin (TBiL) were measured with the related kits to reflect the liver functions of the rats. The levels of IL-17, IL-6, and IFN-γ in the serums of the rats were detected by qRT-PCR, and the percentages of Th-17 cells in CD4+ cells of the rats were measured by flow cytometry assay. In the results, the increased ALT, AST, TBiL, IL-6, IL-17, IFN-γ, and percentage of Th-17 cells in CD4+ and decreased ALB and CHE were found in the serums of the ACLF-rats, while Detoxification II Prescription could partly reverse those indexes of the ACLF-rats. Moreover, it was also found that Detoxification II Prescription could inhibit the expression of P38MAPK, and P38MAPK downregulation obviously improved the liver function indexes of the ACLF-rats including the levels of ALT, AST, TBiL, IL-6, IL-17, IFN-γ, and percentage of Th-17 cells in CD4+ cells. In conclusion, this study suggested that Detoxification II Prescription could suppress the Th-17/IL-17 inflammatory axis to improve the liver function of ACLF-rats via inhibiting the activity of the P38MAPK pathway.