Peripheral blood CD4+CD45RA− T cell was associated with the prognosis of patients with NSCLC applying ICIs, whereas CD8+CD38+ T cell was associated with irAEs and severe irAEs. This evidence concerns the gene CD8A and non-small cell lung carcinoma.