CD8 + T cells exhibit neuronal apposition and predominantly show a tissue-resident memory phenotype in autoimmune encephalitis. Here, CD8A is linked to autoimmune encephalitis.