Heart failure (HF) is a global pandemic cardiovascular disease with increasing prevalence, but the pathogenesis remains to be elucidated. The present study aimed to investigate the underlying mechanism in heart failure (HF) using bioinformatics and experimental validation. A HF-associated dataset GSE84796 was downloaded from the Gene Expression Omnibus database and differentially expressed genes (DEGs) were screened for using Bayes method in the Limma package. Kyoto Encyclopedia of Genes and Genomes pathway analysis was used to perform pathway enrichment analysis of these DEGs using The Database for Annotation, Visualization and Integrated Discovery. A protein-protein interaction (PPI) network of DEG-encoded proteins was subsequently constructed using the Search tool for the Retrieval of Interacting Genes/Proteins, and a transcription factor (TF)/miRNA-target network was constructed according to the WEB-based Gene SeT AnaLysis Tookit. The expression levels of microRNA (miRNA/miR)-155, G-protein coupled receptor 18 (GRP18) and E26 transformation-specific transcription factor 2 (ETS2) were analyzed in clinical HF samples, and functional validations were performed in H9c2 (2-1) cells. A total of 419 DEGs were identified, including 366 upregulated genes and 53 downregulated genes. The upregulated DEGs were significantly enriched in the pathways of 'cytokine-cytokine receptor interaction', 'natural killer cell mediated cytotoxicity' and 'primary immunodeficiency'. A total of two functional modules were identified in the PPI network: Module A was enriched in 3 KEGG pathways and module B was enriched in 15 KEGG pathways. Furthermore, a total of three miRNAs and eight TFs were identified in the TF/miRNA-target network. Specifically, GPR18 was discovered to be targeted by both ETS2 and miR-155. Clinical validation revealed that the expression levels of miR-155 were significantly decreased in the HF samples, whereas the expression levels of ETS2 and GPR18 were significantly increased in HF samples. In conclusion, the present study suggested that GPR18 may be a target of ETS2 and miR-155, and miR-155 may regulate cell viability and apoptosis in H9c2 (2-1) cells through targeting and regulating GPR18.