To uncover the potential mechanisms associated with STAG2 expression in EAC and RAD21 expression in ESCC, we identified the DEGs between high and low STAG2 expression groups in EAC, as well as the DEGs between high and low RAD21 expression groups in ESCC. Here, STAG2 is linked to esophageal squamous cell carcinoma.