In China, Banxia Xiexin decoction (BXD) is applied to treat diabetic gastroparesis (DGP), but its key active ingredients and mechanisms against DGP are unclear. This study is designated to reveal the molecular mechanisms of BXD in treating DGP by adopting a creative approach known as network pharmacology to explore the active ingredients and therapeutic targets of BXD. In our study, 730 differentially expressed genes of DGP were obtained, and 30 potential targets of BXD against DGP were screened out (including ADRB2, DRD1, FOS, MMP9, FOSL1, FOSL2, JUN, MAP2, DRD2, MYC, F3, CDKN1A, IL6, NFKBIA, ICAM1, CCL2, SELE, DUOX2, MGAM, THBD, SERPINE1, ALOX5, CXCL11, CXCL2, CXCL10, RUNX2, CD40LG, C1QB, MCL1, and ADCYAP1). Based on the findings, BXD contains 60 compounds with therapeutic effect on DGP, including the key active ingredients such as quercetin, wogonin, baicalein, beta-sitosterol, and kaempferol. Sixty-eight pathways including TNF signaling pathway, IL-17 signaling pathway, and AGE-RAGE signaling pathway were significantly enriched. In this study, the mechanisms of BXD in treating DGP are affirmed to be a complex network with multi-target and multi-pathway, which provides a reference for future experimental studies.