Our study found two cases with anti-LGI1 encephalitis and one case with anti-CASPR2 encephalitis. Here, CNTNAP2 is linked to viral encephalitis.