Conclusion: Five immune-associated candidate hub genes (CLEC5A, KLRB1, LCN2, MCEMP1, and MMP9) were recognized, and the nomogram for the diagnosis of ROP with sepsis was developed. Here, KLRB1 is linked to Sepsis.