CD8 + T lymphocytes are important elements of the tumor immune microenvironment (TIME), hence their involvement in the development and progression of tumors is complex. Data on the precise tumor-infiltrating immune cells (TIICs) gene signature in kidney cancer (KIRC) remain limited. Therefore, this study created a TIICs-related predictive model for patients with KIRC using data from The Cancer Genome Atlas (TCGA). The most important genes associated with CD8 + T lymphocytes were identified using weighted gene co-expression network analysis (WGCNA). Functional categories of important genes were revealed using gene ontology (GO) enrichment and Kyoto encyclopedia of genes and genomes (KEGG) signaling pathway analyses. A CD8 + T lymphocyte-related prognostic model with seven important genes was simultaneously created using the least absolute shrinkage and selection operator (LASSO), univariate and multivariate Cox regressions, and the hub genes EOMES, SIRPG, PTPN7, CD3G, APOBEC3G, FASLG, and TIGIT, which were expressed particularly in CD8 + T lymphocytes according to single-cell sequencing data obtained from the Gene Expression Omnibus (GEO). Finally, we used PCR to verify the expression of hub gene in KIRC.This study identified seven genes associated with CD8 + T lymphocytes that may influence risk stratification in patients with KIRC and serve as possible CD8 + T lymphocyte-related biomarkers.