Tumor depth, CD8, and PD‐L1 TC were independent prognostic factors in ESCC, and a predictive nomogram with these three risk factors improved the accuracy of predicting OS in patients with ESCC after surgical resection. Here, CD274 is linked to neoplasm.