We mapped the spatiotemporal heterogeneity of cellular phenotypes in the adult heart upon IRI, and uncovered H3K9me3 in endothelial cells as a potential therapeutic target for alleviating pathological remodeling of the heart following myocardial IRI.