Vaccines that balance gut microbial communities may one day be used to improve gastrointestinal health.