Compared with anti-NMDAR encephalitis, anti-LGI1 encephalitis seems to show a stronger genetic predisposition mediated by HLA class II alleles. This evidence concerns the gene LGI1 and viral encephalitis.