Our results clarify the prognostic value of tumor depth, CD8+ TILs and PD‐L1 TC in patients with preoperatively untreated ESCC. This evidence concerns the gene CD8A and esophageal squamous cell carcinoma.