Rett syndrome is caused by mutation of the MECP2 gene that codes for a protein that binds methylated DNA; this study reveals that MeCP2 affects the expression of long genes, which often serve neuronal functions. Autism-related Rett syndrome is caused by disruption of the MECP2 gene, which codes for a methyl-DNA binding protein, but how MECP2 may control transcription of other genes has remained unclear. Now Michael Greenberg and colleagues show that disruption of the Mecp2 gene in a mouse model and in human Rett syndrome leads to preferential upregulation of longer genes, and that these often serve neuronal functions. Further data indicate that decreasing the expression of long genes, via hypomethylation of the dinucleotide CA, attenuates Rett-related dysfunctions in cultured neurons lacking MECP2. Disruption of the MECP2 gene leads to Rett syndrome (RTT), a severe neurological disorder with features of autism1. MECP2 encodes a methyl-DNA-binding protein2 that has been proposed to function as a transcriptional repressor, but despite numerous mouse studies examining neuronal gene expression in Mecp2 mutants, no clear model has emerged for how MeCP2 protein regulates transcription3,4,5,6,7,8,9. Here we identify a genome-wide length-dependent increase in gene expression in MeCP2 mutant mouse models and human RTT brains. We present evidence that MeCP2 represses gene expression by binding to methylated CA sites within long genes, and that in neurons lacking MeCP2, decreasing the expression of long genes attenuates RTT-associated cellular deficits. In addition, we find that long genes as a population are enriched for neuronal functions and selectively expressed in the brain. These findings suggest that mutations in MeCP2 may cause neurological dysfunction by specifically disrupting long gene expression in the brain.