Although the lack of estrogen receptor β (ERβ) is a risk factor for the development of inflammatory bowel disease (IBD) and psychiatric disorders, the underlying cellular and molecular mechanisms are not fully understood. Here, ESR2 is linked to psychiatric disorder.