This study evaluated whether empagliflozin (EMPA) protects the pancreas from diabetes mellitus-induced injury by downregulating the nucleotide-binding oligomerization domain-like receptor protein 3 (NLRP3)/caspase-1/Gasdermin D (GSDMD) pyroptosis-related inflammasome pathway in vitro and in vivo. This evidence concerns the gene GSDMD and diabetes mellitus.