In ESCC cell lines, metformin significantly inhibited PD-L1 expression through the IL-6/JAK2/STAT3 pathway, not the canonical AMPK pathway. Here, IL6 is linked to esophageal squamous cell carcinoma.