Myocardial ischemia/reperfusion (i/r) injury contributes to the pathogenesis of numerous diseases. Based on its antioxidant and anti-inflammatory effects, dimethyl fumarate (dMF) has been reported to exert protective effects against i/r. However, to the best of our knowledge, its potential role as a myocardial protective agent in heart disease has received little attention. Previous studies have suggested that dMF may exert its protective effects by activating nuclear factor erythroid 2-related factor 2 (nrf2); however, the exact underlying mechanisms remain to be elucidated. The aim of the present study was to investigate the protective role of dMF in myocardial i/r injury, and to determine the role of nrf2 in mediating the activity of dMF. H9c2 cells were incubated with dMF (20 µM) for 24 h before establishing the i/r model, and were then subjected to myocardial ischemia for 6 h, followed by reperfusion. cell viability, lactate dehydrogenase levels, anti-oxidant enzyme expression levels and anti-apoptotic effects were evaluated, and aKT/nrf2 pathway-associated mechanisms were investigated. The results of the present study indicated that dMF may reduce myocardial i/r injury in a nrf2-dependent manner. dMF significantly improved cellular viability, suppressed the expression of apoptotic markers, decreased the production of reactive oxygen species and increased the expression of nrf2-regulated antioxidative genes. Notably, these beneficial DMF-mediated effects were not observed in the control or i/r groups. in conclusion, the results of the present study suggested that dMF may exert protective effects against a myocardial i/r model, and further validated nrf2 modulation as a primary mode of action. Thus suggesting that dMF may be a potential therapeutic agent for aKT/nrf2 pathway activation in myocardial, and potentially systemic, diseases.