Here the authors demonstrate that rapid immune development in preterm babies is modulated by perinatal inflammation more than gut microbiota, and that lower CXCL8-producing T cells may identify infants susceptible to infection. This evidence concerns the gene CXCL8 and infection.