Galactooligosaccharide supplementation provides protection against Citrobacter rodentium-induced colitis without limiting pathogen burden.