Finally, mediation analyses provided insight into the fact that Firmicutes (phylum) reduced the risk of obstructive hydrocephalus by increasing the concentrations of IL-17A, whereas Eubacterium ruminantium group (genus) potentially increased the risk of normal-pressure hydrocephalus by decreasing the concentrations of IL-27. Here, IL27 is linked to normal pressure hydrocephalus.