Tumor microenvironment (TME) immune cells and gastric mucosal microbiome constitute two vital elements of tumor tissue. Increasing evidence has elucidated their clinicopathological significance in predicting outcomes and therapeutic efficacy. However, comprehensive characterization of immune cell-associated microbiome signatures in the TME is still in the early stages of development. Here, we characterized the gastric mucosa microbiome and its associations with immune-activated related transcripts (IATs) in 170 GC tumor tissues and matched non-tumor tissues using 16s rRNA gene sequencing and quantitative reverse transcription-PCR. Microbial diversity and richness were significantly higher in GC tumor tissues than in non-tumor tissues. Differences in microbial composition between the groups were evident, with Firmicutes, Proteobacteria, Bacteroidota, Campilobacterota, Actinobacteria, Fusobacteriota, Verrucomicrobiota, Acidobacteriota, and Cyanobacteria being the dominant phyla in the gastric mucosal microbiota. Microbial interaction network analysis revealed distinctive centralities of oral bacteria (such as Fusobacterium, Porphyromonas, Prevotella, etc.) in both tumor and normal mucosae networks, suggesting their significant influence on GC microbial ecology. Furthermore, we analyzed the expression of IATs (CXCL9, CXCL10, GZMA, GZMB, PRF1, CD8A, IFNG, TBX2, and TNF) and characterized IAT-relevant gastric microbiome signatures in GC patients. Our results showed that the expression of CXCL9, CXCL10, GZMA, GZMB, PRF1 and IFNG was significantly higher in tumor tissues than in adjacent normal tissues in GC patients. Notably, high expression of IATs in tumor tissues was associated with improved survival in GC patients and could serve as a powerful predictor for disease-free survival. Additionally, analysis of IAT levels and mucosal microbiota diversity revealed a correlation between higher IAT expression and increased microbiota richness and evenness in the IATs high group, suggesting potential interactions between mucosal microbiota and tumor immunopathology. Spearman correlation analysis showed positive associations between IAT expression and specific mucosal bacterial species. Notably, Akkermansia muciniphila demonstrated potential involvement in modulating GZMB expression in the GC mucosal microenvironment. These findings underscore the importance of mucosal microbiota alterations in GC and suggest potential therapeutic targets focusing on modulating the tumor microbiota for improved clinical outcomes. The detailed characterization of these elements has profound implications for both treatment and survival prediction in GC. We observed that microbial diversity and richness were significantly higher in GC tumor tissues compared to non-tumor tissues. These differences highlight the unique microbial landscape of GC tumors and suggest that the microbiome could influence tumor development and progression. Importantly, our study demonstrated that high expression levels of IATs in GC tumor tissues were associated with improved patient survival. This suggests that IATs not only reflect immune activation but also serve as valuable biomarkers for predicting disease-free survival. The potential of IATs as predictive markers underscores their utility in guiding therapeutic strategies and personalizing treatment approaches. Moreover, the correlation between higher IAT expression and increased microbiota richness and evenness suggests that a diverse and balanced microbiome may enhance immune responses and contribute to better clinical outcomes. These findings highlight the critical need to consider mucosal microbiota alterations in GC management. Targeting the tumor microbiota could emerge as a promising therapeutic strategy, potentially leading to more effective treatments and improved patient outcomes. Understanding and modulating the microbiome's role in GC opens new avenues for innovative therapeutic interventions and personalized medicine. [ABSTRACT FROM AUTHOR]