Millions of people die from liver diseases annually, and liver failure is one of the three major outcomes of liver disease. The gut microbiota plays a crucial role in liver diseases. This study aimed to explore the effects of Lactobacillus casei strain Shirota (LcS), a probiotics used widely around the world, on acute liver injury (ALI), as well as the underlying mechanism. Sprague Dawley rats were intragastrically administered LcS suspensions or placebo once daily for 7 days before induction of ALI by intraperitoneal injection of D-galactosamine (D-GalN). Histopathological examination and assessments of liver biochemical markers, inflammatory cytokines, and the gut microbiota, metabolome and transcriptome were conducted. Our results showed that pretreatment with LcS reduced hepatic and intestinal damage and reduced the elevation of serum gamma-glutamyltranspeptidase (GGT), total bile acids, IL-5, IL-10, G-CSF and RANTES. The analysis of the gut microbiota, metabolome and transcriptome showed that LcS lowered the ratio of Firmicutes to Bacteroidetes; reduced the enrichment of metabolites such as chenodeoxycholic acid, deoxycholic acid, lithocholic acid, D-talose and N-acetyl-glucosamine, reduce the depletion of D-glucose and L-methionine; and alleviated the downregulation of retinol metabolism and PPAR signalling and the upregulation of the pyruvate metabolism pathway in the liver. These results indicate the promising prospect of using LcS for the treatment of liver diseases, particularly ALI.