This study aimed to parallelly investigate the cardioprotective activity of Cinnamomi Ramulus formula granules(CRFG) and Cinnamomi Cortex formula granules(CCFG) against acute myocardial ischemia/reperfusion injury(MI/RI) and the underlying mechanism based on the efficacy of "warming and coordinating the heart Yang". Ninety male SD rats were randomly divided into a sham group, a model group, CRFG low and high-dose(0.5 and 1.0 g·kg~(-1)) groups, and CCFG low and high-dose(0.5 and 1.0 g·kg~(-1)) groups, with 15 rats in each group. The sham group and the model group were given equal volumes of normal saline by gavage. Before modeling, the drug was given by gavage once a day for 7 consecutive days. One hour after the last administration, the MI/RI rat model was established by ligating the left anterior descending artery(LAD) for 30 min ischemia followed by 2 h reperfusion except the sham group. The sham group underwent the same procedures without LAD ligation. Heart function, cardiac infarct size, cardiac patho-logy, cardiomyocyte apoptosis, cardiac injury enzymes, and inflammatory cytokines were determined to assess the protective effects of CRFG and CCFG against MI/RI. The gene expression levels of nucleotide-binding oligomerization domain-like receptor family pyrin domain protein 3(NLRP3) inflammasome, apoptosis-associated speck-like protein containing a CARD(ASC), cysteinyl aspartate specific proteinase-1(caspase-1), Gasdermin-D(GSDMD), interleukin-1β(IL-1β), and interleukin-18(IL-18) were determined by real-time quantitative polymerase chain reaction(RT-PCR). The protein expression levels of NLRP3, caspase-1, GSDMD, and N-GSDMD were determined by Western blot. The results showed that both CRFG and CCFG pretreatments significantly improved cardiac function, decreased the cardiac infarct size, inhibited cardiomyocyte apoptosis, and reduced the content of lactic dehydrogenase(LDH), creatine kinase MB isoenzyme(CK-MB), aspartate transaminase(AST), and cardiac troponin Ⅰ(cTnⅠ). In addition, CRFG and CCFG pretreatments significantly decreased the levels of IL-1β, IL-6, and tumor necrosis factor-α(TNF-α) in serum. RT-PCR results showed that CRFG and CCFG pretreatment down-regulated the mRNA expression levels of NLRP3, caspase-1, ASC, and downstream pyroptosis-related effector substances including GSDMD, IL-18, and IL-1β in cardiac tissues. Western blot revealed that CRFG and CCFG pretreatments significantly decreased the protein expression levels of NLRP3, caspase-1, GSDMD, and N-GSDMD in cardiac tissues. In conclusion, CRFG and CCFG pretreatments have obvious cardioprotective effects on MI/RI in rats, and the under-lying mechanism may be related to the inhibition of NLRP3/caspase-1/GSDMD signaling pathway to reduce the cardiac inflammatory response.