Intestinal infections are a major cause of morbidity and mortality in humans and agricultural animals, especially newborns and weaned animals. Preventive treatments that help weaned animals maintain homeostasis and balance the hindgut microbial populations are desirable. The present study aimed to explore the impact of bacitracin methylene disalicylate (BMD) on the intestinal health by analyzing the intestinal environment, morphology, expression of peptidoglycan recognition proteins (PGRPs), and flora of weaned rabbits. A total of 300 New Zealand weaned rabbits were randomly divided into the following five treatment groups for a 35-day feed trial: control group (basal diet), bacitracin zinc (BZ) group (50 mg/kg BZ), BMDa group (100 mg/kg BMD), BMDb group (50 mg/kg BMD), and BMDc group (rabbits fed a basal diet supplemented with 25 mg/kg BMD). In each treatment group, 28 rabbits were slaughtered for experimental analysis. The results showed that the supplementation of BMD increased the environmental acidity of the cecum of the weaned rabbits and reduced the ammonia-nitrogen concentration, which was beneficial to the survival of useful bacteria in the intestine. The morphology analysis of the duodenum using hematoxylin and eosin staining revealed that the villus length, villus/crypt ratio, and intestinal wall thickness increased in the BMD group, thereby improving the structure of the duodenum and the absorption capacity of the small intestine. Moreover, real-time polymerase chain reaction test showed that PGRPs (especially PGLYRP-1 and PGLYRP-2) in the intestinal had an antagonistic effect with BMD in the process of inhibiting pathogenic bacteria, resulting in their decreased expression (P < 0.05). Furthermore, through 16S rRNA sequencing in the cecal content, the abundance of the predominant phyla in the BMDa and BZ groups was found to be the closest. The abundance of the genera Lachnospira, Erysipelotrichaceae (p-75-a5), Paraprevotellaceae (YRC22), Mogibacterium, Peptococcaceae (rc4-4), Anaerovibrio, Succinivibrio, and Sphaerochaeta increased in the BMDa and BZ groups (P < 0.05). The relative abundance of Alistipes, Sedimentibacter, and Dorea significantly increased only in the BMDa group (P < 0.05). Conclusively, BMD, as well as microbes, improved the intestinal environment and structure to maintain the intestinal health of weaned rabbits.