Cardiovascular complications pose a significant burden in type 2 diabetes mellitus (T2DM), driven by the intricate interplay of chronic hyperglycemia, insulin resistance, and lipid metabolism disturbances. Myocardial ischemia/reperfusion (MI/R) injury during cardiopulmonary bypass (CPB) exacerbates cardiac vulnerability. This study aims to probe the role of Caspase-1-dependent pyroptosis in global ischemia/reperfusion injury among T2DM rats undergoing CPB, elucidating the mechanisms underlying heightened myocardial injury in T2DM. This study established a rat model of T2DM and compared Mean arterial pressure (MAP), heart rate (HR), and hematocrit (Hct) between T2DM and normal rats. Myocardial cell morphology, infarction area, mitochondrial ROS and caspase-1 levels, NLRP3, pro-caspase-1, caspase-1 p10, GSDMD expressions, plasma CK-MB, cTnI, IL-1β, and IL-18 levels were assessed after reperfusion in both T2DM and normal rats. The role of Caspase-1-dependent pyroptosis in myocardial ischemia/reperfusion injury during CPB in T2DM rats was examined using the caspase-1 inhibitor VX-765 and the ROS scavenger NAC. T2DM rats demonstrated impaired glucose tolerance but stable hemodynamics during CPB, while showing heightened vulnerability to MI/R injury. This was marked by substantial lipid deposition, disrupted myocardial fibers, and intensified cellular apoptosis. The activation of caspase-1-mediated pyroptosis and increased reactive oxygen species (ROS) production further contributed to tissue damage and the ensuing inflammatory response. Notably, myocardial injury was mitigated by inhibiting caspase-1 through VX-765, which also attenuated the inflammatory cascade. Likewise, NAC treatment reduced oxidative stress and partially suppressed ROS-mediated caspase-1 activation, resulting in diminished myocardial injury. This study proved that Caspase-1-dependent pyroptosis significantly contributes to the inflammation and injury stemming from global MI/R in T2DM rats under CPB, which correlate with the surplus ROS generated by oxidative stress during reperfusion.