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, CD8A is linked to neoplasm.