In summary, our analyses suggest that CXCR4 may affect the progression and prognosis of GC by influencing immune infiltration, TMB, CYT, tumor purity, and drug sensitivity. The gene discussed is CXCR4; the disease is neoplasm.