Herein, we revealed the role of gut microbiota in the development of IBD and related anxiety-like behavior in ERβ-deficient mice. Here, ESR2 is linked to Anxiety.