Cardiovascular diseases (CVDs) have become the leading global burden of diseases in recent years and are the primary cause of human mortality and loss of healthy life expectancy. Myocardial infarction (MI) is the top cause of CVDs-related deaths, and its incidence is increasing worldwide every year. Recently, hydrogels have garnered great interest from researchers as a promising therapeutic option for cardiac tissue repair after MI. This is due to their excellent properties, including biocompatibility, mechanical properties, injectable properties, anti-inflammatory properties, antioxidant properties, angiogenic properties, and conductive properties. This review discusses the advantages of hydrogels as a novel treatment for cardiac tissue repair after MI. The design strategies of various hydrogels in MI treatment are then summarized, and the latest research progress in the field is classified. Finally, the future perspectives of this booming field are also discussed at the end of this review.