BackgroundThere is growing evidence of associations between the gut microbiota and anxiety disorders, where changes in gut microbiotas may affect brain function and behavior via the microbiota-gut-brain axis. However, population-level studies offering a higher level of evidence for causality are lacking. Our aim was to investigate the specific gut microbiota and associated metabolites that are closely related to anxiety disorders to provide mechanistic insights and novel management perspectives for anxiety disorders.MethodThis study used summary-level data from publicly available Genome-Wide Association Studies (GWAS) for 119 bacterial genera and the phenotype “All anxiety disorders” to reveal the causal effects of gut microbiota on anxiety disorders and identify specific bacterial genera associated with anxiety disorders. A two-sample, bidirectional Mendelian randomization (MR) design was deployed, followed by comprehensive sensitivity analyses to validate the robustness of results. We further conducted multivariable MR (MVMR) analysis to investigate the potential impact of neurotransmitter-associated metabolites, bacteria-associated dietary patterns, drug use or alcohol consumption, and lifestyle factors such as smoking and physical activity on the observed associations.ResultsBidirectional MR analysis identified three bacterial genera causally related to anxiety disorders: the genus Eubacterium nodatum group and genus Ruminococcaceae UCG011 were protective, while the genus Ruminococcaceae UCG011 was associated with an increased risk of anxiety disorders. Further MVMR suggested that a metabolite-dependent mechanism, primarily driven by tryptophan, tyrosine, phenylalanine, glycine and cortisol, which is consistent with previous research findings, probably played a significant role in mediating the effects of these bacterial genera to anxiety disorders. Furthermore, modifying dietary pattern such as salt, sugar and processed meat intake, and adjusting smoking state and physical activity levels, appears to be the effective approaches for targeting specific gut microbiota to manage anxiety disorders.ConclusionOur findings offer potential avenues for developing precise and effective management approaches for anxiety disorders by targeting specific gut microbiota and associated metabolites.