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 TPH2; the disease is major depressive disorder.