This study investigated the immunoprotective effects of the extract of Vanilla planifolia Andrew (EVPA) on cyclophosphamide (Cy)-induced immunosuppression in mice. The results show that EVPA administration significantly alleviated the immune damage induced by Cy, as evidenced by an improved body weight, organ index, and colonic injury. A further analysis of microbial diversity revealed that the EVPA primarily increased the abundance of the beneficial bacteria Verrucomicrobiota, Lactobacillaceae, and Lactobacillus while decreasing Akkermansiaceae, Akkermansia, Romboutsia, and Lactococcus, thereby ameliorating the microbial dysbiosis caused by Cy. A metabolomic analysis revealed significant alterations in the microbial metabolite levels after EVPA treatment, including urobilinogen, formamidopyrimidine nucleoside triphosphate, Cer (d18:1/18:0), pantetheine, and LysoPC (15:0/0:0). These altered metabolites are associated with pathways related to sphingolipid metabolism, carbapenem biosynthesis, pantothenate and CoA biosynthesis, glycerophospholipid metabolism, and porphyrin metabolism. Furthermore, significant correlations were observed between certain microbial groups and the differential metabolites. These findings provide new insights into the immunomodulatory effects of EVPA on the intestinal microbiota and metabolism, laying the foundation for more extensive utilization.