Skip to main content
General practice·General practice

Sleepwalking

Overview

Sleepwalking (doctors call it somnambulism) is when someone gets up and moves around or does other actions while they are still asleep. It happens during deep sleep, usually in the first few hours of the night. The person may walk, sit up, open doors, get dressed, or mumble, and they usually have a blank stare and won't respond properly if you talk to them. Most people don't remember anything about it the next morning. Sleepwalking is not a sign of a mental health problem or a bad dream — it is simply a glitch in the normal switch between deep sleep and waking.

Key facts

  • Sleepwalking is most common in children between about 4 and 12 years old, and most children grow out of it by their teens.
  • An episode usually lasts a few minutes and often ends with the person going back to bed, sometimes in a different place from where they started.
  • The main job of treatment is keeping the sleeper safe — most people do not need any medicine at all.
  • Tiredness, fever, late nights, alcohol and some medicines can make episodes more likely.
  • It is safe to gently guide a sleepwalker back to bed. You do not need to wake them, and waking them suddenly is not dangerous but can leave them confused.

Yes, it is common, especially in childhood. Roughly 1 in 5 children sleepwalk at some point, though regular episodes are much less frequent. In adults it is far less common — around 1 to 2 in 100 adults — and when it starts for the first time in an adult it is worth having a doctor check it.

Sleepwalking affects all ages but is seen most often in children, particularly between ages 4 and 12. It can run in families, so a child with a parent who sleepwalked is more likely to do it too. Adults can sleepwalk, and it may be more likely during times of stress, poor sleep, shift work, or when taking certain medicines. It affects boys and girls, men and women, about equally.

Symptoms

Call emergency services immediately if you notice:
  • The person has been seriously injured, is bleeding heavily, or has had a fall with a head injury
  • The person is in immediate danger — for example walking towards a road, an open window, a balcony or stairs
  • The person is found unconscious, not breathing normally, or cannot be woken at all
  • The person has left the house and cannot be found
  • The person has hurt someone else or is behaving in a way that puts others in danger
See a doctor urgently (same day) if you notice:
  • ⚠A first-ever episode in an adult, especially with confusion afterwards
  • ⚠Episodes happening most nights, or several times in one night
  • ⚠Sleepwalking that causes injuries, or happens in a home with stairs or other hazards
  • ⚠Loud snoring, gasping or long pauses in breathing during sleep (possible sleep apnoea)
  • ⚠Unusual movements, stiffness, or repeated lip-smacking during sleep that could suggest a seizure
  • ⚠New or worsening sleepwalking after starting a new medicine
  • ⚠Very sleepy during the day, or falling asleep at unsafe times

Common symptoms

  • Getting out of bed and walking around with eyes open but a blank, glassy stare
  • Sitting up in bed, fidgeting, or making repeated movements
  • Not responding, or responding very slowly, when spoken to
  • Mumbling or saying a few words that don't make sense
  • Doing routine things like opening doors, turning on lights, or going to the bathroom
  • Clumsy movements or bumping into things
  • Being very hard to wake, and looking confused or upset if woken
  • Little or no memory of the episode the next day
  • Falling back to sleep on their own, sometimes somewhere unusual

Symptoms in children

  • Most episodes happen in the first hour or two after falling asleep
  • Often triggered by being very tired, a late night, fever or illness, or a full bladder
  • Children usually do not remember anything about it
  • Often runs in families
  • Most children stop sleepwalking by their early teens without any treatment
  • Keeping a calm, safe bedroom and a regular bedtime is usually all that is needed

Symptoms in older adults

  • New sleepwalking in an adult is less common and more often has a trigger worth checking
  • Possible triggers include poor sleep, sleep apnoea (pauses in breathing during sleep), stress, alcohol, and some prescription medicines
  • Episodes that look like sleepwalking can occasionally be a different sleep problem or a seizure, so a doctor's check is sensible
  • There is a higher chance of injury, such as falls, because of stairs, furniture or weaker balance
  • Reviewing medicines with a doctor or pharmacist is a useful first step

Causes

Main causes

  • Sleepwalking happens when part of the brain is awake enough to move the body while the person is still in deep sleep. It is not caused by dreaming.
  • Being very tired, sleep deprived, or having an irregular sleep pattern
  • Fever or illness in children
  • A full bladder
  • Alcohol, especially in adults
  • Some prescription medicines, including certain sleep aids, antidepressants and medicines for anxiety
  • Stressful events or a disturbed sleep environment (noise, a new place, sharing a room)
  • Underlying sleep problems such as sleep apnoea or restless legs
  • A genetic (family) tendency — sleepwalking often runs in families

