These data confirmed that the serum IL-6 levels were associated with both irAEs occurrence and treatment effectiveness in GAC and ESCC patients. Here, IL6 is linked to esophageal squamous cell carcinoma.