Myocardial infarction (MI) is one of the leading causes of heart failure with highly complicated pathogeneses. miR-654-3p has been recognized as a pivotal regulator of controlling cell survival. However, the function of miR-654-3p in cardiomyocytes and MI has yet to be reported. This study aimed to identify the role of miR-654-3p in the regulation of myocardial infarction. To understand the contribution of miR-654-3p on heart function, we generated cardiac-specific knockdown and overexpression mice using AAV9 technology in MI injury. Mechanically, we combined cellular and molecular techniques, pharmaceutical treatment, RNA sequencing, and functional testing to elucidate the potential pathological mechanisms. We identified that mice subjected to MI decreased the expression of miR-654-3p in the border and infarcted area. Mice lacking miR-654-3p in the heart showed some inflammation infiltration and myocardial fibrosis, resulting in a mild cardiac injury. Furthermore, we found a deficiency of miR-654-3p in cardiomyocytes resulted in pyroptotic cell death but not other programmed cell death. Intriguingly, miR-654-3p deficiency aggravated MI-induced cardiac dysfunction, accompanied by higher myocardial fibrosis and cardiac enzymes and augmented pyroptosis activation. Cardiac elevating miR-654-3p prevented myocardial fibrosis and inflammation infiltration and decreased pyroptosis profile, thereby attenuating MI-induced cardiac damage. Using RNA sequence and molecular biological approaches, we found overexpression of miR-654-3p in the heart promoted the metabolic ability of the cardiomyocytes by promoting mitochondrial metabolism and mitochondrial respiration function. Our finding identified the character of miR-654-3p in protecting against MI damage by mediating pyroptosis and mitochondrial metabolism. These findings provide a new mechanism for miR-654-3p involvement in the pathogenesis of MI and reveal novel therapeutic targets.