Our data suggest an association between specific genes in the EGFR signaling pathway and risk of GC and ESCC. Here, EGFR is linked to gastric cancer.