MeCP2 lactylation protects against ischemic stroke by reducing brain infarct volume and improving neurological outcomes. Here, MECP2 is linked to ischemic stroke.