The present study aimed to investigate the protective effect of luteolin on heart failure after myocardial infarction in rats and the mechanism. Eighty rats were randomly divided into sham-operated, model and low-, middle- and high-dose luteolin groups. The myocardial infarction model was established in latter four groups. Then, the latter three groups were treated with 5, 10, and 20 mg/kg luteolin for four weeks, respectively. After treatment, compared with model group, in high-dose luteolin group the left ventricular echocardiographic parameters and hemodynamic parameters were obviously improved, the serum B-type brain natriuretic peptide and angiotensin II levels were significantly decreased, the myocardial apoptosis rate was significantly decreased, the myocardial B-cell lymphoma-2 protein expression level was significantly increased, the myocardial B-cell lymphoma-2 associated X protein expression level was significantly decreased, the myocardial microtubule-associated protein 1 light chain 3-II and Beclin-1 protein expression levels were significantly decreased, and the myocardial p62 protein expression level was significantly increased. In conclusion, the luteolin treatment can mitigate the heart failure after myocardial infarction in rats. The mechanism may be related to regulation of myocardial apoptosis and autophagy.