In summary, our findings reveal that PITX2 is significantly linked to unfavorable outcomes in gastric cancer and modulates the expression of lysosomal exocytic genes, including MCOLN1 and RAB3A, which enhance the secretion of LGALS1 and IGFBP7. This evidence concerns the gene LGALS1 and gastric cancer.