Therefore, Ahi1 regulates serotonin production by the GR/ERβ/TPH2 pathway involving sex differences in depression-like behaviors; our findings may facilitate finding personalized treatments for patients with MDD. The gene discussed is ESR2; the disease is depressive disorder.