Background: Gastric cancer patients with microsatellite instability-high (MSI-H) status have a better clinical prognosis and higher response rate to immune checkpoint inhibitors. However, recent studies have suggested that some molecular pathways in MSI-H tumors could affect tumor immune microenvironment (TIME) components, thereby leading to immunotherapy resistance. We aimed to establish subtypes based on the TIME components of MSI-H gastric cancer and analyze the characteristics of each subtype. Methods: Cohorts from the Cancer Genome Atlas, the Asian Cancer Research Group, and Peking University Cancer Hospital were used for this study. CIBERSORT software was used to analyze the TIME components. A set of genes based on the TIME component characteristics, which we named the MSI-TIME signature, was defined using k-means cluster and differentially expressed gene analysis. Results: By using the MSI-TIME signature in the aforementioned cohorts for cluster analysis, the TIME subtypes within MSI-H gastric cancer (MSI-S1, MSI-S2) were established; the differences between the subgroups were reflected in multiple aspects. The MSI-S1 subtype was characterized by a high density of CD8+ T cells, high expression levels of immune checkpoint molecules including PD-L1, PD-L2, CTLA-4, and a high T-cell inflammation level. Patients with the MSI-S1 subtype could also benefit from adjuvant chemotherapy. In contrast, the WNT/β-catenin pathway was enriched in the MSI-S2 subtype. Conclusion: We found that patients with MSI-H gastric cancer showed very different TIME characteristics and could be divided into two subtypes accordingly. These results might benefit MSI-H gastric cancer patients developing individualized treatment strategies in the future.