In this study, we utilized metabolomics to reveal that knocking down GPX4 in GC cells reduces M2 macrophage polarization within the TME by regulating kynurenine levels, thereby inhibiting gastric cancer growth. This evidence concerns the gene GPX4 and gastric cancer.