Duplication of MECP2 (methyl-CpG-binding protein 2) gene causes a serious neurological and developmental disorder called MECP2 duplication syndrome (MDS), which is usually found in males. A previous clinical study reported that MDS patient has precocious puberty with hyperandrogenism, suggesting increased MeCP2 may cause male hyperandrogenism. Here we use an MDS mouse model and confirm that MECP2 duplication significantly upregulates androgen levels. We show for the first time that MeCP2 is highly expressed in the Leydig cells of testis, where androgen is synthesized. Mechanistically, MECP2 duplication increases androgen synthesis and decreases androgen to estrogen conversion through either the upregulation of luteinizing hormone receptor (LHCGR) in testis, as a result of MeCP2 binds to G-quadruplex structure of Lhcgr promoter and recruits the transcription activator CREB1 or the downregulation of the expression of aromatase in testis by binding the CpG island of Rorα, an upstream regulator of aromatase. Taken together, we demonstrate that MeCP2 plays an important role in androgen synthesis, supporting a novel non-CNS function of MeCP2 in the process of sex hormone synthesis.