- Sleepwalking is a parasomnia that arises out of deep non-REM sleep, most often in children who usually outgrow it.
- Common triggers include sleep deprivation, fever, stress, some medications, and other sleep disorders such as sleep apnea.
- Most episodes are brief and harmless, but injury is the main real risk, so making the bedroom and home safe matters.
- Do not shake a sleepwalker awake; gently guide them back to bed instead.
- See a doctor if episodes are frequent, involve dangerous behavior, start in adulthood, or come with gasping or breathing pauses.
Sleepwalking, known medically as somnambulism, is a behavior in which a person gets up and moves around while still asleep. It belongs to a group of sleep disturbances called parasomnias and is especially common in children. For most families it is more startling than dangerous, but understanding why it happens, how to keep a sleepwalker safe, and when it signals a bigger problem can bring real peace of mind. This guide is educational and is not a substitute for medical advice.
What sleepwalking is
Sleepwalking arises out of deep non-REM sleep, usually during the first third of the night. The brain is partly awake and partly in deep sleep, which is why a sleepwalker can walk, talk, or perform routine actions yet have little or no memory of it afterward. Episodes can be as simple as sitting up in bed or as involved as walking through the house, getting dressed, or even leaving through a door. Eyes are often open but with a glassy, unfocused look. According to the Mayo Clinic and Sleep Foundation, episodes usually last a few minutes, though some run longer.
Who sleepwalks and why
Sleepwalking is far more common in children, particularly between the ages of about 4 and 12, and many children simply outgrow it as their nervous system matures. It can run in families, so a child is more likely to sleepwalk if a parent did. Adults sleepwalk less often, and new-onset sleepwalking in adulthood is more likely to have an identifiable trigger worth discussing with a clinician.
Common contributors include:
- Sleep deprivation and irregular sleep schedules.
- Fever or illness, especially in children.
- Stress, anxiety, or an over-full bladder at night.
- Certain medications, including some sedatives and other drugs that affect the brain.
- Alcohol use near bedtime.
- Other sleep disorders that fragment deep sleep, such as restless legs or obstructive sleep apnea.
How common triggers compare
| Trigger | Typical situation | What may help |
|---|---|---|
| Not enough sleep | Late nights, missed naps in kids | Consistent, age-appropriate sleep schedule |
| Fever/illness | Children during infections | Usually resolves as illness passes |
| Stress | School, work, big life changes | Wind-down routine, stress management |
| Medications/alcohol | New prescription or evening drinking | Review with doctor or pharmacist |
| Another sleep disorder | Snoring, gasping, leg movements | Medical evaluation and possible sleep study |
Is sleepwalking dangerous?
The behavior itself is usually harmless, and the old myth that waking a sleepwalker is medically dangerous is not true. The real concern is injury: a sleepwalker may trip on stairs, walk into furniture, leave the house, or handle objects unsafely. Rarely, complex behaviors during an episode can involve driving or aggression. Because the person is not fully conscious, they cannot reliably keep themselves safe, so prevention falls to the household.
How to respond during an episode
Experts, including the AASM, generally advise not shaking or startling a sleepwalker awake, which can leave them confused, frightened, or briefly combative. Instead:
- Speak calmly and gently guide them back to bed.
- Do not physically restrain unless they are in immediate danger.
- Avoid asking a lot of questions; they are unlikely to respond normally.
- Let them settle back into sleep; they usually will not remember the event.
Making the home safe
Because injury is the main risk, safety-proofing matters more than trying to stop every episode:
- Lock outside doors and windows, and consider a door alarm or bell.
- Install a safety gate at the top of stairs, especially for children.
- Move sharp objects, clutter, and trip hazards out of walking paths.
- Keep car keys and, where relevant, firearms locked away.
- Have a sleepwalker sleep on a ground floor if practical.
Reducing triggers helps too. Prioritize getting enough sleep for your age, keep a regular bedtime, manage stress, and limit alcohol in the evening. For general habits that support steadier sleep, see our wellness guide.
When to see a doctor
Occasional sleepwalking in an otherwise healthy child rarely needs treatment. Contact a clinician if you notice any of the following:
- Episodes that are frequent (for example, several times a week) or increasing.
- Behavior that risks injury to the sleepwalker or others.
- Sleepwalking that begins in adulthood or continues past the teenage years.
- Excessive daytime sleepiness, which may point to disrupted sleep.
- Signs of another sleep disorder, such as loud snoring, gasping, or witnessed breathing pauses — these can indicate sleep apnea in children or adults and deserve prompt evaluation, sometimes with a sleep study.
A doctor may review medications, screen for underlying sleep disorders, and in some cases recommend a sleep study or scheduled-awakening strategies. Never adjust or stop a prescribed medication on your own; talk to your doctor or pharmacist first.
Frequently asked questions
Will my child outgrow sleepwalking? Most children do as they get older, especially if triggers like short sleep are addressed.
Is it dangerous to wake a sleepwalker? It is not medically harmful, but it can leave them disoriented. Gently guiding them back to bed is usually better.
Do sleepwalkers remember what they did? Usually not, or only in fragments, because the brain is in deep sleep during episodes.
Can adults start sleepwalking? Yes, and new adult-onset sleepwalking is worth discussing with a doctor to check for triggers or other conditions.
Can supplements or sleep aids stop it? There is no proven over-the-counter cure; some sedating products may even worsen parasomnias. Talk to a clinician before trying anything.
Does sleepwalking mean a serious mental illness? No. It is common and usually benign, though frequent or dangerous episodes should be evaluated.
This article is for general education and is not medical advice. Supplements and therapies affect people differently and can interact with medications or conditions. Talk to your doctor, pharmacist, or a licensed clinician before making changes to your health routine.
Sources
- Mayo Clinic — sleepwalking (somnambulism)
- Sleep Foundation — sleepwalking and parasomnias
- American Academy of Sleep Medicine (AASM) — parasomnias
- NIH / MedlinePlus — sleep disorders
