This study is aimed at investigating the effect of emodin on myocardial ischemia-reperfusion injury (MIRI) and mechanism. Eighty healthy adult male SD rats (weighing 230-250 g) were utilized to establish I/R model, which were randomly divided into five groups (16 rats in each group): sham operation group, myocardial ischemia-reperfusion injury group (I/R group), emodin group, emodin +NC group, and emodin +XIST group. The contents of CK, CK-MB, LDH, and HBDH in serum were determined by ELISA kit. LDH was detected by ELISA assay, SOD was detected by the xanthine oxidase method, and MDA was detected by the thiobarbituric acid method. The relative expression of XIST and miR-217 was evaluated by RT-qPCR. Western blot was applied to detect the protein expression. Flow cytometry was applied to detect cardiomyocyte apoptosis. Myocardial infarction area was obviously increased in I/R model rats, while emodin decreased the myocardial infarction in I/R model rats. In addition, cardiac enzymes (CK, CK-MB, LDH, and HBDH) and apoptosis were obviously increased in MIRI model rats, while emodin obviously decreased cardiac enzymes and apoptosis. The ROS and MDA levels were raised while the activities of SOD were declined in the I/R model group. The ROS and MDA levels were decreased while the activities of SOD were raised in the emodin group. The XIST expression was markedly raised in the I/R model group while decreased in the emodin group, and the overexpression of XIST reversed the protective effect of emodin on myocardial infarction, oxidative stress, and cardiomyocyte apoptosis. In addition, XIST directly regulated the expression of miR-217, and si-XIST inhibited H/R-induced oxidative damage of cardiomyocytes via inhibiting miR-217. Emodin protected MIRI both in vitro and in vivo via inhibiting lncRNA XIST to upregulate miR-217.