Using existing gene expression data in the Gene Expression Omnibus (GEO) database, we screened differentially expressed genes (DEGs) of heart failure and identified six key genes (HMOX2, SERPINA3, LCN6, CSDC2, FREM1, and ZMAT1) by random forest classifier. Here, ZMAT1 is linked to heart failure.