Background: Apoptosis is a type of cell death, which can produce abundant mediators to modify the tumor microenvironment. However, relationships between apoptosis, immunosuppression, and immunotherapy resistance of gastric cancer (GC) remain unclear.Methods: Gene expression data and matching clinical information were extracted from TCGA-STAD, GSE84437, GSE34942, GSE15459, GSE57303, ACRG/GSE62254, GSE29272, GSE26253, and IMvigor210 datasets. A consensus clustering analysis based on six apoptosis-related genes (ARGs) was performed to determine the molecular subtypes, and then an apoptosisScore was constructed based on differentially expressed and prognostic genes between molecular subtypes. Estimate R package was utilized to calculate the tumor microenvironment condition. Kaplan-Meier analysis and ROC curves were performed to further confirm the apoptosisScore efficacy.Results: Based on six ARGs, two molecular subgroups with significantly distinct survival and immune cell infiltration were identified. Then, an apoptosisScore was built to quantify the apoptosis index of each GC patient. Next, we investigated the correlations between the clinical characteristics and apoptosisScore using logistic regression. Multivariate Cox analysis shows that low apoptosisScore was an independent predictor of poor overall survival in TCGA and ACRG datasets, and was associated with the higher pathological stage. Meanwhile, low apoptosisScore was associated with higher immune cell, higher ESTIMATEScore, higher immuneScore, higher stromalScore, higher immune checkpoint, and lower tumorpurity, which was consistent with the “immunity tidal model theory”. Importantly, low apoptosisScore was sensitive to immunotherapy. In addition, GSEA indicated that several gene ontology and Kyoto Encyclopedia of Genes and Genomes items associated with apoptosis, several immune-related pathways, and JAK–STAT signal pathway were considerably enriched in the low apoptosisScore phenotype pathway.Conclusion: Our findings propose that low apoptosisScore is a prognostic biomarker, correlated with immune infiltrates, and sensitivity to immunotherapy in GC.