Mechanisms of CNS repair have vital medical implications. We show that traumatic injury to the ventral midline of the embryonic Drosophila CNS activates cell divisions to replace lost cells. A pilot screen analyzing transcriptomes of single cells during repair pointed to downregulation of the microtubule-stabilizing GTPase mitochondrial Rho (Miro) and upregulation of the Jun transcription factor Jun-related antigen (Jra). Ectopic Miro expression can prevent midline divisions after damage, whereas Miro depletion destabilizes cortical β-tubulin and increases divisions. Disruption of cortical microtubules, either by chemical depolymerization or by overexpression of monomeric tubulin, triggers ectopic mitosis in the midline and induces Jra expression. Conversely, loss of Jra renders midline cells unable to replace damaged siblings. Our data indicate that upon injury, the integrity of the microtubule cytoskeleton controls cell division in the CNS midline, triggering extra mitosis to replace lost cells. The conservation of the identified molecules suggests that similar mechanisms may operate in vertebrates.