In this study, we provide evidence that ERβ deficiency results in multiple behavioral abnormalities indicative of anxiety, impaired gut microbiota composition in mice, and increased susceptibility to DSS-induced colitis. Here, ESR2 is linked to colitis.