These results indicated that MAGEA3 is a novel biomarker and correlated with lymph node metastasis and immune infiltrates in GC, which could be a new target for immunotherapy. Here, MAGEA3 is linked to gastric cancer.