Heart failure (HF) remains a common complication after acute ST‐segment elevation myocardial infarction (STEMI). Here, we aim to identify critical genes related to the developed HF in patients with STEMI using bioinformatics analysis. The microarray data of GSE59867, including peripheral blood samples from nine patients with post‐infarct HF and eight patients without post‐infarct HF, were downloaded from the Gene Expression Omnibus database. Differentially expressed genes (DEGs) between HF and non‐HF groups were screened by LIMMA package. Functional enrichment analyses of DEGs were conducted, followed by construction of a protein‐protein interaction (PPI) network. The dynamic messenger RNA (mRNA) level of the hub genes during the follow‐up was analyzed to further elucidate their role in HF development. A total of 58 upregulated and 75 downregulated DEGs were screen out. They were mainly enriched in biological processes about inflammatory response, extracellular matrix organization, response to cAMP, immune response, and positive regulation of cytosolic calcium ion concentration. Pathway analysis revealed that the DEGs were also involved in hematopoietic cell lineage, pathways in cancer, and extracellular matrix‐receptor interaction. In the PPI network consisting of 58 nodes and 72 interactions, CXCL8 (degree = 15), THBS1 (degree = 8), FOS (degree = 7), and ITGA2B (degree = 6) were identified as the hub genes. In the comparison of patients with and without post‐infarct HF, the mRNA level of these hub genes were all higher within 30 days but reached similar at 6 months after STEMI. In conclusion, CXCL8, THBS1, FOS, and ITGA2B may play important roles in the development of HF after acute STEMI.