Sleepwalking: Why It Happens and When It Becomes Dangerous

A sleepwalker may open doors, answer a question, or move through a familiar room. That does not mean the brain is fully awake—or making fully awake decisions.

Sleepwalking, also called somnambulism, is a disorder of arousal from non-rapid eye movement, or NREM, sleep. Part of the brain becomes active enough to produce movement while awareness, judgment, responsiveness, and memory remain partly asleep.

An episode can be as small as sitting up and looking around or as complex as leaving the bedroom and performing familiar actions. The person’s eyes may be open, yet their expression can look blank and their responses may be slow, confused, or difficult to understand. Full recall the next morning is often absent, although some people remember fragments.

Sleepwalking Is an Incomplete Awakening

Sleepwalking most often emerges from deep NREM sleep, especially stage N3. Because deep sleep is concentrated earlier in the sleep period, episodes commonly occur during the first part of the night. They are not usually the result of acting out a vivid REM dream.

A 2023 review of NREM parasomnias describes sleepwalking, confusional arousals, and sleep terrors as overlapping disorders caused by incomplete arousal. The brain does not make a clean transition from deep sleep to normal wakefulness.

This helps explain the strange mixture seen during an episode:

  • movement is possible, sometimes surprisingly coordinated;
  • awareness of the environment is reduced;
  • judgment and problem-solving are impaired;
  • communication may be minimal or confused;
  • memory may not be stored normally.
How sleepwalking mixes deep sleep and partial arousal A four-step diagram shows deep NREM sleep, partial brain arousal, movement with reduced awareness, and either return to sleep or confused awakening. The body can become active before the mind fully wakes 1. Deep NREM sleep The episode often begins from stage N3, commonly during the first part of the night 2. Partial arousal Movement systems activate, but awareness and judgment do not fully come online 3. Automatic behavior The person may sit, walk, speak, or perform familiar actions with limited responsiveness Return to sleep—or wake confused Recall afterward is often limited or absent Complex movement does not equal full awareness.

What Can a Sleepwalking Episode Look Like?

The word suggests walking, but movement is not always dramatic. A person may sit up, fumble with bedding, look around, mumble, or make repeated hand movements. More complex episodes can include dressing, opening cupboards, eating, moving objects, or leaving the room.

The behavior may look purposeful because familiar motor routines are available even without full awareness. But the person may misread the environment, react unpredictably when blocked, or take risks they would avoid while awake.

Episodes usually last minutes, although duration varies. The person may return to bed without waking or become briefly confused if awakened. Popular images of sleepwalkers moving with closed eyes and arms extended are mostly fiction; the eyes are commonly open.

Why Does Sleepwalking Happen?

Sleepwalking usually reflects a predisposition plus factors that deepen sleep or repeatedly disturb it. Family history is common, suggesting a meaningful inherited component. Children experience NREM parasomnias more often than adults, and many episodes lessen as the nervous system matures.

A systematic review estimated a lifetime sleepwalking prevalence of about 6.9%, with recent episodes reported more often in children than adults. The authors also noted substantial variation among studies, so the figure should be treated as an estimate rather than a precise universal rate. See the prevalence meta-analysis.

Factors that can make an episode more likely include:

  • insufficient sleep or an irregular schedule;
  • stress, fever, illness, or an unfamiliar sleep setting;
  • sleep fragmentation from obstructive sleep apnea or limb discomfort;
  • alcohol or sedating substances in susceptible people;
  • some medications, particularly when episodes begin after a change.

These are triggers, not proof of one underlying cause. Medication should not be stopped abruptly; the prescribing clinician can review whether timing or dose may be relevant.

Sleepwalking Is Not the Same as Acting Out a Dream

REM sleep behavior disorder, or RBD, can also involve movement during sleep, but its pattern differs. RBD usually arises from REM sleep, often later in the night, when normal REM muscle paralysis is reduced. The person may remember a vivid dream that matches the movement.

Sleepwalking more often begins from deep NREM sleep earlier in the night, with confused behavior and little recall. The distinction is not always obvious from one story or recording, especially in adults.

