Dicliptera chinensis (L.) Juss., is an herb known for its anti-inflammatory and anti-oxidant properties. In the previous studies, the chemical composition of the polysaccharide from Dicliptera chinensis (L.) Juss. (DCP) has been characterized as consisting of DCP 1 and DCP 2 , of which DCP 2 has hepatoprotective effects. The study examined the hepatoprotective potential of DCP 2 against alpha-naphthyl isothiocyanate (ANIT)-induced cholestatic liver disease (CLD). In this study, RNA sequencing identified key research pathways involving bile acid metabolism, oxidative stress, and inflammation. Furthermore, qRT-PCR and Western blot analyses were conducted to further characterize these pathways. Additionally, the study included in vitro experiments with HepG2 cells to further investigate the effects of DCP 2 on bile acid metabolism. In summary, the protective effect of DCP 2 on the liver was reflected in alleviating the inflammatory response and oxidative stress, regulating the metabolism of bile acids, and mitigating liver damage caused by bile acids. This study further elucidated the hepatoprotective effects of DCP 2 by examining its ability to counteract ANIT-induced CLD, suggesting that DCP 2 is a promising biomacromolecule for hepatoprotection. • DCP 2 alleviated CLD by improving bile acid metabolism mainly through the FXR signaling pathway. • DCP 2 reduced inflammation and oxidative stress through the NF-κB and Nrf2 signaling pathways. • DCP consisted of DCP 1 and DCP 2 , of which DCP 2 was a bioactive macromolecule with hepatoprotective properties.