For the first time, our study validated the prognostic significance of RILPL2 and elucidated the association between RILPL2 expression and CD4 + and CD8 + T cell infiltration within the real-world context of NSCLC. This evidence concerns the gene CD8A and non-small cell lung carcinoma.