Moderate exercise rescued social defeat induced anxiety-like behavior and memory impairment, and normalized SD-induced increase in oxidative stress, leading to decreased MeCP2 protein levels in the hippocampus. Here, MECP2 is linked to memory impairment.