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. The gene discussed is CD38; the disease is non-small cell lung carcinoma.