Elevated densities and tighter spatial relationships of both CD4 + and CD8 + T cells were associated with longer overall survival with ESCC. Here, CD4 is linked to esophageal squamous cell carcinoma.