BackgroundM2-like tumor-associated macrophages (M2-like TAMs) play key roles in tumor progression and the immune response. However, the clinical significance and prognostic value of M2-like TAMs-associated regulatory genes in gastric cancer (GC) have not been clarified.MethodsHerein, we identified M2-like TAM-related genes by weighted gene coexpression network analysis of TCGA-STAD and GSE84437 cohort. Lasso-Cox regression analyses were then performed to screen for signature genes, and a novel signature was constructed to quantify the risk score for each patient. Tumor mutation burden (TMB), survival outcomes, immune cells, and immune function were analyzed in the risk groups to further reveal the immune status of GC patients. A gene-drug correlation analysis and sensitivity analysis of anticancer drugs were used to identify potential therapeutic agents. Finally, we verified the mRNA expression of signature genes in patient tissues by qRT-PCR, and analyzed the expression distribution of these genes by IHC.ResultsA 4-gene (SERPINE1, MATN3, CD36, and CNTN1) signature was developed and validated, and the risk score was shown to be an independent prognostic factor for GC patients. Further analyses revealed that GC patients in the high-risk group had a worse prognosis than those in the low-risk group, with significant differences in TMB, clinical features, enriched pathways, TIDE score, and tumor microenvironment features. Finally, we used qRT-PCR and IHC analysis to verify mRNA and protein level expression of signature genes.ConclusionThese findings highlight the importance of M2-like TAMs, provide a new perspective on individualized immunotherapy for GC patients.