These data uncover a novel role for MeCP2 in 5-HT neurons to repress HTR1A expression and drive adult anxiety- and depression-like behaviors in a sex-specific manner. This evidence concerns the gene MECP2 and depressive disorder.