Background: Vitamins not only play a pivotal role in maintaining homeostasis of the body, but also have complex impacts on the occurrence and progression of tumors. However, the effects of vitamins on glioma and the underlying mechanism have not been fully elucidated. Methods: Vitamin -related genes were extracted from the Molecular Signature Database v7.1 (MSigDB). The overlapping overall survival (OS)-related genes in The Cancer Genome Atlas (TCGA), the Chinese Glioma Genome Atlas (CGGA), and GSE16011 cohorts screened out by univariate COX regression analysis were utilized to construct a risk model based on the TCGA cohort via random survival forest analysis and multivariate COX regression analysis. The powerful prognostic predictive potential of the vitamin-related risk signature was verified by KaplanâMeier survival analysis and receiver operating characteristic (ROC) analysis in the three datasets. The ssGSEA method of the GSVA package was used for functional enrichment and immune cell component analyses. ESTIMATE score analysis was used for auxiliary analysis of glioma immune characteristics. A nomogram was constructed and assessed based on the TCGA dataset.Results: The vitamin-related six-gene (POSTN, IRX5, EEF2, RAB27A, MDM2, and ENO1) risk signature constructed based on the TCGA dataset accurately predicted the outcomes of glioma patients and credibly distinguished between different levels and molecular subtypes of glioma in the TCGA, CGGA, and GSE16011 cohorts. Gliomas with high risk scores exhibited high immune scores, low tumor purity, and immunosuppressive features. The nomogram constructed by combining the vitamin-related risk signature and clinicopathological factors precisely predicted the 1-, 3-, and 5-year OS of glioma patients.Conclusions: Our study revealed that the vitamin-related six-gene risk signature, as an independent prognostic factor, could accurately distinguish the grade, molecular subtype, and immune characteristics of glioma.