In the Citrobacter rodentium infection model, which mimics infections by attaching and effacing (A/E) bacterial pathogens in humans, IL-22 is required for the colonic epithelial production of antimicrobial proteins, including RegIIIbeta and RegIIIgamma. Here, IL22 is linked to infection.