These interventions specifically increased MeCP2 lactylation at K210 and K249, which correlated with improvements in stroke outcomes in mice. Here, MECP2 is linked to stroke disorder.