Risk factors

  • Being a child aged 4 to 12
  • Having a parent or sibling who sleepwalked
  • Not getting enough sleep or having an irregular bedtime
  • Shift work or jet lag
  • Drinking alcohol
  • Taking certain medicines, especially sedatives or some antidepressants
  • High stress or anxiety
  • Sleeping somewhere unfamiliar

When to see a doctor

See a doctor urgently if:

  • A first episode in an adult, or episodes that start suddenly and happen often
  • Any injury during an episode, or a near miss such as wandering outside or towards stairs
  • Sleepwalking that comes with confusion, unusual movements, or a change in behaviour during sleep
  • Loud snoring or pauses in breathing during sleep
  • Sleepwalking that starts after a new medicine

Book a routine appointment if:

  • Episodes happen often enough to disrupt family sleep or cause worry
  • Your child is older and still sleepwalking regularly
  • You feel very sleepy during the day
  • You would like advice on making the bedroom and home safer
  • You are worried or would simply like to understand what's happening
For most children, sleepwalking is harmless and stops on its own with time. It is not a sign of emotional problems, a bad dream, or a serious illness. With a few simple safety changes at home, most families don't need any treatment at all. If you are unsure, a talk with your doctor or pharmacist is a sensible, low-stress step — you don't need to rush.

Diagnosis

There is no single test for sleepwalking. A doctor usually makes the diagnosis by listening to you and, if possible, someone who has seen an episode. They will ask what happens, when in the night it happens, how long it lasts, and whether the person remembers it. They will also ask about sleep habits, health conditions, medicines, alcohol, and stress. Because sleepwalking runs in families, they may ask about relatives too.

Tests that may be done

  • A sleep diary — a simple record of bedtimes, wake times and when episodes happen
  • A review of all medicines, including anything bought over the counter, with a pharmacist or doctor
  • A home safety check of the bedroom, stairs and exits
  • Blood tests — only if the doctor suspects another cause such as a thyroid problem
  • A referral to a sleep specialist if episodes are frequent, dangerous, or unusual
  • A sleep study (polysomnography) — a night in a sleep clinic with sensors that record brain waves, breathing and movement — only if a specialist thinks another condition like sleep apnoea or a seizure may be involved

What to expect at your appointment

Most appointments are short and reassuring. The doctor will likely focus on safety and on spotting anything that could be making episodes more likely. Many people leave with no tests at all, just a plan to improve sleep habits and make the home safer. If a specialist referral is needed, there may be a wait, and a sleep study means spending a night in a clinic with comfortable sensors attached — it doesn't hurt.

Treatment

For most people, treatment is about safety and better sleep, not medicine. Because episodes usually stop on their own, especially in children, the first steps are simple: keep the sleeper safe, keep a regular sleep routine, and look for triggers such as tiredness, alcohol or a new medicine. If episodes are frequent or risky, a doctor or sleep specialist can suggest other approaches.

Self-care at home

  • Keep floors clear, put a gate at the top of stairs, and lock or block windows and outside doors safely
  • Put away sharp objects, trailing cables and anything breakable near the bed
  • Consider a bell or sensor on the bedroom door so you know if someone gets up
  • Keep a regular bedtime and aim for enough sleep — tiredness is the biggest trigger
  • Avoid caffeine close to bedtime, and avoid alcohol in the evening
  • Make the bedroom dark, quiet and at a comfortable temperature
  • Use the toilet just before bed to avoid a full bladder triggering an episode
  • Try a calm wind-down routine: dim lights, screens off, a warm bath or quiet reading
  • Don't try to wake a sleepwalker forcefully — gently guide them back to bed and speak softly
  • Keep a simple diary of episodes so you can spot patterns and share them with your doctor

Medical treatments

Doctors do not usually prescribe anything for sleepwalking. The first step is always to treat any underlying cause — for example, improving sleep habits, cutting out evening alcohol, or changing a medicine that seems to be a trigger (only ever with your doctor's or pharmacist's advice). If episodes are very frequent or dangerous, a sleep specialist may discuss behavioural approaches, such as relaxation techniques, a planned gentle waking routine before the usual time of night, or sometimes a talking therapy such as hypnosis or cognitive behavioural therapy for sleep. In a small number of severe cases, specialists may consider prescription medicine, but this is rare and only ever under specialist care. Never start, stop or change a medicine without speaking to your doctor or pharmacist.

When is surgery considered?

Surgery is not a treatment for sleepwalking itself. It may only be relevant if a separate condition that affects sleep needs an operation — for example, surgery for enlarged tonsils when sleep apnoea is the underlying problem. Your specialist would discuss this with you if it applied.

