We investigated the spatial distribution and density of CD3+ and CD8+ cells in a large, population-based cohort of 983 colorectal cancer patients and an independent validation cohort of 246 colorectal cancer cases. Here, CD8A is linked to colorectal cancer.