Our study identifies targeting NHE1 protein as a novel strategy to reduce neuroinflammation and white matter damage and improve post-stroke recovery. Here, SLC9A1 is linked to Stroke.