These findings suggest a complex interplay between the HPA axis, estrogen receptors, and anxiety and depression-like behaviors. Here, ESR1 is linked to major depressive disorder.