IL17A and autoimmune encephalitis: Patients with refractory epilepsy and autoimmune encephalitis displayed CD4+ and CD8+ T cell subsets alterations and unbalanced proinflammatory IL‐17 production. Refractory epilepsy patients uniquely showed NK cells alteration.