Loss-of-function of MECP2 leads to Rett syndrome while gain-of-function causes MECP2 duplication syndrome. Here, MECP2 is linked to Rett syndrome.