Metabolomics has recently undergone rapid development; however, metabolomic analysis in cerebrospinal fluid (CSF) is not a common practice. We analyzed the metabolite profiles of preoperative CSF samples from 32 patients with histologically confirmed glioma using gas chromatography/mass spectrometry (GC/MS). We assessed how alterations in the metabolite levels were related to the World Health Organization (WHO) tumor grades, tumor location, gadolinium enhancement on magnetic resonance imaging (MRI), and the isocitrate dehydrogenase (IDH) mutation status. Sixty-one metabolites were identified in the CSF from glioma patients using targeted, quantitative and non-targeted, semi-quantitative analysis. The citric and isocitric acid levels were significantly higher in the glioblastoma (GBM) samples than in the grades I-II and grade III glioma samples. In addition, the lactic and 2-aminopimelic acid levels were relatively higher in the GBM samples than in the grades I-II glioma samples. The CSF levels of the citric, isocitric, and lactic acids were significantly higher in grade I-III gliomas with mutant IDH than in those with wild-type IDH. The tumor location and enhancement obtained using MRI did not significantly affect the metabolite profiles. Higher CSF levels of lactic acid were statistically associated with a poorer prognosis in grades III-IV malignant gliomas. Our study suggests that the metabolomic analysis of CSF from glioma patients may be useful for predicting the glioma grade, metabolic state, and prognosis of gliomas.