The aim of the present study was to determine the effect of microRNA (miR)-132 on cardiac fibrosis in myocardial infarction (MI)-induced heart failure and angiotensin (Ang) II-treated cardiac fibroblasts (CFs). Experiments were carried out in Sprague-Dawley rat treatment with ligation of left coronary artery to induce heart failure, and in CFs administration of Ang II to induce fibrosis. The level of miR-132 was increased in the heart of rats with MI-induced heart failure and the Ang II-treated CFs. In MI rats, left ventricle (LV) ejection fraction, fractional shortening, the maximum of the first differentiation of LV pressure (LV +dp/dtmax) and decline (LV -dp/dtmax) and LV systolic pressure (LVSP) were reduced, and LV end-systolic diameter (LVESD), LV end-diastolic diameter (LVEDD), LV volumes in systole (LVVS) and LV volumes in diastole (LVVD) were increased, which were reversed by miR-132 agomiR but deteriorated by miR-132 antagomiR. The expression levels of collagen I, collagen III, transforming growth factor-β (TGF-β), and α-smooth muscle actin (α-SMA) were increased in the heart of rat with MI-induced heart failure and CFs administration of Ang II. These increases were inhibited by miR-132 agomiR but enhanced by miR-132 antagomiR treatment. MiR-132 inhibited PTEN expression, and attenuated PI3K/Akt signal pathway in CFs. These results indicated that the upregulation of miR-132 improved the cardiac dysfunction, attenuated cardiac fibrosis in heart failure via inhibiting PTEN expression, and attenuating PI3K/Akt signal pathway. Upregulation of miR-132 may be a strategy for the treatment of heart failure and cardiac fibrosis.