In conclusion, this study effectively discerned CDKN2A as a biomarker linked to immunity and PD-1 in colorectal cancer. This evidence concerns the gene CDKN2A and colorectal cancer.