Our results suggest that CSF1R inhibition suppresses neuroinflammation and neonatal brain injury after acute cerebral hypoxia-ischemia in neonatal mice. Here, CSF1R is linked to hypoxia.