We conducted a retrospective study to investigate sleep disturbance and polysomnography (PSG) characteristics in patients with LGI1-Ab encephalitis and Caspr2-Ab-associated diseases. This evidence concerns the gene CNTNAP2 and viral encephalitis.