Our data show that underlying disease in human IBD is associated with reduced CD8 T cell responses to commensal bacteria leading to Trm deficiency in the colon, and chronic B cell activation and excess IgA secretion associated with a loss of barrier immunity. Here, CD8A is linked to inflammatory bowel disease.