Our results identify microglial TNF as beneficial and neuroprotective in the acute phase and as a modulator of neuroinflammation at later time points after experimental ischemia, which may contribute to regenerative recovery. Here, TNF is linked to ischemia.