Multiple sclerosis-associated HLA demarcates EBV-specific CD8&lt;sup&gt;+&lt;/sup&gt; T cells with an exhausted and brain residency phenotype. Here, CD8A is linked to multiple sclerosis.