Interleukin-10 (IL-10) curtails immune responses to microbial infection and autoantigens and contributes to intestinal immune homeostasis, yet administration of IL-10 has not been effective at attenuating chronic intestinal inflammatory conditions, suggesting that its immune functions may be context dependent. To gain a broader understanding of the importance of IL-10 in controlling mucosal immune responses to infectious challenges, we employed the murine attaching and effacing pathogen Citrobacter rodentium, which colonizes primarily the surfaces of the cecum and colon and causes transient mucosal inflammation driven by Th17 and Th1 T helper cells. Infection induced macrophage and dendritic cell production of IL-10, which diminished antibacterial host defenses, because IL-10-deficient mice cleared infection faster than wild-type controls. In parallel, the mice had less acute infection-associated colitis and resolved it more rapidly than controls. Importantly, transient C. rodentium infection protected IL-10-deficient mice against the later development of spontaneous colitis that normally occurs with aging in these mice. Genome-wide expression studies revealed that IL-10 deficiency was associated with downregulation of proinflammatory pathways but increased expression of the anti-inflammatory cytokine IL-27 in response to infection. IL-27 was found to suppress in vitro Th17 and, to a lesser degree, Th1 differentiation independent of IL-10. Furthermore, neutralization of IL-27 resulted in more severe colitis in infected IL-10-deficient mice. Together, these findings indicate that IL-10 is dispensable for resolving C. rodentium-associated colitis and further suggest that IL-27 may be a critical factor for controlling intestinal inflammation and Th17 and Th1 development by IL-10-independent mechanisms.