In conclusion, our study reveals details related to the spatial dynamics of CD39+PD-1+ Tex cells in ESCC following ICB therapy. Here, ENTPD1 is linked to esophageal squamous cell carcinoma.