Acute pancreatitis (AP) is one of the most common causes of hospitalization for gastrointestinal diseases, with high morbidity and mortality. Endoplasmic reticulum stress (ERS) and Gasdermin D (GSDMD) mediate AP, but little is known about their mutual influence on AP. Diosgenin has excellent anti-inflammatory and antioxidant effects. This study investigated whether Diosgenin derivative D (Drug D) inhibits L-arginine-induced acute pancreatitis through meditating GSDMD in the endoplasmic reticulum (ER). Our studies were conducted in a mouse model of L-arginine-induced AP as well as in an in vitro model on mouse pancreatic acinar cells. The GSDMD accumulation in ER was found in this study, which caused ERS of acinar cells. GSDMD inhibitor Disulfiram (DSF) notably decreased the expression of GSDMD in ER and TXNIP/HIF-1α signaling. The molecular docking study indicated that there was a potential interaction between Drug D and GSDMD. Our results showed that Drug D significantly inhibited necrosis of acinar cells dose-dependently, and we also found that Drug D alleviated pancreatic necrosis and systemic inflammation by inhibiting the GSDMD accumulation in the ER of acinar cells via the TXNIP/HIF-1α pathway. Furthermore, the level of p-IRE1α (a marker of ERS) was also down-regulated by Drug D in a dose-dependent manner in AP. We also found that Drug D alleviated TXNIP up-regulation and oxidative stress in AP. Moreover, our results revealed that GSDMD-/- mitigated AP by inhibiting TXNIP/HIF-1α. Therefore, Drug D, which is extracted from Dioscorea zingiberensis, may inhibit L-arginine-induced AP by meditating GSDMD in the ER by the TXNIP /HIF-1α pathway.