The Cancer Genome Atlas (TCGA) database (N = 356) and Fudan University Shanghai Cancer Center (FUSCC) cohort of patients (N = 276) were adopted to analyze the prognostic value of PD-L1 in colorectal tumor cells (TCs) and of PD-1 in tumor infiltrating cells (TILs) for CRC. Here, CD274 is linked to colorectal carcinoma.