In summary, we performed a comprehensive analysis of CD8+ T-cell populations and identified hub genes in CRC patients, laying a foundation for clinical prognosis and the application of immunotherapy and providing potential diagnostic and therapeutic targets. Here, CD8A is linked to colorectal carcinoma.