The wider parasomnia guide compares NREM disorders of arousal, REM-related events, sleep paralysis, nightmares, and other unusual sleep experiences.

Could It Be a Nighttime Seizure?

Some nocturnal seizures can resemble sleepwalking. Clues that increase concern include very brief episodes with the same movements each time, several events in one night, unusual stiffening or posturing, occurrence across different sleep stages, or a neurological history.

Sleepwalking episodes tend to be more variable and can include confused interaction with the surroundings. This is not a rule that safely separates every case. Video-polysomnography or neurological testing may be needed when events are atypical.

A safe home video recorded by another person can help show timing and behavior, but the person filming should not follow someone into a dangerous situation or prioritize recording over immediate safety.

Should You Wake a Sleepwalker?

Waking a sleepwalker is not inherently harmful. The person may be startled or confused, which is why calm redirection is often preferable when no danger is present.

Speak quietly, keep some distance, and guide them toward bed if they respond. Do not shout, shake them, or physically block them unless immediate danger makes intervention necessary. If they are approaching stairs, an exterior door, traffic, water, fire, or another serious hazard, safety matters more than avoiding a brief confused awakening.

Make the Environment Safer First

Safety measures do not require knowing the exact trigger:

  • clear clutter, cords, sharp objects, and breakable items from walking routes;
  • secure exterior doors and windows and keep keys out of the immediate path;
  • use gates or simple alerts near unsafe stairs or exits when appropriate;
  • avoid a top bunk when episodes involve leaving the bed;
  • tell overnight hosts or household members what calm redirection looks like.

Do not lock a person into a room or create barriers that would prevent escape during a fire. The goal is to slow access to hazards without creating a new one.

When Does Sleepwalking Need Evaluation?

Occasional childhood sleepwalking without injury may need only reassurance, adequate sleep, and household safety. Medical evaluation becomes more important when episodes:

  • begin for the first time in adulthood;
  • occur frequently or are becoming more complex;
  • cause injury, aggression, or attempts to leave the home;
  • include repeated choking, loud snoring, or severe daytime sleepiness;
  • look identical each time or raise concern for seizures;
  • begin after a medication change;
  • significantly disturb the sleeper or household.

Diagnosis is often based on a detailed history. Video-polysomnography is particularly useful for unusual adult-onset episodes, possible RBD, suspected seizures, or signs of another sleep disorder. Because episodes may not occur during one laboratory night, a normal study does not automatically disprove a convincing pattern.

What Helps Reduce Episodes?

The first approach is usually to protect sleep duration and regularity, reduce hazards, review possible triggers, and treat conditions that fragment sleep. A 2019 large clinical series of NREM parasomnias placed reassurance, safety measures, and sleep-hygiene guidance at the start of management.

For episodes occurring at a predictable time, clinicians sometimes use scheduled awakenings shortly before the usual event. A 2023 systematic review of behavioral treatments found promising evidence for approaches such as scheduled awakenings and targeted psychological treatment, while also emphasizing that the evidence base remains limited.

Medication is reserved for selected cases and depends on episode type, injury risk, other conditions, and possible triggers. It is not a universal first response.

A Two-Week Sleepwalking Record

Record bedtime, estimated episode time, what occurred, responsiveness, recall, recent sleep loss, stress, illness, medication changes, snoring, and any injury or near miss. Ask household observers for descriptions rather than relying only on the sleeper’s memory.

Cognitive Train’s Sleep Calculator can help determine whether the planned schedule leaves enough opportunity for sleep. It cannot diagnose sleepwalking, but an inadequate or irregular sleep window is a useful problem to identify.

What It All Comes Down To

Sleepwalking is an incomplete awakening from deep NREM sleep. Movement can become active while awareness, judgment, responsiveness, and memory remain impaired. That is why a person can perform familiar actions without being safely or fully awake.

Start with environmental safety, adequate sleep opportunity, and a clear record of the episodes. Continue with the parasomnia overview, learn how intense fear differs in the sleep-terrors guide, or explore the broader Sleep section. Cognitive Train’s brain tests and wider brain training tools can help observe next-day attention after disrupted sleep, but unusual or dangerous nighttime behavior requires sleep-focused evaluation.