A method of treating a pervasive development disorder in a subject includes administering to the subject an amount of an NMDAR antagonist effective to ameliorate biochemical and functional abnormalities in the subject associated with loss-of-function mutations of the gene encoding methyl-CpG binding protein 2 (MeCP2).