The mechanisms underlying the myocardial protection of valsartan against ischemia/reperfusion (I/R) injury are complicated and remain unclear. The aim of this study was to investigate whether autophagy machinery was involved in the protection against I/R injury that is induced by valsartan. In vivo rat hearts were subjected to ischemia by 30 min ligation of the left anterior descending coronary artery, followed by a 120 min reperfusion. 3‑methyladenine (3‑MA), a specific inhibitor on autophagic sequestration, was used to inhibit autophagy. The hemodynamics, infarct size of the ventricle and LC3B protein were measured. Western blot analysis was performed to investigate the mechanism by which autophagy was induced by valsartan. Valsartan preconditioning resulted in a significant decrease in infarct size and induced autophagy in the rat heart subjected to I/R injury. The hemodynamics assay showed that the valsartan‑induced cardiac functional recovery was attenuated by 3‑MA. By contrast, 3‑MA decreased the improvement induced by valsartan on the histology and infarction of the rat heart subjected to I/R injury. Valsartan preconditioning induced autophagy via the AKT/mTOR/S6K pathway, independent of Beclin1. In conclusion, valsartan preconditioning induced autophagy via the AKT/mTOR/S6K pathway, which contributed to the myocardial protection against I/R injury.