Meanwhile, the SPP1<sup>hi</sup> macrophages were predominantly found in the early stages after MI, and cell communication analysis indicated that SPP1<sup>hi</sup> macrophage-RCFs interactions are mainly involved in collagen deposition and scar formation.<h4>Conclusions</h4>Overall, this study comprehensively analyzed the dynamics of fibroblast and macrophage subsets after MI and identified specific subsets of fibroblasts and macrophages involved in scar formation and collagen deposition. Here, SPP1 is linked to myocardial infarction.