The pathogenic role of IL-22 in CD40-triggered colitis may depend on the presence of microbial factors that also influence IL-17A production in the intestine. Here, IL22 is linked to colitis.