We found that TILs mainly played a prognostic role in the TN of patients with NSCLC, but in the TS, only CD8+ TILs played an important role in patients with NSCLC. This evidence concerns the gene CD8A and non-small cell lung carcinoma.