In conclusion, our study described, compared, and analysed the clinical features, treatment, and prognosis of patients with anti-NMDAR, anti-GABABR, anti-LGI1 and anit-CASPR2 encephalitis. The gene discussed is CNTNAP2; the disease is viral encephalitis.