Increasing evidences have found that the interactions between hypoxia, immune response and metabolism status in tumour microenvironment (TME) have clinical importance of predicting clinical outcomes and therapeutic efficacy. This study aimed to develop a reliable molecular stratification based on these key components of TME. The TCGA data set (training cohort) and two independent cohorts from CGGA database (validation cohort) were enrolled in this study. First, the enrichment score of 277 TME-related signalling pathways was calculated by gene set variation analysis (GSVA). Then, consensus clustering identified four stable and reproducible subtypes (AFM, CSS, HIS and GLU) based on TME-related signalling pathways, which were characterized by differences in hypoxia and immune responses, metabolism status, somatic alterations and clinical outcomes. Among the four subtypes, HIS subtype had features of immunosuppression, oxygen deprivation and active energy metabolism, resulting in a worst prognosis. Thus, for better clinical application of this acquired stratification, we constructed a risk signature by using the LASSO regression model to identify patients in HIS subtype accurately. We found that the risk signature could accurately screen out the patients in HIS subtype and had important reference value for individualized treatment of glioma patients. In brief, the definition of the TME-related subtypes was a valuable tool for risk stratification in gliomas. It might serve as a reliable prognostic classifier and provide rational design of individualized treatment, and follow-up scheduling for patients with gliomas.