An agonistic peptide that stimulates Qa-1b-restricted regulatory TCRαβ+CD8αα+ T cells confers protection in the acute model of colonic inflammation in a Qa-1b- and Batf3-dependent manner, and enhances expression of known barrier-protective genes in distal colon. Here, BATF3 is linked to inflammatory response.