Our findings suggest that ERβ is a protective gene that confers resilience against anxiety in mice with colitis. The gene discussed is ESR2; the disease is colitis.