Both loss-of-function and gain-of-function mutations in the MECP2 gene lead to neurodevelopmental disorders such as Rett syndrome, autism and MECP2 duplication syndrome. Here, MECP2 is linked to autism.