Rap1 GTPase-activating protein (Rap1GAP) is an important tumor suppressor. The purpose of this study was to investigate the role of Rap1GAP in myocardial infarction (MI) and its potential mechanism. Left anterior descending coronary artery ligation was performed on cardiac-specific Rap1GAP conditional knockout (Rap1GAP-CKO) mice and control mice with MI. Seven days after MI, Rap1GAP expression in the hearts of control mice peaked, the expression of proapoptotic markers (Bax and cleaved caspase-3) increased, the expression of antiapoptotic factors (Bcl-2) decreased, and the expression of the inflammatory factors IL-6 and TNF-α increased; thus, apoptosis occurred, inflammation, infarct size, and left ventricular dysfunction increased, while the heart changes caused by MI were alleviated in Rap1GAP-CKO mice. Mouse heart tissue was obtained for transcriptome sequencing, and gene set enrichment analysis (GSEA) was used to analyze Gene Ontology (GO) and Kyoto Encyclopedia of Genes and Genomes (KEGG) pathways. We found that Rap1GAP was associated with the AMPK and NF-κB signaling pathways and that Rap1GAP inhibited AMPK/SIRT1 and activated the NF-κB signaling pathway in model animals. Similar results were observed in primary rat myocardial cells subjected to oxygen–glucose deprivation (OGD) to induce ischemia and hypoxia. Activating AMPK with the AMPK activator 5-aminoimidazole-4-carboxamide ribonucleoside (AICAR) reversed the damage caused by Rap1GAP overexpression in cardiomyocytes. In addition, the coimmunoprecipitation results showed that exogenous Rap1GAP interacted with AMPK. Rap1GAP was verified to regulate the AMPK SIRT1/NF-κB signaling pathway and exacerbate the damage to myocardial cells caused by ischemia and hypoxia. In conclusion, our results suggest that Rap1GAP promotes MI by modulating the AMPK/SIRT1/NF-κB signaling pathway and that Rap1GAP may be a therapeutic target for MI treatment in the future.