The neonatal gut microbiome undergoes dynamic changes in response to many nutritional and environmental variables. A recent study by Singer et al. in Nature Medicine elucidates several mechanisms to inhibit the expansion of gut-derived pathobionts in a dysbiotic neonatal gut and prevent these pathobionts from disseminating systemically and causing sepsis in neonatal mice.