In this study, we showed that knockdown of CXCL12 could inhibit the invasion ability and improve the sensitivity of gastric cancer to anti-PD-1 therapy. The gene discussed is CXCL12; the disease is gastric cancer.