Anti-CASPR2- and -LGI1-associated autoimmune encephalitis and tick-borne virus encephalitis presented particular diagnostic pitfalls. This evidence concerns the gene CNTNAP2 and autoimmune encephalitis.