The multifaceted nature of neuroinflammation is highlighted by its ability to both aggravate and promote neuronal health. While in mammals retinal ganglion cells (RGCs) are unable to regenerate following injury, acute inflammation can induce axonal regrowth. However, the nature of the cells, cellular states and signalling pathways that drive this inflammation-induced regeneration have remained elusive. Here, we investigated the functional significance of macrophages during RGC de- and regeneration, by characterizing the inflammatory cascade evoked by optic nerve crush (ONC) injury, with or without local inflammatory stimulation in the vitreous. By combining single-cell RNA sequencing and fate mapping approaches, we elucidated the response of retinal microglia and recruited monocyte-derived macrophages (MDMs) to RGC injury. Importantly, inflammatory stimulation recruited large numbers of MDMs to the retina, which exhibited long-term engraftment and promoted axonal regrowth. Ligand-receptor analysis highlighted a subset of recruited macrophages that exhibited expression of pro-regenerative secreted factors, which were able to promote axon regrowth via paracrine signalling. Our work reveals how inflammation may promote CNS regeneration by modulating innate immune responses, providing a rationale for macrophage-centred strategies for driving neuronal repair following injury and disease.Supplementary InformationThe online version contains supplementary material available at 10.1186/s40478-023-01580-3.