Bisphenol A has become a global public health problem. As an antioxidant, geraniol has potential preventive effects against toxicity. This study analyzes the preventive effect of geraniol against BPA induced liver injury in CD-1 mice. Geraniol administration significantly ameliorated BPA induced liver damage by the increase in superoxide dismutase/catalase enzymatic activities, and decrease in malonaldehyde level; prompted a significant reduction in the expression levels of inflammatory cytokines (TNF-α, IL-1β, and IL-6), and pyroptosis biomarkers (NLRP3, ASC, and caspase-1); up-regulated the expression of claudin-1, ZO-1, and occludin markedly, which exhibited intestinal barrier function. Also, geraniol treatment optimized the composition and diversity of gut microbiota. It may be summarized that geraniol showed protective effects on liver injury induced by BPA and further revealed that the mechanism might be located on improving intestinal physical barrier function, down-regulating pyroptosis biomarkers, and normalizing intestinal microbiota, consequently reducing inflammatory response in the liver.