Insect gut symbiotic microbiota play a crucial role in the nutritional, physiological, and behavioral aspects of their hosts, providing valuable insights for investigating the co-evolution of insects and plants. Sophora alopecuroides L. serves as an important windbreak plant, while Etiella zinckenella is a major pest that infests its seeds. However, the structure of the gut microbiota community in E. zinckenella remains poorly understood. In this study, we analyzed the gut microbiota of E. zinckenella across different developmental stages-larvae (1st-5th instars), pupae, and adults-infesting S. alopecuroides using 16 S rRNA high-throughput sequencing. The results revealed that the dominant phyla throughout the development of E. zinckenella were Proteobacteria and Bacteroidota, although the dominant genera varied significantly across stages. Diversity analysis of gut microbiota at different developmental stages indicated that microbial diversity was significantly higher in the larval stage compared to the pupal and adult stages. Functional predictions further highlighted the richness of metabolic pathways within the gut microbiota of E. zinckenella. Notably, carbohydrate metabolism functions were significantly more abundant during the larval stage, while lipid metabolism functions were substantially lower. Our findings demonstrate dynamic changes in the composition and diversity of the gut microbiota across the developmental stages of E. zinckenella, underscoring the critical roles of these bacteria during specific stages of the insect's life cycle. This study lays the groundwork for future strategies aimed at controlling E. zinckenella through modulation of its gut microbiota, offering significant theoretical implications.