BackgroundCommensal microorganisms are widely distributed in insect gut tissues and play important roles in host nutrition, metabolism, reproductive regulation, and especially immune functioning and tolerance to pathogens. Consequently, gut microbiota represent a promising resource for the development of microbial‐based products for pest control and management. However, the interactions among host immunity, entomopathogen infections, and gut microbiota remain poorly understood for many arthropod pests.ResultsWe previously isolated an Enterococcus strain (HcM7) from Hyphantria cunea larvae guts that increased the survival rates of larvae challenged with nucleopolyhedrovirus (NPV). Here, we further investigated whether this Enterococcus strain stimulates a protective immune response against NPV proliferation. Infection bioassays demonstrated that re‐introduction of the HcM7 strain to germfree larvae preactivated the expression of several antimicrobial peptides (particularly H. cunea gloverin 1, HcGlv1), resulting in the significant repression of virus replication in host guts and hemolymph, and consequently improved host survivorship after NPV infection. Furthermore, silencing of the HcGlv1 gene by RNA interference markedly enhanced the deleterious effects of NPV infection, revealing a role of this gut symbiont‐induced gene in host defenses against pathogenic infections.ConclusionThese results show that some gut microorganisms can stimulate host immune systems, thereby contributing to resistance to entomopathogens. Furthermore, HcM7, as a functional symbiotic bacteria of H. cunea larvae, may be a potential target for increasing the effectiveness of biocontrol agents against this devastating pest. © 2023 Society of Chemical Industry.