Gut microbiota is associated with the growth of various tumors, including malignant gliomas, through the brain-gut axis. Moreover, the gut microbiota in patients with malignant tumors may considerably differ from those with benign tumors. However, the associations of gut microbiota with benign and malignant brain tumors remain unclear. Hence, in order to explore these underlying relationships, patients with benign meningioma (n = 32), malignant glioma (n = 27), and healthy individuals (n = 41) were selected to participate in this study. The results showed that the diversity of the microbial ecosystem in brain tumor patients were less than the healthy controls, while no significant differences were observed between the meningioma and glioma groups. The microbial composition also differed significantly between individuals with brain tumors and healthy participants. In meningioma group, pathogenic bacteria like
Enterobacteriaceae
were
increased
, whereas certain carcinogenic bacteria were overrepresented in the glioma group, including
Fusobacterium
and
Akkermansia
. Furthermore, benign and malignant brain tumor patients lacked SCFA-producing probiotics.
Thus
, a microbial biomarker panel including
Fusobacterium, Akkermansia, Escherichia/Shigella, Lachnospira, Agathobacter
, and
Bifidobacterium
was established. Diagnostic models confirmed that this panel could distinguish between brain tumor patients and healthy patients. Additionally, gut microbiota can affect the differentiation and proliferation of brain tumors via several metabolic pathways based on annotations from the Kyoto Encyclopedia of Genes and Genomes (KEGG). This is the first study designed to investigate whether gut microbiota differs between benign and malignant brain tumor patients, and our work concluded that intestinal flora is a valuable tool for the diagnosis and treatment of brain tumors.