One male patient with anti-CASPR2 encephalitis refused the first-line therapy. Here, CNTNAP2 is linked to viral encephalitis.