Several neurologic conditions, including narcolepsy, Parkinson's disease, Lewy body dementia, migraine, posttraumatic stress disorder (PTSD), and obstructive sleep apnea increase the risk of nightmares. The reasons vary from disorder to disorder. In narcolepsy, for example, the lack of the neurotransmitter orexin weakens the boundary between sleep and wakefulness.