The results demonstrated for the first time that GXYLT2 might play a role during the process of the pathogenesis in gastric cancer via several signaling pathways, and the expression level of GXYLT2 was correlated with infiltrating immune cells. This evidence concerns the gene GXYLT2 and gastric cancer.