Curious Minds

Clear answers to science and history questions

Why Do Some People Sleepwalk? Causes & Facts

· 6 min read · Science

Sleepwalking, also called somnambulism, happens when a person gets up and walks or performs other actions while still in a state of partial arousal from deep sleep. It is most common in children, affecting an estimated 1–5% of kids at some point, and it usually fades by the teenage years; in adults, the lifetime prevalence is roughly 1–4%.

What Exactly Is Sleepwalking?

Sleepwalking is a parasomnia—a disorder of arousal, meaning it occurs during the transition from the deepest stage of non-REM sleep (stage N3, also called slow-wave sleep) toward lighter sleep or wakefulness. The person’s brain is partially awake enough to move and interact with the environment, but the higher cognitive areas that govern judgment, memory, and self-awareness are still asleep. That is why a sleepwalker may have a blank stare, respond slowly or not at all, and have no memory of the event the next morning.

Episodes typically happen in the first third of the night, when slow-wave sleep is most abundant. They can last from a few seconds to 30 minutes or more. The actions range from simply sitting up in bed to walking around, opening doors, rearranging objects, or even leaving the house. In rare, extreme cases, people have been reported to cook, drive, or climb out of windows—though such complex behaviors are uncommon and often sensationalized.

What Causes Sleepwalking?

The precise mechanism is not fully understood, but it is known to involve a combination of genetic, developmental, and environmental factors.

  • Genetics: Sleepwalking runs in families. If one parent has a history of sleepwalking, a child has a significantly higher chance of experiencing it; if both parents do, the likelihood increases further. Twin studies show a higher concordance in identical twins than in fraternal twins, pointing to a hereditary component.
  • Age and brain development: Children’s brains are still maturing, particularly the areas that regulate sleep cycles. As the nervous system develops, the frequency and severity of sleepwalking typically decline.
  • Sleep deprivation: Lack of sleep increases the amount of slow-wave sleep the brain tries to “catch up” on, making the transition between sleep stages more abrupt and increasing the chance of an arousal disorder.
  • Triggers that fragment sleep: Fever, illness, stress, alcohol, certain medications (like sedatives or some psychiatric drugs), and conditions like restless legs syndrome or sleep apnea can all provoke episodes in susceptible individuals.

How Does Sleepwalking Actually Work?

During normal sleep, the brain cycles through stages: light sleep, deep slow-wave sleep, and REM (rapid eye movement) sleep. Sleepwalking arises specifically from slow-wave sleep. In a typical night, a person enters slow-wave sleep within the first hour and spends most of that stage early in the night. When the brain begins to shift out of deep sleep, it usually does so smoothly. In a sleepwalker, however, a partial arousal occurs: the brain’s motor centers become active, allowing coordinated movement, but the prefrontal cortex—responsible for decision-making and self-awareness—remains suppressed.

This explains the classic signs: the eyes are open but “glassy,” the person may mumble nonsensically, and they may perform automatic behaviors like walking to a door and opening it, but they won’t respond to questions or remember anything later. Brain imaging studies during episodes show that the areas responsible for movement and spatial navigation are active, while the areas for memory and insight are not.

Is Sleepwalking Dangerous?

For most people, sleepwalking is not dangerous, but it does carry real risks. The primary danger is injury from tripping, falling down stairs, or bumping into furniture. In rare cases, a sleepwalker may wander outside, encounter traffic, or attempt to perform complex tasks like cooking, which could lead to burns or cuts. There have been legal cases where sleepwalkers have caused harm to others, but these are extremely rare and usually involve other predisposing factors like sleep deprivation or substance use.

It is a common misconception that waking a sleepwalker is dangerous—that they might have a heart attack or go into shock. This is false. Waking a sleepwalker is not medically harmful, but it can be confusing and disorienting for the person, and they may become agitated or even aggressive briefly. The best approach is to gently guide them back to bed without waking them if possible, or to wake them softly if they are in immediate danger.

How to Manage and Reduce Sleepwalking

