BackgroundTraditional Chinese medicine, particularly Shuangshen Ningxin Capsule (SSNX), has been studied intensely. SSNX includes total ginseng saponins (from Panax ginseng Meyer), total phenolic acids from Salvia miltiorrhiza Bunge, and total alkaloids from Corydalis yanhusuo W. T. Wang. It has been suggested to protect against myocardial ischemia by a mechanism that has not been fully elucidated. MethodsThe composition and content of SSNX were determined by UHPLC-Q-TOFQ-TOF / MS. Then, a rat model of myocardial ischemia-reperfusion injury was established, and the protective effect of SSNX was measured. The protective mechanism was investigated using spatial metabolomics. ResultsWe found that SSNX significantly improved left ventricular function and ameliorated pathological damages in rats with myocardial ischemia-reperfusion injury. Using matrix-assisted laser desorption ionization time-of-flight mass spectrometry (MALDI-TOF MS), the protective mechanism of SSNX was examined by comparing the monomer components of drugs targeted in myocardial tissue with the distribution of myocardial energy metabolism-related molecules and phospholipids. Interestingly, some lipids display inconsistent content distribution in the myocardial ischemia risk and non-risk zones. These discrepancies reflect the degree of myocardial injury in different regions. ConclusionThese findings suggest that SSNX protects against myocardial ischemia-reperfusion injury by correcting abnormal myocardial energy metabolism, changing the levels and distribution patterns of phospholipids, and stabilizing the structure of the myocardial cell membrane. MALDI-TOF MS can detect the spatial distribution of small molecule metabolites in the myocardium and can be used in pharmacological research.