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

> Why sleepwalking happens, what triggers it in children and adults, how to make the bedroom safe, and the red flags that need a doctor.

Canonical: https://sleepclinicdirectory.com/articles/sleepwalking-causes-safety

Last updated: 2026-10-30

## 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](https://sleepclinicdirectory.com/images/articles/sleepwalking-causes-safety.png)

*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

- [Sleep myoclonus: why you jerk at night](https://sleepclinicdirectory.com/articles/sleep-myoclonus)
- [How much sleep do kids and teens need?](https://sleepclinicdirectory.com/articles/how-much-sleep-by-age)
- [Signs you should see a sleep specialist](https://sleepclinicdirectory.com/articles/signs-you-should-see-a-sleep-specialist)

## Related guides in this series

- [Sleep Clinics in Spring, TX: How to Choose One](https://sleepclinicdirectory.com/articles/sleep-clinics-spring-tx) — Spring, TX has four sleep clinics listed in the directory, with services ranging from insomnia treatment to home sleep tests. This guide helps compare locations, services, credentials, and questions to ask before booking.
- [Sleep Clinics in St. Petersburg, FL: How to Choose One](https://sleepclinicdirectory.com/articles/sleep-clinics-st-petersburg-fl) — Compare 4 sleep clinics in St. Petersburg, FL by address, phone, and listed services, with tips on choosing, access, and questions to ask.
- [Sleep Clinics in Stafford, VA: How to Choose One](https://sleepclinicdirectory.com/articles/sleep-clinics-stafford-va) — Stafford, Virginia has 4 sleep clinics listed in this directory. This guide compares their listed services, locations, and contact details, and explains how to choose and prepare for care.

## About this guide

This medical guide follows generally accepted clinical guidance for sleep disorders and is informational only. It is not a substitute for personalized medical advice. Always discuss diagnosis and treatment with a qualified physician.

## Related
- [Sleep Clinics in Spring, TX: How to Choose One](https://sleepclinicdirectory.com/articles/sleep-clinics-spring-tx)
- [Sleep Clinics in St. Petersburg, FL: How to Choose One](https://sleepclinicdirectory.com/articles/sleep-clinics-st-petersburg-fl)
- [Sleep Clinics in Stafford, VA: How to Choose One](https://sleepclinicdirectory.com/articles/sleep-clinics-stafford-va)
- [All sleep health guides](https://sleepclinicdirectory.com/articles)
- [Find a sleep clinic](https://sleepclinicdirectory.com/clinics)
