Plutella xylostella (L.), commonly known as the diamondback moth, is currently a major worldwide pest. Gut bacteria play an important role in the physiology and insecticide resistance of P. xylostella, but little is known about the sources and transmission routes of its gut bacteria. In this study, traditional microbial culture methods were used to analyze the sources and transmission modes of gut bacteria in P. xylostella, which could help develop pest control strategies based on gut bacteria. The main findings are as follows: gut bacterial diversity was significantly higher in P. xylostella-fed radish sprouts than those fed an artificial diet, indicating a potential association between gut bacteria and food bacteria. In addition, sequence analysis revealed the isolation of Enterobacter sp., Pantoea sp., Cedecea sp., and Pseudomonas sp. from both radish sprouts and P. xylostella. Importantly, Enterobacter sp. was found in all tested samples (radish sprouts, gut of P. xylostella, ovaries, and eggs), suggesting that bacteria acquired from food could be transferred from the gut to the ovaries and eggs. This was confirmed through experiments, which also showed that eggs could carry bacteria and transmit them to the gut, indicating vertical transmission of gut bacteria via eggs. Furthermore, the 3rd instar larvae of P. xylostella with and without gut bacteria were mixed and raised until the 4th instar. Then, we found that all the gut of the 4th instar larvae carried the same bacteria, indicating that the gut bacteria of P. xylostella can be horizontally transmitted through social behavior. This study lays a foundation for further exploration of the sources, transmission, and coevolution of the host of gut bacteria in P. xylostella, and provides new insights into pest control strategies based on the source and transmission of gut bacteria.