Honey bees are important pollinators for the conservation of the ecosystem and agricultural products and provide a variety of products important for human use, such as honey, pollen, and royal jelly. Sacbrood disease (SD) is a devastating viral disease in Apis cerana; an effective preventive measure for SD is urgently needed. In this study, the relationship between the gut microbiome of honey bees and SD was investigated by pyrosequencing. Results revealed that sacbrood virus (SBV)-resistant A. cerana strains harbour a unique acetic acid bacterium, Bombella intestini, and the lactic acid bacteria (LAB) Lactobacillus (unclassified)_uc, Bifidobacterium longum, B. catenulatum, Lactococcus lactis, and Leuconostoc mesenteroides in larvae and Hafnia alvei, B. indicum, and the LAB L. mellifer and Lactobacillus HM215046_s in adult bees. Changes in the gut microbiome due to SBV infection resulted in loss of bacteria that could affect host nutrients and inhibit honey bee pathogens, such as Gilliamella JFON_s, Gilliamella_uc, Pseudomonas putida, and L. kunkeei in A. cerana larvae and Frischella_uc, Pantoea agglomerans, Snodgrassella_uc, and B. asteroides in adult bees. These findings provide important information for the selection of probiotics for A. cerana larvae and adults to prevent pathogenic infections and keep honey bees healthy.