Infant NEC is associated with high mortality and brain injury. This study sheds light on the connections between gut and brain pathology and shows that microglia-targeted dendrimers, coupled to antioxidants, can protect from brain injury in a NEC mouse model.