The gut microbiota is increasingly considered to play a key role in human immunity and health. The aging process alters the microbiota composition, which is associated with inflammation, reactive oxygen species (ROS), decreased tissue function, and increased susceptibility to age-related diseases. It has been demonstrated that plant polysaccharides have beneficial effects on the gut microbiota, particularly in reducing pathogenic bacteria abundance and increasing beneficial bacteria populations. However, there is limited evidence of the effect of plant polysaccharides on age-related gut microbiota dysbiosis and ROS accumulation during the aging process. To explore the effect of Eucommiae polysaccharides (EPs) on age-related gut microbiota dysbiosis and ROS accumulation during the aging process of Drosophila, a series of behavioral and life span assays of Drosophila with the same genetic background in standard medium and a medium supplemented with EPs were performed. Next, the gut microbiota composition and protein composition of Drosophila in standard medium and the medium supplemented with EPs were detected using 16S rRNA gene sequencing analysis and quantitative proteomic analysis. Here, we show that supplementation of Eucommiae polysaccharides (EPs) during development leads to the life span extension of Drosophila. Furthermore, EPs decreased age-related ROS accumulation and suppressed Gluconobacter, Providencia, and Enterobacteriaceae in aged Drosophila. Increased Gluconobacter, Providencia, and Enterobacteriaceae in the indigenous microbiota might induce age-related gut dysfunction in Drosophila and shortens their life span. Our study demonstrates that EPs can be used as prebiotic agents to prevent aging-associated gut dysbiosis and reactive oxidative stress.