Sepsis is a life-threatening organ dysfunction caused by the host’s dysfunctional response to infection, and its pathogenesis is still unclear. In view of the complex pathological process of sepsis, finding suitable biomarkers is helpful for the research and treatment of sepsis. This study determined the potential prognostic markers of sepsis by analyzing the molecular characteristics of patients with sepsis. During this study, bioinformatics analysis was conducted on the RNA sequencing data and DNA methylation sites from the public database to determine the prognostic genes related to sepsis, and a 9-gene prognostic signature for sepsis was constructed. According to the risk score, all sepsis samples were divided into two groups. Then, the prediction effect of the 9-gene signature was verified in two cohorts, and the association between these genes and sepsis was further revealed through immune infiltration analysis, gene set enrichment analysis and the relationship between clinical phenotype and survival rate. Our study provided a reliable prognostic signature for sepsis. The signature could predict the survival of patients with sepsis and serve as a predictor.Copyright © 2023 Elsevier Ltd. All rights reserved.