Sleepwalking: Causes, Safety, and When to See a Doctor

✦ Clinical Resourcesleepwalking

Updated October 30, 2026 · 7 min read · Sleep Clinic Directory editorial

⚡ Key Clinical Takeaways

  • Sleepwalking is part of a group of disorders called non-REM parasomnias.
  • Children between about 4 and 12 are the most common sleepwalkers.
  • Most episodes are not dangerous, but the environment matters.
  • Most children with occasional sleepwalking do not need a sleep study.
  • Not every nighttime event is sleepwalking.
Illustration of a person sitting up in bed during a non-REM sleepwalking episode
Sleepwalking happens in deep non-REM sleep, usually early in the night.

Quick answer: Sleepwalking is a non-REM parasomnia that happens when part of the brain is awake enough to walk but not awake enough for conscious awareness. It is most common in children, often runs in families and is usually harmless if the sleeper is kept safe. New adult-onset sleepwalking, injury or violent behavior needs medical evaluation.

A sleepwalker can open doors, move furniture or hold a conversation that makes no sense, then wake up with no memory of it. It looks alarming, but most episodes are brief and occur in deep sleep, usually in the first third of the night. The goal is not to wake the person dramatically; it is to prevent falls, exits and injuries.

This guide covers the causes, the safety plan and the signs that something more than a benign parasomnia may be going on.

What happens during sleepwalking

Sleepwalking is part of a group of disorders called non-REM parasomnias. It arises from an incomplete arousal from deep sleep. The sleeper may sit up, walk, eat, urinate in an unusual place or leave the house. The eyes may be open, but the person is not fully conscious and usually will not remember the event.

Episodes tend to happen in the first third of the night, when slow-wave sleep is concentrated. They can last seconds or several minutes. Some people have complex behaviors; others simply sit up and lie back down.

Who sleepwalks

Children between about 4 and 12 are the most common sleepwalkers. Many outgrow it by adolescence. Sleepwalking can run in families, and identical twins often share it. Adults can sleepwalk too, but new adult-onset sleepwalking deserves a closer look because it can be associated with another condition.

Factors that increase the chance of an episode include:

  • Sleep deprivation or an irregular sleep schedule
  • Fever or illness
  • Stress and anxiety
  • Alcohol
  • Some medications, especially sedatives or stimulants
  • Obstructive sleep apnea and other sleep disorders
  • Restless legs syndrome
  • Migraine or fever in children

The trigger is often a combination. A child who is overtired, feverish and sleeping in a new place is more likely to sleepwalk than a well-rested child at home.

Is sleepwalking dangerous?

Most episodes are not dangerous, but the environment matters. A sleepwalker can trip on stairs, walk into glass, leave the house or turn on a stove. The risk is higher when the person is agitated, when episodes are frequent or when there is a history of injury.

Safety measures are more effective than trying to wake the person:

  • Put a bell or alarm on outside doors
  • Use stair gates or close doors to stairs
  • Remove sharp objects and clutter from the path
  • Keep car keys and weapons locked
  • Put a mat or pool alarm near water
  • Use night lights to reduce confusion
  • Sleep on the ground floor if episodes are frequent

Do not shake or shout at a sleepwalker. Guide them gently back to bed with a calm voice. If they are in danger, wake them fully and keep them awake for a few minutes to reset the episode.

When to see a doctor

Most children with occasional sleepwalking do not need a sleep study. A clinician can review the history, sleep schedule, medications and safety plan. Further evaluation is warranted when:

  • Episodes are frequent or injurious
  • The person leaves the house or cooks
  • There is violent or sexual behavior
  • Adult-onset sleepwalking appears without a clear trigger
  • Daytime sleepiness, loud snoring or breathing pauses suggest sleep apnea
  • The episodes look like seizures, with stiffening, tongue biting or confusion
  • There is a risk to others

A sleep study may be used to look for apnea, restless legs or other triggers. Video-EEG monitoring can help distinguish a parasomnia from a seizure when the history is atypical.

Sleepwalking vs seizures and other parasomnias

Not every nighttime event is sleepwalking. Sleep terrors involve screaming, fear and autonomic arousal, often with no memory. Confusional arousals involve slow, confused behavior after waking. REM sleep behavior disorder involves acting out dreams, usually in older adults, and can be a warning sign of a neurodegenerative disease.

Seizures can also occur at night. Features that suggest a seizure include stereotypic movements, tongue biting, incontinence, prolonged confusion and a consistent timing. A neurologist can sort this out with a detailed history and, when needed, video-EEG.

What helps prevent episodes

The first step is to protect sleep. A consistent bedtime and wake time, enough sleep and a calm wind-down routine reduce deep-sleep pressure and abrupt arousals. Treat fever, pain and illness promptly. Review alcohol and sedatives with a clinician.

If sleepwalking is frequent and safety is a concern, a sleep specialist may discuss scheduled awakenings (waking the person briefly before the usual episode time), behavioral techniques or medication in selected cases. There is no universal drug treatment, and medication is not the first step for a healthy child with occasional episodes.

A note for partners and parents

Sleepwalking can be frightening to watch. Keep a log of the time, duration, behavior and any trigger. A phone video, if it can be done safely, is useful for the clinician. Do not block a sleepwalker physically unless they are in immediate danger; guide them instead.

If a child sleepwalks, tell babysitters and overnight guests. The safety plan should travel with the child. Most families can manage with environmental changes and reassurance.

Frequently Asked Questions

Is sleepwalking a mental illness?

No. Sleepwalking is a parasomnia, a disorder of the sleep–wake transition. It is not a sign of a psychiatric diagnosis, although stress and some medications can increase the likelihood.

Can you wake a sleepwalker?

You can, but it is not necessary and may confuse or agitate them. Guide them gently back to bed. If they are in danger, wake them fully and keep them awake briefly.

Why do children sleepwalk?

Children spend more time in deep non-REM sleep, and their arousal systems are still maturing. Fever, sleep deprivation and a family history are common contributors. Most outgrow it.

Does sleepwalking run in families?

Often, yes. A family history is common, and identical twins may both sleepwalk. Genetics is not the only factor; sleep debt and environment matter too.

When should an adult see a doctor for sleepwalking?

New adult-onset sleepwalking, frequent episodes, injury, violent behavior or daytime sleepiness should be evaluated. A sleep study may be needed to look for apnea or another trigger.

Final Thoughts

Sleepwalking is usually a benign childhood parasomnia that improves with age and a safe bedroom. The exceptions — adult onset, injury, violence, seizures or an underlying sleep disorder — are worth taking seriously. Start with sleep, safety and a log. Most families do not need a dramatic intervention; they need a plan.

This article is general information, not medical advice.

Related reading

Ready to find an accredited sleep clinic near you?

Browse 7,246 verified sleep centers (4,975 AASM accredited), filter by tests and treatments, and reach out directly — all in one verified directory.

🔍 Search Accredited Centers

or call a clinic directly from its profile — every listing has a verified phone number.

This medical guide complies with the American Academy of Sleep Medicine (AASM) standards of care for sleep disorders and reflects generally accepted clinical guidelines. It is informational and not a substitute for personalized medical advice.

← All guides