The ~80 amino acid A box DNA-binding domain of high mobility group box 1 (HMGB1) protein antagonizes proinflammatory responses during myocardial ischemia reperfusion (I/R) injury. The exact role of microRNA-21 (miR-21) is unknown, but its altered levels are evident in I/R injury. This study examined the roles of HMGB1 A-box and miR-21 in rat myocardial I/R injury model. Sixty Sprague-Dawley rats were randomly divided into six equal groups: (1) Sham; (2) I/R; (3) Ischemic postconditioning (IPost); (4) AntagomiR-21 post-treatment; (5) Recombinant HMGB1 A-box pretreatment; and (6) Recombinant HMGB1 A-box + antagomiR-21 post-treatment. Hemodynamic indexes, arrhythmia scores, ischemic area and infarct size, myocardial injury, and related parameters were studied. Expression of miR-21 was detected by real-time quantitative polymerase chain reaction (qRT-PCR) and terminal deoxynucleotidyl transferase dUTP nick end labeling (TUNEL) assay was used to quantify apoptosis. Left ventricular systolic pressure (LVSP), left ventricular end diastolic pressure (LVEDP), maximal rate of pressure rise (+dp/dtmax), and decline (-dp/dtmax) showed clear reduction upon treatment with recombinant HMGB1 A-box. Arrhythmia was relieved and infarct area decreased in the group pretreated with recombinant HMGB1 A-box, compared with other groups. Circulating lactate dehydrogenase (LDH) and malondialdehyde (MDA) levels increased in response to irreversible cellular injury, while creatine kinase MB isoenzymes (CK-MB) and superoxide dismutase (SOD) activities were reduced in the I/R group, which was reversed following recombinant HMGB1 A-box treatment. Interestingly, pretreatment with recombinant HMGB1 A-box showed the most dramatic reductions in miR-21 levels, compared with other groups. Significantly reduced apoptotic index (AI) was seen in recombinant HMGB1 A-box pretreatment group and recombinant HMGB1 A-box + antagomiR-21 post-treatment group, with the former showing a more dramatic lowering in AI than the latter. Bax, caspase-8, and CHOP showed reduced expression, and Bcl-2 and p-AKT levels were upregulated in recombinant HMGB1 A-box pretreatment group. Thus, recombinant HMGB1 A-box treatment protects against I/R injury and the mechanisms may involve inhibition of miR-21 expression.