Patients with dementia had significantly less IL-17-producing synaptic autoantigen-specific TH cells than aged healthy controls. Here, IL17A is linked to dementia.