If you or a family member sleepwalks, the first step is to create a safe environment and address any underlying triggers. Here are practical measures:

  1. Ensure safety: Lock doors and windows, use baby gates at stairways, remove sharp objects or clutter from the floor, and consider placing a bell or alarm on the bedroom door.
  2. Prioritize sleep: Aim for a consistent sleep schedule with adequate hours (7–9 for adults, more for children). Avoid sleep deprivation, which is a common trigger.
  3. Reduce stress: Practice relaxation techniques before bed, such as deep breathing or reading, to lower overall arousal.
  4. Avoid alcohol and sedatives: Both can fragment sleep and increase the likelihood of an episode.
  5. Address underlying conditions: If sleep apnea or restless legs syndrome is present, treating those conditions often reduces sleepwalking episodes.
  6. Consider scheduled awakenings: For frequent episodes, a doctor may recommend waking the child or adult about 15–30 minutes before the usual time of the episode, which can reset the sleep cycle.

When to See a Doctor

Most children outgrow sleepwalking, and occasional episodes in adults are not a cause for alarm. However, you should consult a healthcare professional if:

  • Episodes occur more than once a week or are frequent enough to disrupt daily life.
  • The sleepwalker is at risk of injury or has already been injured.
  • Episodes involve dangerous behavior like leaving the house or driving.
  • The sleepwalking begins for the first time in adulthood, which may signal an underlying neurological or medical issue.
  • The person is excessively sleepy during the day, which could indicate a separate sleep disorder.

A doctor may recommend a sleep study (polysomnography) to rule out other conditions like sleep apnea or seizure disorders. In adults with severe or persistent sleepwalking, treatment may include cognitive behavioral therapy, hypnosis, or, in rare cases, medication like clonazepam—but these are prescribed only after a full evaluation.

Common Misconceptions

Beyond the “don’t wake them” myth, there are other misunderstandings. One is that sleepwalkers are acting out dreams—this is false, because sleepwalking occurs in non-REM sleep, where dreams are rare and not vivid. Another is that sleepwalkers are “crazy” or have psychological problems; in reality, most are perfectly healthy, and the behavior is simply a sleep state disorder. Also, some people believe that sleepwalking is always a sign of a serious condition, but for most it is a benign, transient phenomenon, especially in childhood.

Frequently Asked Questions

Can a sleepwalker hurt themselves or others?

Yes, but it is rare. The most common injuries are minor bumps and falls. Serious harm—like falling down stairs or wandering into traffic—happens occasionally, and there are documented cases of sleepwalkers causing harm to others, but these are extremely rare and usually involve additional factors like severe sleep deprivation or substance use.

Is it safe to wake a sleepwalker?

Yes, it is safe. Waking a sleepwalker will not cause a heart attack or psychological damage, but it may confuse or startle them. If you must wake them (for example, if they are about to walk into a wall), do so gently by calling their name or lightly touching their arm.

Do children outgrow sleepwalking?

Most children do. Sleepwalking peaks between ages 4 and 8, and the majority of children stop by adolescence. If it continues into adulthood, it may be a lifelong trait, but it often becomes less frequent with age.

Can adults develop sleepwalking suddenly?

Yes, but it is less common. Sudden onset in adulthood can be triggered by stress, sleep deprivation, medication changes, or underlying conditions like sleep apnea. If it happens frequently or is new, it is worth a medical evaluation.

Does sleepwalking mean a person is mentally ill?

No. Sleepwalking is a sleep disorder, not a psychiatric condition. While stress and some mental health conditions can increase the likelihood, the vast majority of sleepwalkers have no mental illness.

In this article
  1. What Exactly Is Sleepwalking?
  2. What Causes Sleepwalking?
  3. How Does Sleepwalking Actually Work?
  4. Is Sleepwalking Dangerous?
  5. How to Manage and Reduce Sleepwalking
  6. When to See a Doctor
  7. Common Misconceptions
  8. Frequently Asked Questions