Continuous insomnia was more common in patients with Caspr2-Ab diseases than patients with LGI1-Ab encephalitis. This evidence concerns the gene LGI1 and viral encephalitis.