Acute myocardial infarction is a life-threatening condition with high mortality and complication rates. Although myocardial reperfusion can preserve ischemic myocardial tissue, it frequently exacerbates tissue injury, a phenomenon known as ischemia-reperfusion injury (IRI). However, the underlying pathological mechanisms of IRI remain to be completely understood. Ferroptosis is a novel type of regulated cell death that is associated with various pathological conditions, including angiocardiopathy. The purpose of this article was to elucidate the possible mechanistic role of ferroptosis in IRI through bioinformatics analysis and experimental validation. Healthy and IRI heart samples were screened for differentially expressed ferroptosis-related genes and functional enrichment analysis was performed to determine the potential crosstalk and pathways involved. A protein-protein interaction network was established for IRI, and 10 hub genes that regulate ferroptosis, including HIF1A, EGFR, HMOX1, and ATF3 were identified. In vitro, an anoxia/reoxygenation (A/R) injury model was established using H9c2 cardiomyoblasts to validate the bioinformatics analysis results, and extensive ferroptosis was detected. A total of 4 key hub genes and 3 key miRNAs were also validated. It was found that IRI was related to the aberrant infiltration of immune cells and the small-molecule drugs that may protect against IRI by preventing ferroptosis were identified. These results provide novel insights into the role of ferroptosis in IRI, which can help identify novel therapeutic targets.