We found that SARM1 deletion promoted neuronal preservation in the peri-infarct cortex and alleviated axonal degeneration, thereby improving behavioral performance after stroke. The gene discussed is SARM1; the disease is stroke disorder.