Living with this condition

Life with sleepwalking is usually manageable with a few practical changes. Focus on a safe bedroom and a calm, predictable bedtime. Most episodes are short and the person settles back to sleep without any fuss. Family members can help by staying calm, speaking softly, and guiding the sleeper back to bed without trying to wake them. It also helps to tell anyone who shares the home — or a hotel, or a friend's house — what to do if it happens.

Lifestyle tips

  • Go to bed and get up at roughly the same time every day, including weekends
  • Aim for the recommended amount of sleep for your age
  • Keep the bedroom cool, dark and quiet, and use it mainly for sleep
  • Limit alcohol, especially in the evening
  • Reduce caffeine after mid-afternoon
  • Build in relaxing time before bed — screens off, dim lights, gentle stretching or reading
  • Be active during the day; regular exercise improves sleep quality
  • If you work shifts, plan rest carefully and talk to your employer about safe scheduling

Diet and exercise

There's no special sleepwalking diet, but when and what you eat matters for sleep. Try to finish heavy meals a couple of hours before bed, and avoid caffeine in the evening. Alcohol may help you fall asleep faster but it fragments sleep and is a common trigger for sleepwalking, so cutting back often helps. Regular daytime movement — a walk, swimming, cycling, anything you enjoy — improves deep sleep and lowers stress. Avoid intense exercise right before bed, as it can keep you awake.

Mental health and emotional wellbeing

Sleepwalking itself is not caused by mental health problems, but it can still affect how you feel. Parents often feel anxious or guilty, and adults may feel embarrassed or worry about what they did. Broken sleep can leave everyone tired and short-tempered. These feelings are normal. Talking about it openly, keeping a diary of triggers, and putting safety measures in place usually reduces worry a lot. If sleep disruption is affecting your mood or anxiety, tell your doctor — support is available, and you deserve it.

Prevention

You can't always prevent sleepwalking, especially in children who are simply growing through it. But you can lower the chances of episodes by protecting sleep: a regular bedtime, enough hours in bed, a calm bedtime routine, less alcohol and caffeine, and managing stress. For children, avoiding very late nights and catching up on sleep after a busy day helps a lot. If a medicine seems to be triggering episodes, ask your doctor or pharmacist about alternatives rather than stopping it yourself.

Screening programmes

There is no routine screening programme for sleepwalking. It is picked up when someone notices episodes or when a family raises it with their doctor. If sleepwalking runs in your family, it is still worth mentioning at a routine appointment, especially if it starts happening more often.

Complications

If left untreated

  • Injury from falls, bumping into furniture, or going down stairs
  • Wandering outside, which can be dangerous, especially near roads or water
  • Broken sleep for the person and for everyone in the home
  • Daytime tiredness, which can affect school, work and driving safety
  • Embarrassment, worry or strain on relationships
  • Very rarely, behaviour that could hurt someone else — this needs medical advice

Long-term outlook

The outlook is good. Most children stop sleepwalking by their teens without any treatment, and many adults find episodes become much rarer once triggers like tiredness, alcohol or a particular medicine are sorted out. Simple safety steps at home make a real difference straight away. A small number of people continue to sleepwalk now and then, but with good sleep habits and a safe home it usually fits easily into everyday life. If you have any concerns, your doctor is there to help.

Find support

External links open third-party websites. Ruqelo Health is not responsible for external content. Listing an organisation does not imply endorsement.

Always verify with your doctor

Health guidance differs by country and region. This page is general education and may not match the guidelines, medicines, or practice where you live. Discuss your concerns with your own doctor or healthcare provider, and follow local guidance where it exists.

Important notice This information is for educational purposes only. It does not replace professional medical advice, diagnosis, or treatment. Always consult a qualified healthcare provider about your specific situation. If you are experiencing a medical emergency, call your local emergency services immediately.

Related conditions

Sources and guidance

No guideline names this topic

No health guideline or clinical chapter that names this exact topic is cited here. This page is for general education and information only. It is not a diagnosis, a treatment plan, or personal medical advice. Check with your own doctor and follow their advice. If symptoms are severe, sudden, or worrying, get medical care promptly, and call your local emergency number in an emergency. Ruqelo LLC is not responsible for medical or legal outcomes from decisions based on this information.

Last updated: October 25, 2026

Educational note: This information is for education only and is not a diagnosis.

Use it to support, not replace, advice from a licensed clinician.

If symptoms are severe, worsening, or urgent, call your local emergency number or seek emergency care.

Guidance may differ by country or region. Confirm local recommendations with a qualified healthcare provider.

Questions about this article