Heart failure (HF) affects 60 million people worldwide and has developed into a global public health problem surpassing cancer and urgently needs to be solved. According to the etiological spectrum, HF due to myocardial infarction (MI) has become the dominant cause of morbidity and mortality. Possible treatments include pharmacology, medical device implantation, and cardiac transplantation, which are limited in their ability to promote long-term functional stabilization of the heart. Injectable hydrogel therapy has emerged as a minimally invasive tissue engineering treatment approach. Hydrogels can provide the necessary mechanical support for the infarcted myocardium and serve as carriers of various drugs, bioactive factors, and cells to improve the cellular microenvironment in the infarcted region and induce myocardial tissue regeneration. Herein, the pathophysiological mechanism of HF is explored and injectable hydrogels as a potential solution for current clinical trials and applications are summarized. Specifically, mechanical support hydrogels, decellularized ECM hydrogels, a variety of biotherapeutic agent-loaded hydrogels and conductive hydrogels for cardiac repair were discussed, and the mechanism of action of these hydrogel-based therapies was emphasized. Finally, the limitations and future prospects of injectable hydrogel therapy for HF post MI were proposed to inspire novel therapeutic strategies.