We identified 12 differentially expressed m6A genes (WTAP, ZC3H13, RBM15B, YTHDC1, YTHDF1, YTHDF3, HNRNPC, FMR1, LRPPRC, IGFBP1, ELAVL1, and FTO) between MI patients and healthy controls and used them to establish a disease diagnosis model of MI using the random forest method, and we validated the feasibility of this model. This evidence concerns the gene IGFBP1 and myocardial infarction.