In this study, we prepared a mouse MI model and intraperitoneally injected M-CSF to investigate its effects and mechanisms on myocardial injury by regulating cardiac macrophages through the P2X7R signaling pathway. Here, CSF1 is linked to myocardial infarction.