What Is Sleepwalking? Causes, Safety and When to See a Doctor
The short answer
Sleepwalking is a sleep disorder in which a person gets up and walks or does other things while still asleep, usually during deep sleep early in the night. It's most common in children, often runs in families and usually fades with age. Most episodes last under 10 minutes [1], and the person rarely remembers them.
What actually happens when someone sleepwalks?
Sleepwalking (the medical name is somnambulism) means getting up and walking around, or doing something else, while you're still asleep [1]. It usually happens during the deepest stage of non-REM sleep, called N3, in the first part of the night [1], not during REM sleep, when vivid dreaming is most common [1]. The person can sit up, walk and do surprisingly complex things, yet they're still asleep [1].
A sleepwalker can look surprisingly awake. Their eyes are often open, but they have a blank look on their face, may mumble things that don't make sense, and are slow to respond if you talk to them [1]. Some just sit up in bed. Others walk to the bathroom, move furniture, get dressed or undressed, and in rare cases even drive a car [1].
Episodes can last a few seconds or 30 minutes or more, but most are over in less than 10 minutes [1]. If no one disturbs them, sleepwalkers go back to sleep on their own, sometimes in an odd spot like the couch or the hallway floor. The next morning they usually remember nothing [1].
How common is sleepwalking?
More common than most people think, especially in kids. A review that pooled 51 studies covering about 100,000 people estimated that 6.9% of people sleepwalk at some point in their lives [2]. Looking only at the past 12 months, the rate was 5.0% in children and 1.5% in adults [2].
A long-term study that followed more than 1,900 children in Quebec found that sleepwalking peaked around age 10, when 13.4% of the children did it [3]. That study also showed how strongly it runs in families:
| Parents who sleepwalked | Children who sleepwalked at some point in childhood |
|---|---|
| Neither parent | 22.5% |
| One parent | 47.4% |
| Both parents | 61.5% |
Source: Petit et al. [3]. Put simply, a child with two sleepwalking parents was almost three times as likely to sleepwalk as a child whose parents never did (61.5 divided by 22.5 is about 2.7).
One thing worth knowing: estimates for adults vary a lot depending on how the question is asked. A survey of more than 19,000 American adults asked about nighttime wandering in an altered state of consciousness and found that 29.2% had done it at least once in their lives and 3.6% in the past year [4]. That's far higher than the 6.9% lifetime figure above [2]. The two numbers come from different methods and different questions, so treat them as a range rather than one exact answer. Either way, an occasional episode is not rare.
If your child sleepwalks, our article on what causes sleepwalking in children goes into more detail.
What causes sleepwalking?
There usually isn't one single cause. Instead, a built-in tendency (often inherited) meets a trigger that makes deep sleep more fragmented. The best-known factors are:
- Family history. Sleepwalking tends to run in families [1], as the table above shows.
- Age. It's much more common in children and young adults, partly because people get less deep N3 sleep as they age [1].
- Too little sleep, fatigue and anxiety. All of these are linked to sleepwalking [1]. In a sleep-lab study, every one of 10 adult sleepwalkers had at least one episode triggered by a sound during deep sleep after 25 hours without sleep, against 30% on a normal night [5].
- Alcohol and some medicines. Alcohol, sedatives and some sleeping pills can bring on episodes in adults [1]. Zolpidem (Ambien), for example, carries a warning about sleepwalking and other complex behaviors while not fully awake [6].
- Other sleep and health problems. In the large U.S. survey, adults with obstructive sleep apnea, insomnia, alcohol problems or depression were more likely to wander at night at least twice a month [4]. Seizures and mental health conditions are also on the list [1].
If an adult who sleepwalks also snores loudly, it can be worth asking a doctor about sleep apnea. Our guide to sleep apnea explains the warning signs.
Is it safe to wake a sleepwalker?
Yes. This is probably the biggest myth about sleepwalking. It isn't dangerous to wake someone who is sleepwalking, though they'll often be confused or disoriented for a short while [1]. Some people react with aggressive behavior when someone else wakes them [1], so it pays to be calm and gentle.
Here's a simple way to handle an episode:
- Stay calm and speak quietly. Don't shout or grab.
- Gently steer the person away from stairs, doors and anything sharp or hot.
- Guide them back to bed. Many sleepwalkers follow quietly without fully waking.
- If you do need to wake them, use their name and a light touch, and give them a moment to get their bearings.
- Note the time and what happened. A short log helps a doctor if episodes keep coming back.
Here's how some common beliefs stack up against the facts:
| Myth | What the evidence says |
|---|---|
| Waking a sleepwalker can harm them | It's not dangerous, though they may be briefly confused [1] |
| Sleepwalkers can't get hurt | Tripping and falling are common causes of injury [1] |
| Sleepwalkers are acting out dreams | Most episodes happen in deep non-REM sleep, not in REM sleep when vivid dreams are most common [1] |
| It means something is seriously wrong | It usually doesn't signal a serious disorder, although it can be a symptom of one [1] |
| Sleepwalkers walk with arms stretched out and eyes closed | Eyes are often open, with a blank look [1] |
Curious why injured sleepwalkers sometimes don't wake up? See whether sleepwalkers feel pain when they get hurt.
How can you keep a sleepwalker safe at home?
It's unusual for sleepwalkers to do something truly dangerous, but falls down stairs or out of windows can happen, so simple precautions are a good idea [1]:
- Clear floors of electrical cords, toys and furniture that could cause a trip [1].
- Put a safety gate across stairways [1].
- Lock windows and outside doors, and consider a simple door alarm or bell so you hear when someone gets up.
- Have a child who sleepwalks sleep in a lower bunk or on the ground floor rather than up high.
- Keep car keys, knives and medicines out of easy reach.
How do you prevent or treat sleepwalking?
Here's the good news: most people don't need any specific treatment [1]. Sleepwalking usually becomes less frequent as children get older [1]. For many families, safety steps and better sleep habits are enough.
What helps prevent episodes, according to the National Library of Medicine [1]:
- Avoid getting too little sleep, and try to prevent insomnia, since both can trigger sleepwalking.
- Reduce stress, anxiety and conflict where you can.
- If you sleepwalk, avoid alcohol and ask your doctor about any antidepressant you take.
A regular bedtime and a wind-down routine make it easier to get enough sleep. Our tips on improving your sleep hygiene are a practical place to start.
When episodes are frequent, some people are helped by hypnosis or by timed awakenings, a planned schedule of brief wake-ups worked out with a doctor [1]. In some cases a doctor may prescribe a short-acting tranquilizer, though some of these medicines can themselves cause sleepwalking [1], which is why this is a decision to make with your doctor.
When should you see a doctor about sleepwalking?
An occasional episode usually doesn't need a visit. Talk to your doctor if [1]:
- sleepwalking is frequent or keeps going on,
- it comes with other symptoms, or
- you or your child do something dangerous, such as driving, while asleep.
Also check in if sleepwalking starts for the first time as an adult, or if it began after starting a new medicine. If someone is injured during an episode, treat it like any other injury, and call 911 in an emergency.
Usually no tests are needed. If episodes are frequent, a doctor may examine you or order tests to rule out other conditions such as seizures, and may suggest a mental health evaluation if stress or anxiety could be playing a part [1].
For the curious: how sleepwalking fits with other night-time behaviors
Sleep runs in cycles of non-REM and REM sleep several times a night [1]. Sleepwalking most often comes out of deep N3 sleep early in the night [1], which is why episodes tend to happen in the first few hours after falling asleep.
Sleep terrors (sudden screaming and fear without full waking) are close relatives. In the Quebec study, sleep terrors peaked at about 18 months of age, and as many as a third of toddlers with sleep terrors went on to sleepwalk later in childhood [3]. The researchers saw the two as different faces of the same underlying process. You can read more in our articles on night terrors and on REM sleep disorder, a different condition in which people move during REM sleep.
Frequently asked questions
Do sleepwalkers remember what they did?
Usually not. Not remembering the episode on waking is one of the typical signs of sleepwalking [1]. That's why many sleepwalkers only find out from a family member, a roommate or clues like a door left open.
Can adults start sleepwalking for the first time?
Yes, it can happen. In adults, new sleepwalking can be linked to alcohol, sedatives or some sleeping pills, seizures or mental health conditions, and in older adults it may point to a problem affecting thinking and memory [1]. Any new sleepwalking in adulthood is worth mentioning to a doctor.
Can sleeping pills cause sleepwalking?
Yes, some can. Zolpidem (Ambien) carries a warning that people taking it have sleepwalked, driven, cooked and eaten, or made phone calls without being fully awake, and without remembering it afterward [6]. If that happens, stop the medicine and call your doctor right away.
Is sleepwalking a sign of a mental illness?
Usually not. Sleepwalking usually doesn't signal a serious disorder, and in children it usually becomes less frequent with age [1]. In a large U.S. survey, adults with depression or obsessive-compulsive disorder did report frequent nighttime wandering more often [4], so a doctor may ask about mood, stress and anxiety if episodes are frequent.
This article is for information only and is not a substitute for advice from a doctor or health professional.
Sources
- Sleepwalking (Medical Encyclopedia). MedlinePlus, U.S. National Library of Medicine
- Prevalence of Sleepwalking: A Systematic Review and Meta-Analysis (Stallman and Kohler, PLoS One, 2016). PubMed, U.S. National Library of Medicine
- Childhood Sleepwalking and Sleep Terrors: A Longitudinal Study of Prevalence and Familial Aggregation (Petit et al., JAMA Pediatrics, 2015). PubMed, U.S. National Library of Medicine
- Prevalence and comorbidity of nocturnal wandering in the U.S. adult general population (Ohayon et al., Neurology, 2012). PubMed, U.S. National Library of Medicine
- Precipitating factors of somnambulism: impact of sleep deprivation and forced arousals (Pilon et al., Neurology, 2008). PubMed, U.S. National Library of Medicine
- Zolpidem (drug information). MedlinePlus, U.S. National Library of Medicine