GC is a fatal disease with high heterogeneity and invasiveness. Recently, SPP1 has been reported to be involved in the tumor progression of multiple human cancers; however, the role of SPP1 in GC heterogeneity and whether it is associated with the invasiveness and mortality of GC remain unclear. Here, we combined multiple RNA sequencing approaches to evaluate the impact of SPP1 on GC. Through bulk RNA sequencing (bulk RNA-seq) and immunohistochemistry (IHC), we found that SPP1 was highly expressed in GC, and high levels of SPP1 were associated with macrophage infiltration, an advanced tumor stage, and higher mortality for advanced GC patients. Furthermore, through simultaneous single-cell and spatial analysis, we demonstrated that SPP1+ macrophages are tumor-specific macrophages unique to cancer and enriched in the deep layer of GC tissue. Cell—cell communication analysis revealed that SPP1/CD44 interactions between SPP1+ macrophages and their localized tumor epithelial cells could activate downstream target genes in epithelial cells to promote dynamic changes in intratumor heterogeneity. Moreover, these activated genes were found to be closely associated with poor clinical GC outcomes and with cancer-related pathways that promote GC progression, as shown by survival analysis and enrichment analysis, respectively. Collectively, our study reveals that tumor-specific SPP1+ macrophages drive the architecture of intratumor heterogeneity to evolve with tumor progression and that SPP1 may serve as a prognostic marker for advanced GC patients, as well as a potential therapeutic target for GC.