AbstractTo understand the effect of diet on gut bacteria of Cnaphalocrocis medinalis (rice leaf folder, RLF), we compared the composition and diversity of gut bacterial community in C. medinalis larvae collected from three different rice variety fields of Minghui 82 (RLF1), Youngyong 15 (RLF2) and Minghui 2155 (RLF3), using culture‐independent PCR (V3 variable region)‐denaturing gradient gel electrophoresis (PCR‐DGGE) methods and hypervariable region (V4) of 16S rRNA sequenced by Illumina HiSeq platform. The DGGE result showed that the bacteria genera Asaia, Bacillus, Stenotrophomonas, Achromobacter and Serratia coexisted in the guts of RLF1, RLF2 and RLF3, while Cedecea, Burkholderia and Acinetobacter coexisted in the guts of RLF2 and RLF3. However, only the genus Enterococcus existed in the guts of RLF1, and Pantoea, Wolbachia and Tumebacillus in RLF3 larvae. A total of 25 bacterial phyla, 48 classes, 127 orders, 223 families, and 406 genera were identified when using 16s RNA sequencing, with 35 genera coexisted in RLF1, RLF2 and RLF3 larval guts, while 83, 36, 141 unique genera existed in RLF1, RLF2 and RLF3, respectively. The indices of ACE and Shannon were not significantly different among RLF1, RLF2 and RLF3. The dominant bacterial taxa were Proteobacteria, Bacteroidetes and Firmicutes at the phylum level, and Acinetobacter and Wolbachia at the genus level. The relative genus abundance for the genera with relative abundance (≥0.01) was significantly different among RLF1, RLF2 and RLF3. The findings indicated that different rice varieties had significant effects on the relative abundance of gut bacteria in RLF, which could provide new insights into the relationship between insect gut bacteria and their associated host plants.