Here we show that IL-17KO mice had increased susceptibility to DSS-induced colitis which was associated with decrease in expression of mRNAs implicated in M2 and/or wound healing macrophages, such as IL-10, IL-1 receptor antagonist, arginase 1, cyclooxygenase 2, and indoleamine 2,3-dioxygenase. Here, IDO2 is linked to colitis.