We discovered that CD8 T cells, activated memory CD4 T cells, Tregs, Tfh cells, resting dendritic cells, macrophages M0 and macrophages M2 infiltration were associated with poor prognosis for ccRCC patients. Here, CD8A is linked to nonpapillary renal cell carcinoma.