One case with anti-CASPR2 encephalitis was treated with an antiepileptic drug and fully recovered. Here, CNTNAP2 is linked to viral encephalitis.