Sleep disorders
Sleepwalking: causes, what it is and how to keep safe
Sleepwalking is when you get up and move around while you are asleep. It happens when you partly wake from deep sleep, is more common in children and often runs in families. The NHS says it does not usually need treatment, but keeping the home safe and getting enough sleep matter. See a GP if it disrupts sleep or you are worried about injury.
Last checked: 2026-10-18
Key facts
At a glance.
-
What it is
The NHS says sleepwalking is when you get up and move around while you are asleep. It does not usually need treatment, but it is important to keep yourself safe.
-
What happens
You appear to wake up and sit up or get out of bed, usually with your eyes open and a blank face, and cannot respond normally to what is around you. It usually lasts a few minutes and you will not remember it.
-
When it happens
The NHS says it usually happens in the first part of the night.
-
Causes
Partly waking from deep sleep. The NHS links it to not enough sleep, sleep apnoea or restless legs syndrome, fever, certain medicines, stress and alcohol. It is more common in children and in families who sleepwalk.
-
Outlook in children
The NHS says most children grow out of it without treatment by the time they are teenagers.
-
Waking someone
The NHS advises gently guiding them back to bed. If you need to wake them, wake them gently, as sudden waking can leave them confused, scared, angry or upset.
What is sleepwalking?
The NHS describes sleepwalking as getting up and moving around while you are asleep. Sleepwalkers appear to wake up, sit up or get out of bed, usually with their eyes open but a blank-looking face, and are not able to respond normally to what is around them. Sleepwalking is a type of parasomnia, a term Sheffield Children's NHS Foundation Trust uses for abnormal behaviours around sleep, alongside night terrors.
People may do routine things such as getting dressed or walking around the house. Less commonly they do more complex things such as eating, sexual activities or leaving the house. It usually lasts a few minutes. You may go back to bed on your own or wake up confused, and you will not remember it afterwards.
What causes sleepwalking?
The NHS says sleepwalking happens when you partly wake from deep sleep in a way that means you can move but your brain is not fully awake. It is not known exactly why this happens, but it can be linked to the following.
-
Not getting enough sleep.
-
Other conditions that affect sleep, such as sleep apnoea or restless legs syndrome.
-
Being unwell with a high temperature.
-
Taking certain medicines, such as sleeping pills.
-
Stress.
-
Drinking alcohol.
Who gets sleepwalking?
The NHS says sleepwalking is more common in children, and if you have other family members who also sleepwalk. Sheffield Children's describes related night terrors as most common in 2 to 6 year olds, affecting around 15% of children, and says strong evidence suggests a genetic link and that they run in families. Both sources say they are common in childhood.
The NHS says most children grow out of sleepwalking without treatment by the time they are teenagers.
How can I stay safe and what should I do if someone is sleepwalking?
The NHS says there are things you can do to reduce the risk of accidents. Sheffield Children's gives similar advice for children.
-
Keep doors and windows closed, and use stair gates to keep children safe.
-
Keep floors clear and remove anything someone could trip on.
-
Lock away sharp objects such as knives and tools.
-
Fit door alarms if there is a risk of leaving the house. Sheffield Children's suggests a jingle bell on the door handle or a wireless door alarm.
-
Do not let a child who sleepwalks sleep in the top of a bunk bed. If you are worried about a fall from bed, Sheffield Children's suggests moving the mattress to the floor or using a bed guard.
-
If someone is sleepwalking, try to gently guide them back to bed. The NHS says if you need to wake them, wake them gently. Sheffield Children's advises against trying to wake a child, because it will likely make it last longer.
What can help reduce sleepwalking?
The NHS suggests getting enough sleep: relax before bed, avoid daytime naps, and go to bed and get up at the same times each day. It also suggests managing stress and avoiding caffeine or alcohol in the evening. A sleep diary can help you spot patterns: record whether you sleepwalked, what time you went to bed, how well you slept, whether you had caffeine or alcohol and whether you were tired or stressed.
For children, Sheffield Children's says simply getting a little more sleep each night is enough for many children to reduce the frequency, for example going to bed 10 to 15 minutes earlier each night, keeping a regular sleeping pattern, and a calming bedtime routine. It also advises not talking to the child about episodes the next day, as it might make them worried about having one.
How is sleepwalking treated?
The NHS says sleepwalking does not usually need treatment. If it is linked to another condition, or to a medicine, treating the condition or changing the medicine should help, but do not stop taking medicines without talking to a GP.
A GP might refer you to a sleep clinic for tests and treatment if sleepwalking puts you at risk of accidents or severely affects your sleep, or if they think it could be linked to a condition such as sleep apnoea. The NHS says treatment from a sleep clinic may include psychological therapies such as cognitive behavioural therapy or hypnotherapy, and medicines such as clonazepam or antidepressants if other things have not worked.
Sleepwalking compared with night terrors
The two are related but not the same. This table uses the NHS and Sheffield Children's descriptions.
| Sleepwalking | Night terrors | |
|---|---|---|
| What happens | Getting up and moving around while asleep, often with eyes open and a blank face | The child seems wide awake with eyes open, agitated, may scream or shout, but is still asleep |
| Timing | Usually the first part of the night, a few minutes | Usually about 2 hours after falling asleep, in a non-dream phase of sleep |
| Memory | Will not remember it | Most children do not remember it |
| Typical age | More common in children; most grow out of it by their teens (NHS) | Most common at 2 to 6 years, affecting around 15% of children |
| Response | Guide gently back to bed | Stay beside the child, do not restrain them and let it run its course |
When to see a GP
The NHS says to see a GP if you or your child sleepwalk and it is disrupting your sleep, you are worried about accidents or injuries, or you have other symptoms such as feeling very tired during the day or your breathing stopping and starting while you sleep. Sleepwalking itself is not an emergency, but call 999 if someone is badly hurt.
NHS and private pathways
Most people only need advice from a GP, pharmacist or the NHS pages. If sleepwalking is a safety risk, a GP can refer to an NHS sleep clinic. Private sleep clinics are also available for sleep studies and therapy. Bring a sleep diary and a list of your medicines to any appointment.
Frequently asked
Questions people ask.
Quick, plain-English answers to the questions we hear most.
-
What is sleepwalking?
The NHS says it is when you get up and move around while you are asleep. You may sit up, get out of bed or do routine things, usually with eyes open and a blank face, and you will not remember it.
-
What causes sleepwalking?
It happens when you partly wake from deep sleep. The NHS links it to not enough sleep, sleep apnoea or restless legs syndrome, fever, certain medicines such as sleeping pills, stress and alcohol, and it can run in families.
-
Is sleepwalking common in children?
Yes. The NHS says it is more common in children, and most grow out of it without treatment by the time they are teenagers.
-
Should I wake a sleepwalker?
The NHS says to try to gently guide them back to bed, and if you need to wake them, to do so gently, because sudden waking can leave them confused, scared, angry or upset. Sheffield Children's advises not waking a child.
-
How long does a sleepwalking episode last?
The NHS says it usually lasts a few minutes and usually happens in the first part of the night.
-
How can I make my home safe?
Keep doors and windows closed, use stair gates, clear the floor, lock away sharp objects and fit door alarms if there is a risk of leaving the house, according to the NHS.
-
How is sleepwalking treated?
It does not usually need treatment. The NHS says a GP may refer you to a sleep clinic if it puts you at risk or severely affects sleep, where treatment may include CBT or hypnotherapy, or medicines such as clonazepam if other things have not worked.
-
Does stress cause sleepwalking?
The NHS lists stress among the things sleepwalking can be linked to, along with lack of sleep, alcohol, fever and certain medicines. Managing stress is part of its advice.
-
Is sleepwalking the same as night terrors?
No, but they are related types of parasomnia. In night terrors a child may scream or seem very agitated while still asleep. Sleepwalking involves getting up and moving about.
-
When should I see a GP about sleepwalking?
If it disrupts your sleep, you are worried about accidents or injuries, or you have other symptoms such as extreme daytime tiredness or breathing that stops and starts during sleep, according to the NHS.
Where this comes from
Sources and checking.
This guide is for information, not medical advice.
Your GP or consultant knows your history and can tell you which parts apply to you. If your symptoms are severe, rapidly worsening, or come with red-flag features, seek urgent medical care. Figures and availability change, so treat them as a guide and confirm with the provider.
Published 2026-10-18, next review 2027-10-18.
-
NHS: Sleepwalking, https://www.nhs.uk/conditions/sleepwalking/ , retrieved October 2026
-
Sheffield Children's NHS Foundation Trust: Night terrors and sleepwalking, https://library.sheffieldchildrens.nhs.uk/night-terrors-and-sleepwalking/ , retrieved October 2026
Related guides
Keep reading.
-
Sleep terrors
Related sleep behaviours, especially in children.
Read guide -
Sleep disorders
An overview of sleep problems.
Read guide -
Obstructive sleep apnoea
Breathing that stops and starts in sleep.
Read guide -
Sleep problems in children
Common childhood sleep difficulties.
Read guide -
Insomnia
Difficulty getting or staying asleep.
Read guide -
Anxiety
Stress and anxiety can affect sleep.
Read guide -
Insomnia treatment guide
Sleep hygiene and therapy options.
Read guide