Insect microbial symbioses play a critical role in insect lifecycle, and insect gut microbiome could be influenced by many factors. Studies have shown that host diet and taxonomy have a strong influence on insect gut microbial community. In this study, we performed sequencing of V3-V4 region of 16S rRNA gene to compare the composition and diversity of 12 Ensifera from 6 provinces of China. Moreover, the influences of feeding habits and taxonomic status of insects on their gut bacterial community were evaluated, which might provide reference for further application research. The results showed that Proteobacteria (45.66%), Firmicutes (34.25%) and Cyanobacteria (7.7%) were the predominant bacterial phyla in Ensifera. Moreover, the gut bacterial community composition of samples with different feeding habits was significantly different, which was irrespective of their taxa. The highest diversity of gut bacteria was found in the omnivorous Ensifera. Furthermore, common and unique bacteria with biomarkers were found based on the dietary characteristics of the samples. However, the bacterial community structure of the Ensifera samples was significantly different from that of Caelifera. Therefore, we concluded that feeding habits and taxonomic status jointly affect the gut bacterial community composition of the samples from Orthoptera. However, the influence of feeding habit dominates when taxonomy category below the suborder level. In addition, the dominant, common and unique bacterial community structure could be used to predict the contrastic feeding habits of insects belonging to Ensifera.