Innate immune responses are regulated in the intestine to prevent excessive inflammation. Here we show that a subset of mouse colonic macrophages constitutively produce the anti-inflammatory cytokine IL-10. In mice infected with Citrobacter rodentium, a model for enteropathogenic Escherichia coli infection in humans, these macrophages are required to prevent intestinal pathology. IL-23 is significantly increased in infected mice with a myeloid cell-specific deletion of IL-10, and the addition of IL-10 reduces IL-23 production by intestinal macrophages. Furthermore, blockade of IL-23 leads to reduced mortality in the context of macrophage IL-10 deficiency. Transcriptome and other analyses indicate that IL-10-expressing macrophages receive an autocrine IL-10 signal. Interestingly, only transfer of the IL-10 positive macrophages could rescue IL-10-deficient infected mice. Therefore, these data indicate a pivotal role for intestinal macrophages that constitutively produce IL-10, in controlling excessive innate immune activation and preventing tissue damage after an acute bacterial infection.