Gut microbiota stimulates the immune system and inhibits pathogens, and thus, it is critical for disease prevention. Probiotics represent an effective alternative to antibiotics used for the therapy and prevention of bacterial diseases. Probiotic bacteria are commonly used in vertebrates, although their use in invertebrates is still rare. We manipulated the gut microbiome of the African Armyworm (Spodoptera exempta Walker) using antibiotics and field-collected frass, in an attempt to understand the interactions of the gut microbiome with the nucleopolyhedrovirus, SpexNPV. We found that S. exempta individuals with supplemented gut microbiome were significantly more resistant to SpexNPV, relative to those with a typical laboratory gut microbiome. Illumina MiSeq sequencing revealed the bacterial phyla in the S. exempta gut belonged to 28 different classes. Individuals with an increased abundance of Lactobacillales had a higher probability of surviving viral infection. In contrast, there was an increased abundance of Enterobacteriales and Pseudomonadales in individuals dying from viral infection, corresponding with decreased abundance of these two Orders in surviving caterpillars, suggesting a potential role for them in modulating the interaction between the host and its pathogen. These results have important implications for laboratory studies testing biopesticides.