In our study, we analyzed the relationship between the risk score and tumor-infiltrating immune cells and found that the high-risk group had higher proportion of CD8+ T cells, T follicular helper cells, and regulatory T cells and lower proportion of naïve B cells and resting mast cells in ccRCC microenvironment compared with the low-risk group, which revealed the immunological environment of ccRCC is associated with our immune-related signature. Here, CD8A is linked to nonpapillary renal cell carcinoma.