Taken together, four ERRGs were identified as diagnostic biomarkers for sepsis in the present study, including SET, LPIN1, TXN, and CD74. The analysis of immune infiltration further proved the immune mechanism in sepsis pathogenesis, providing strong support for four biomarkers for sepsis diagnosis. Here, CD74 is linked to Sepsis.