The role of CD8+ T cells in the pathogenesis of ulcerative colitis (UC) remains unclear. Here, CD8A is linked to ulcerative colitis.