The aim of the present study was to investigate the function of microRNA-146b on myocardial infarction and the mechanism. An MTT assay, Annexin V/propidium iodide (PI) apoptosis assay, ELISA kits, western blot analysis and a caspase-3/8 activity assay were used to measure cell growth, vascular apoptosis inflammatory factors, and the B-cell lymphoma 2-associated X protein (Bax), phosphatase and tensin homolog (PTEN), phosphoinositide 3-kinase (PI3K)/Akt/nuclear factor (NF)-κB signaling pathway. The expression of microRNA-146b was downregulated in the myocardial infarction rat model, compared with the control group. In an in vitro model of myocardial infarction, the downregulation of microRNA-146b increased inflammatory factors, vascular apoptosis, caspase-3/8 activity and the protein expression of Bax. MicroRNA-146b reduced vascular apoptosis, caspase-3/8 activity and the protein expression of Bax. MicroRNA-146b also regulated the PI3K/Akt/NF-κB signaling pathway to mediate vascular inflammation and apoptosis in myocardial infarction by PTEN. A PI3K inhibitor decreased the effect of microRNA-146b on vascular inflammation and apoptosis following myocardial infarction. In conclusion, microRNA-146b mediated vascular inflammation and apoptosis in patients with myocardial infarction, which may be associated with activation of the PI3K/Akt/NF-κB signaling pathway by PTEN.