Liver fibrosis refers to the pathophysiological process of dysplasia on the connective tissue of the liver, caused by a variety of pathogenic factors. Glaucocalyxin A (GLA) has anticoagulation, antibacterial, anti‐inflammation, antioxidant and antitumour properties. However, whether GLA ameliorates liver fibrosis or not is still unclear. In this study, a liver fibrosis model was established using male C57BL/6 mice. The mice were treated with 5 and 10 mg/kg GLA via intraperitoneal injection, respectively. The ones that were treated with 5 mg/kg OCA were used as the positive control group. The levels of liver function, liver fibrosis biomarkers and liver pathological changes were then evaluated. We also explored the effects of GLA on inflammatory response and liver cell apoptosis. In addition, we investigated the gut microbiota mechanisms of GLA on liver fibrosis. The results from this study that GLA could significantly decrease the level of liver function (AST, ALT, TBA) and liver fibrosis (HA, LN, PC‐III, IV‐C). On the other hand, a significant decrease in inflammation levels (IL‐1β, TNF‐α) were also noted. GLA also improves CCl4‐induced pathological liver injuries and collagen deposition, in addition to decreasing apoptosis levels. In addition, an increase in the ratio of Bacteroidetes and Firmicutes in liver disease was also observed. GLA also improves the gut microbiota. In conclusion, GLA attenuates CCl4‐induced liver fibrosis and improves the associated gut microbiota imbalance.