Empagliflozin treatment before acute myocardial infarction mainly targets the endothelial cell transcriptome. Empagliflozin treatment before and after myocardial infarction decreased no reflow and microvascular injury, leading to reduced infiltration of inflammatory cells, reduced infarct size, and improved cardiac function in mice. In diabetic patients receiving empagliflozin after myocardial infarction, perfused boundary region, flow-mediated dilation, and global longitudinal strain were improved.