Herein, we revealed the role of gut microbiota in the development of IBD and related anxiety-like behavior in ERβ-deficient mice. This evidence concerns the gene ESR2 and inflammatory bowel disease.