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. Here, CD8A is linked to colitis.