The Neuroscience of Sleepwalking

A sleepwalker may get out of bed, walk around the house, and even carry out complex tasks, with no memory the next morning. Sleepwalking looks strange, but it has a clear explanation in how the brain moves between sleep stages.
What happens in the brain
Sleepwalking (somnambulism) occurs mostly in slow wave sleep, typically in the first third of the night. It is classified as a non-REM parasomnia, or disorder of arousal, along with confusional arousals and sleep terrors. In a famous case study by Claudio Bassetti and colleagues in Switzerland, intracranial EEG recordings in a sleepwalking patient showed that motor and cingulate regions were active as in wakefulness, while the frontal and parietal association cortex remained in deep sleep. This pattern, called dissociated arousal, explains how a person can move and perform automatic behaviors without awareness, judgment or memory.
Who sleepwalks
About 15 percent of children sleepwalk at least once, peaking around age 8 to 12, and most outgrow it. About 2 to 4 percent of adults sleepwalk, and it runs in families. If both parents sleepwalked, the child's chance is far higher, indicating a genetic influence.
Triggers
- Sleep deprivation and irregular schedules, which increase deep sleep pressure
- Stress and anxiety
- Fever or illness
- Alcohol and certain medications, including some sedative-hypnotics such as zolpidem, antipsychotics and others
- Other sleep disorders that cause arousals, such as sleep apnea, restless legs syndrome or periodic limb movements
- Noise, light or a full bladder
- Pregnancy and hormonal changes
What sleepwalking looks like
Episodes last from a few minutes up to half an hour. The person's eyes are open with a blank, glassy stare and they are difficult to wake. They may talk, with unclear speech, open doors, dress, eat, or leave the house. Injuries from falls, collisions or going outside are the main risk. Violent behavior is rare, though confusional arousals can involve resisting being restrained. Sleep-related eating and sexual behaviors occasionally occur, as variants.
What to do
- Do not try to wake them forcefully. Gently guide them back to bed. If they wake, they may be confused.
- Make the environment safe: lock doors and windows, put gates at stairs, remove sharp objects and tripping hazards, and consider a bedroom on the ground floor. Door alarms can alert family.
- Maintain a regular sleep schedule and get enough sleep.
- Reduce stress, and use relaxation techniques before bed.
- Avoid alcohol and triggers.
- Treat other sleep disorders.
- Scheduled awakenings: for frequent episodes at a regular time, waking the person 15 minutes before the typical episode time for several weeks can help, according to small studies.
- Hypnosis and CBT show promise.
- Medication: clonazepam or antidepressants are sometimes used for dangerous or frequent adult sleepwalking, as decided by a doctor.
When to see a doctor
Seek advice if episodes are frequent, last into adulthood, cause injury or danger, begin newly in adulthood, or are accompanied by daytime sleepiness, snoring or unusual behaviors. A sleep study can rule out other causes, such as seizures.
Takeaway
Sleepwalking is a quirk of partially awake brains in deep sleep. Safety measures and healthy sleep usually manage it well.
Further reading from authoritative sources
- National Institute of Neurological Disorders and Stroke (NINDS)
- National Center for Complementary and Integrative Health (NCCIH)
This article is educational and does not replace advice from a licensed clinician. See the medical disclaimer. Looking for specialist care? Browse the neurology clinic directory.




