Sleepwalking: Causes, Triggers, and When to Worry
Most sleepwalking is harmless and something kids outgrow. But it can also show up for the first time in adulthood, get worse with certain triggers, or signal something else going on with sleep. Here's what actually causes it and the specific signs worth mentioning to a doctor.
Episodes typically happen in the first couple of hours after falling asleep, during the deepest stage of non-REM sleep.
Sleepwalking Is a Mix of Being Asleep and Awake
Sleepwalking, or somnambulism, happens during the deepest stage of non-REM sleep, usually within the first couple of hours after falling asleep. It's classified as a parasomnia — an "arousal disorder" where part of the brain partially wakes up while the rest stays in deep sleep. That's why a sleepwalker can get up, move around, sometimes talk or perform routine tasks, all while their eyes look open and blank and they don't respond normally to being spoken to. Contrary to the popular idea, sleepwalkers aren't acting out a dream. Dreaming happens during REM sleep, and sleepwalking happens during non-REM slow-wave sleep, a completely different stage with a different mechanism.
The brain's transition between deep sleep and lighter sleep or waking is normally smooth. In people who sleepwalk, something interrupts that transition — the motor and behavioral parts of the brain partially activate while the parts responsible for conscious awareness and memory stay offline. That's also why sleepwalkers almost never remember the episode afterward, even a fairly involved one.
What Triggers an Episode
Sleepwalking has a strong genetic component — a family history is the single biggest risk factor, and researchers have found a child has roughly a 45% chance of sleepwalking if one parent did, rising to around 60% if both parents did. But genetics set up the susceptibility; specific triggers are usually what sets off an actual episode on a given night.
Sleep Deprivation
The single most common trigger. Going short on sleep pushes the brain into deeper, more abrupt slow-wave sleep, raising the odds of an episode.
Stress and Anxiety
Emotional stress disrupts normal sleep-stage transitions and is a well-documented trigger, especially for adult-onset episodes.
Fever and Illness
Especially in children — a fever from an infection can bring on an episode even in kids who don't normally sleepwalk.
Alcohol
Alcohol alters sleep architecture and increases deep sleep earlier in the night, which can trigger episodes in susceptible people.
Certain Medications
Sedative-hypnotics, some antidepressants and antipsychotics, and some sleep aids are linked to sleepwalking as a side effect.
Other Sleep Disorders
Obstructive sleep apnea and restless legs syndrome fragment deep sleep with repeated arousals, which can trigger episodes.
Why It's So Much More Common in Kids
Sleepwalking shows up most often in children between about 4 and 8 years old, with somewhere around 15% to 30% of children sleepwalking at least once. The reason comes down to sleep architecture: children spend a larger proportion of the night in slow-wave (deep) sleep than adults do, which is exactly the stage sleepwalking arises from. As the nervous system matures through adolescence, that proportion of deep sleep naturally decreases, and most children stop sleepwalking on their own well before adulthood — usually by puberty, though there's no fixed cutoff.
Adults sleepwalk too, just less often — somewhere around 1% to 4% of adults have an episode at some point. Adult sleepwalking is more likely to be either a continuation of a childhood pattern that never fully went away, or new-onset sleepwalking tied to one of the specific triggers above, particularly sleep apnea, medication, or a major stressor. That distinction matters for what to do about it, which is covered further down.
What a Sleepwalking Episode Actually Looks Like
Episodes vary widely in how involved they get. On the mild end, someone might just sit up in bed, look around with a blank expression, and lie back down without ever leaving the bed. On the more involved end, sleepwalkers have been documented walking through the house, opening and closing doors, getting dressed, eating, rearranging furniture, and in rare cases doing things like driving a car or unlocking a door and going outside. The activities tend to be routine and familiar to the person — the brain seems to run on autopilot through things it already knows how to do, rather than generating anything new.
Movements are usually described as clumsy or gangly rather than smoothly coordinated. Sleepwalkers may mumble or speak, but what comes out is often nonsensical or unresponsive to questions. An episode can last anywhere from under a minute to half an hour or more, and it typically ends with the person either returning to bed on their own or being gently guided back by someone else — with no memory of any of it the next morning.
Sleepwalk-Proofing a Home
Because sleepwalkers move through the world without normal awareness of their surroundings, the main real risk from sleepwalking is injury, not the sleepwalking itself. A few practical changes make a meaningful difference for anyone in the household who sleepwalks regularly, especially children.
Lock Doors and Windows
Especially any that lead outside, to a garage, or to a pool. Consider an alarm on bedroom or exterior doors for frequent episodes.
Clear the Path
Remove sharp or fragile objects and clutter from the bedroom floor and hallways that get walked through.
Gate the Stairs
A stair gate at the top of any staircase near a sleepwalker's bedroom significantly reduces fall risk.
Avoid Bunk Beds
For kids who sleepwalk, a bottom bunk or a bed close to the floor removes an obvious fall hazard.
The Signs That Go Beyond "They'll Grow Out of It"
The common, and usually accurate, advice for childhood sleepwalking is that it's benign and will be outgrown. But there are specific situations where it's worth an actual medical evaluation rather than waiting: episodes that happen several times a week, episodes that involve leaving the house or attempting to drive, any injury during an episode, violent or aggressive behavior during sleep, and sleepwalking that starts for the first time in adulthood. A doctor can also help rule out other conditions that can look similar, like nighttime seizures, and can screen for an underlying trigger like sleep apnea that might be driving frequent episodes.
A sleep specialist may recommend an overnight sleep study (polysomnography) for frequent or concerning episodes, which records brain waves, breathing, and movement to confirm the diagnosis and check for an underlying sleep disorder feeding into it. Treatment, when it's needed at all, usually starts with addressing an identifiable trigger — treating sleep apnea, adjusting a medication, or improving sleep habits — before medication is considered.
Bottom Line
Occasional sleepwalking, especially in a child between 4 and 8, is common and usually not something to worry about — it tends to fade on its own well before adulthood. Sleep deprivation, stress, alcohol, fever, and certain medications are the most common triggers behind any given episode. Frequent episodes, injuries, leaving the house, aggressive behavior, or sleepwalking that starts for the first time as an adult are the signals that mean it's worth an actual conversation with a doctor rather than just waiting it out.
More AI Guides, Written Clearly
Browse our full library of AI tool guides, updated regularly as models and features change.
Common Questions
What actually triggers a sleepwalking episode?
Sleep deprivation is the most common trigger, followed by stress, alcohol, fever, certain medications (especially sedative-hypnotics), and other sleep disorders like sleep apnea that fragment deep sleep.
Is sleepwalking hereditary?
Yes, it runs strongly in families. A child has roughly a 45% chance of sleepwalking if one parent did, and around 60% if both parents did.
Do sleepwalkers act out their dreams?
No. Sleepwalking happens during deep non-REM sleep, not during the dreaming stage of sleep, so sleepwalkers aren't acting out a dream narrative.
Should you wake a sleepwalker?
It's generally better to gently guide them back to bed rather than wake them abruptly, since sudden waking can trigger confusion or a startled, defensive reaction.
When does sleepwalking need a doctor's attention?
See a doctor if episodes are frequent, involve leaving the house or driving, result in injury, involve violent behavior, or start for the first time in adulthood.
Can adults develop sleepwalking for the first time?
Yes, though it's less common than childhood-onset sleepwalking. New-onset sleepwalking in adulthood is more often linked to an underlying trigger like sleep apnea, medication, or a major stressor, and is worth medical evaluation.
More from the creator
Explore two other projects from the same creator.