Sleepwalking is a partial arousal out of deep, slow-wave sleep (N3), most common in children and usually harmless. Triggers include sleep deprivation, an irregular schedule, fever, stress, and alcohol. A related but distinct parasomnia, sleep-related eating disorder, involves eating while not fully awake. See a doctor if episodes are frequent, unsafe, or involve eating or injury.
Understanding sleepwalking is easiest through what researchers call the Partial-Arousal Model: sleep is not an all-or-nothing switch, and sleepwalking happens when part of the brain wakes up while the rest stays asleep. The motor areas that control movement and posture become active enough to let a person sit up, walk, or carry out simple, routine actions, while the areas responsible for conscious awareness and memory formation remain in deep sleep. That is why a sleepwalker can move around a room yet have no memory of it the next morning.
This partial arousal occurs almost exclusively during deep, slow-wave sleep, known as N3, which is marked by slow delta brain waves (0.5–4 Hz) and dominates the first sleep cycles of the night. Each full sleep cycle lasts roughly 90–110 minutes, and because N3 is heaviest early in the night, most sleepwalking episodes cluster in the first third of sleep rather than near morning, when REM sleep and its associated muscle atonia take over.
Sleepwalking is classified as a NREM parasomnia, meaning it arises out of non-REM sleep rather than REM sleep. It tends to run in families, which points to a genetic component in how easily the brain transitions between sleep stages. On top of that underlying tendency, anything that disrupts or deepens N3 sleep can make a partial arousal, and therefore an episode, more likely.
If sleepwalking happens to you, the most common underlying pattern is a combination of a genetic predisposition and a trigger that disrupts sleep on a given night. The best-documented triggers include:
Because consistent, sufficient sleep reduces the homeostatic pressure that drives deep N3 sleep rebound, keeping a regular schedule and practicing good sleep hygiene is one of the most practical ways to reduce how often episodes occur.
A sleep walker is simply a person who experiences sleepwalking. Episodes can range from quietly sitting up in bed to walking through the house and performing routine, semi-purposeful actions, all while remaining largely unaware and unresponsive to the surrounding environment. Most sleep walkers have no memory of the episode afterward.
Sleepwalking is worth distinguishing from REM sleep behavior disorder (RBD), a different parasomnia in which a person physically acts out dreams during REM sleep because the muscle atonia that normally accompanies REM fails. RBD is far less common, affecting an estimated 0.3–1.15% of people, tends to occur later in the night, and in older adults it is considered a significant prodromal marker for neurodegenerative conditions. Sleepwalking, by contrast, arises from deep N3 sleep earlier in the night and is most common in children.
Sleepwalking is most common in childhood, largely because children spend more time in, and generate more, deep N3 sleep than adults do as their developing nervous system consolidates. Recommended total sleep also varies a lot by age — the CDC lists roughly 9–12 hours a night for children aged 6–12 and 8–10 hours for teens aged 13–18 — and not getting enough of that recommended sleep is one of the same triggers, sleep deprivation, that can make episodes more likely at any age.
Most children outgrow sleepwalking as their sleep architecture matures and the nervous system develops. In the meantime, the main practical concern for parents is safety rather than the episode itself: gently guiding a sleepwalking child back to bed, securing stairs and doors, and keeping the bedroom free of tripping hazards does more to prevent harm than trying to fully wake the child.
Occasional, brief episodes in kids are generally not a medical concern. Frequent episodes, injuries during sleepwalking, or signs of another sleep problem, such as loud snoring or breathing pauses, are reasons to bring it up with a pediatrician.
Sleep-related eating disorder (SRED) is a distinct NREM parasomnia in which a person eats, and sometimes drinks, prepares, or even cooks food, while partially or fully asleep, typically with little or no memory of it afterward. Like sleepwalking, it arises out of a partial arousal from deep sleep, but the behavior is centered on eating rather than general movement, and it carries its own set of risks: unsafe food choices, weight gain from unplanned nighttime calories, and the danger of using a stove or sharp tools while not fully conscious.
It is separate from ordinary night eating or late-night snacking done while fully awake. It is also worth noting that poor or insufficient sleep more broadly is linked to disrupted appetite-regulating hormones — sleep loss has been shown to lower leptin and raise ghrelin, driving higher calorie intake — but that hormonal effect of sleep debt on daytime appetite is a separate phenomenon from the clinical, partial-arousal eating behavior seen in SRED.
Because SRED involves unconscious eating and carries injury and safety risks, it generally needs a proper medical evaluation rather than self-management, and it is often linked to other sleep or arousal disorders that a clinician can screen for.
Occasional, brief sleepwalking, especially in children, is usually not a medical concern. Seek medical advice if any of the following apply:
A doctor can help identify and address underlying triggers, and rule out other sleep disorders contributing to fragmented or disrupted sleep.