Two patients had anti-LGI1 encephalitis, one of which was an 8-year-old boy with clinical manifestation mainly for insomnia. This evidence concerns the gene LGI1 and insomnia measurement.