Chloroform is a prevalent toxic environmental pollutant in urban settings, posing risks to human health through exposure via various mediums such as air and tap water. The gut microbiota plays a pivotal role in maintaining host health. However, there is a paucity of research elucidating the impact of chloroform exposure on the gut microbiota. In this investigation, 18 SPF Kunming female mice were stratified into three groups (n = 6) and subjected to oral gavage with chloroform doses equivalent to 0, 50, and 150 mg/kg of body weight over 30 days. Our findings demonstrate that subchronic chloroform exposure significantly perturbs hematological parameters in mice and induces histopathological alterations in cecal tissues, consequently engendering marked disparities in the functional composition of cecal microbiota and metabolic equilibrium of cecal contents. Ultimately, our investigation revealed a statistically robust correlation, exhibiting a high degree of significance, between the intestinal microbiome composition and the metabolites that were differentially expressed consequent to chloroform exposure.