While the normal microbiota has been implicated as a critical defense against invading pathogens, the impact of enteropathogenic infection and host inflammation on intestinal microbial communities has not been elucidated. Using mouse models of Citrobacter rodentium, which closely mimics human diarrheal pathogens inducing host intestinal inflammation, and Campylobacter jejuni infection, as well as chemically and genetically induced models of intestinal inflammation, we demonstrate that host-mediated inflammation in response to an infecting agent, a chemical trigger, or genetic predisposition markedly alters the colonic microbial community. While eliminating a subset of indigenous microbiota, host-mediated inflammation supported the growth of either the resident or introduced aerobic bacteria, particularly of the Enterobacteriaceae family. Further, assault by an enteropathogen and host-mediated inflammation combined to significantly reduce the total numbers of resident colonic bacteria. These findings underscore the importance of intestinal microbial ecosystems in infectious colitis and noninfectious intestinal inflammatory conditions, such as inflammatory bowel disease.