This article discusses a case of a patient with anti-Ma encephalitis, a paraneoplastic neurological syndrome caused by the immune impact of cancer on the nervous system. The patient exhibited symptoms such as memory loss, narcolepsy, rapid eye movement behavior disorder, eye movement abnormalities, and parkinsonism. The case also highlights the presence of agrypnia excitata, a unique electroclinical syndrome that disrupts sleep structure. The article emphasizes the importance of investigating autoimmune origins in patients with sleep disorders and the emerging recognition of autoimmune disorders in rare electroclinical conditions. [Extracted from the article]