Age determines response to anti-TNFα treatment in patients with ankylosing spondylitis and is related to TNFα-producing CD8 cells. Here, CD8A is linked to ankylosing spondylitis.