The existing strategies for myocardial infarction therapy mainly focus on reinstating myocardial blood supply, often disregarding the intrinsic and intricate microenvironment created by elevated levels of reactive oxygen species (ROS) that accompanies myocardial infarction. This microenvironment entails cardiomyocytes apoptosis, substantial vascular cell death, excessive inflammatory infiltration and fibrosis. In such situation, the present study introduces a zinc-based nanozyme injectable multifunctional hydrogel, crafted from ZIF-8, to counteract ROS effects after myocardial infarction. The hydrogel exhibits both superoxide dismutase (SOD)-like and catalase (CAT)-like enzymatic activities, proficiently eliminating surplus ROS in the infarcted region and interrupting ROS-driven inflammatory cascades. Furthermore, the hydrogel's exceptional immunomodulatory ability spurs a notable transformation of macrophages into the M2 phenotype, effectively neutralizing inflammatory factors and indirectly fostering vascularization in the infarcted region. For high ROS and demanding for zinc of the infarcted microenvironment, the gradual release of zinc ions as the hydrogel degrades further enhances the bioactive and catalytic performance of the nanozymes, synergistically promoting cardiac function post myocardial infarction. In conclusion, this system of deploying catalytic nanomaterials within bioactive matrices for ROS-related ailment therapy not only establishes a robust foundation for biomedical material development, but also promises a holistic approach towards addressing myocardial infarction complexities. Statement of significanceMyocardial infarction remains the leading cause of death worldwide. However, the existing strategies for myocardial infarction therapy mainly focus on reinstating myocardial blood supply. These therapies often ignore the intrinsic and intricate microenvironment created by elevated levels of reactive oxygen species (ROS). Hence, we designed an injectable Zn-Based nanozyme hydrogel with ROS scavenging activity for myocardial infarction therapy. ALG-(ZIF-8) can significantly reduce ROS in the infarcted area and alleviate the ensuing pathological process. ALG-(ZIF-8) gradually releases zinc ions to participate in the repair process and improves cardiac function. Overall, this multifunctional hydrogel equipped with ZIF-8 makes full use of the characteristics of clearing ROS and slowly releasing zinc ions, and we are the first to test the therapeutic efficacy of Zinc-MOFs crosslinked-alginate hydrogel for myocardial infarction.