We found that TH17 cells and their IL-17A and IL-22 render resistance to DSS-induced colitis and CRC development through blocking immune cell infiltration into the local epithelial tissues, which is associated with chemokine expression in epithelial tissues. Here, IL22 is linked to colorectal carcinoma.