We identified that TCF7L2 rs290481, INS rs689, and INSR rs1799817 SNPs increased the susceptibility of AEG in different cancer stage subgroups. Here, TCF7L2 is linked to cancer.