Here, we show that IL23 blockade, or genetic ablation, reduced pathogenic cytokine production by CD4+ T cells, but not CD8+ T cells in CPI colitis, and significantly attenuated disease development. This evidence concerns the gene IL37 and colitis.