git add

Skip to main content

Sleepwalking

Sleepwalking usually occurs during a period of deep sleep and often occurs in the first few hours after falling asleep. Sleepwalking is more common in children than in adults.

There is no specific treatment for sleepwalking. However, there is a lot of advice, such as regular bedtimes, that can help to reduce sleepwalking. The most important action is to make simple adjustments in the home to avoid accidents when sleepwalking.

Most children will grow out of sleepwalking before becoming teenagers.

At a glance

  • Sleepwalking is when someone gets up and walks around in their sleep.

  • It is a parasomnia, a group of conditions involving unwanted sleep behaviours.

  • Sleepwalking is common in children, often starting around age 10.

  • Triggers can include lack of sleep, stress, fever, alcohol, or some medicines.

  • Gently guide a sleepwalker back to bed without startling or restraining them.

  • Ensure the sleepwalker's environment is safe to prevent accidents.

  • See your GP if sleepwalking is frequent, causes injury, or persists into adulthood.

Do you need support with anxiety, depression or stress?
Get Onebright CBT private therapy appointments sooner than NHS services.
£99 per session – delivered virtually. CBT will help you get better by making you more aware of the connection between your thoughts, feelings and behaviours so you can feel healthy and happy.

Continue reading below

What is sleepwalking?

Sleepwalking means getting up during sleep and walking around, despite still being asleep. Sleepwalking usually occurs during a period of deep sleep and often occurs in the first few hours after falling asleep.

Sleepwalking is just one of a group of conditions involving unwanted behaviour during sleep. The group of conditions is called parasomnias. Other parasomnias include talking during sleep, waking up confused, sleep terrors and nightmares. Studies have shown that 1 in 3 children who have sleep terrors in early childhood often develop sleepwalking when they get older.

Sleepwalking is common in children. About one in five children will experience at least one episode of sleepwalking. Sleepwalking can start at any age but is much more common in children than in adults. It often starts around the age of 10 years.

Continue reading below

The exact reason why people sleepwalk is not known. Sleepwalking seems to be more common in children with other close family members who have had sleepwalking or night terrors.

Episodes of sleepwalking may sometimes have specific triggers. The following may trigger sleepwalking or make it worse:

  • Not getting enough sleep.

  • Not having a regular routine of when to go to bed.

  • Stress and anxiety.

  • Illness with a high temperature (fever), especially in children.

  • Drinking too much alcohol.

  • Taking recreational drugs.

  • Some medicines, especially those that cause drowsiness (sedatives).

Some other sleep problems may also trigger a sleepwalking episode - eg, obstructive sleep apnoea and restless legs syndrome.

Episodes of sleepwalking are very variable. The person is still asleep but gets out of bed and walks around.

  • The person may then perform complex activities such as opening cupboards or windows, getting dressed, having something to eat or drink, or even walking out of the house.

  • While sleepwalking occurs, the person's eyes are usually open and they appear fully awake, but the person will not recognise anyone. The person may talk but usually doesn't make any sense and can't have a conversation.

  • Sleepwalking episodes vary in duration. Most episodes last less than 10 minutes but they can go on for much longer. At the end of each episode, the person may wake up or they may return to bed and go to sleep. They usually won't remember having the sleepwalking episode or may just have only a slight memory of it.

  • If the person is woken while sleepwalking, they may be shocked. They tend to feel confused and not remember what has happened. The person may also become aggressive and violent.

Continue reading below

There is no specific treatment for sleepwalking. Some treatments can be tried if the episodes of sleepwalking do not respond to simple advice, are very frequent or cause the person to be in danger. Treatments such as cognitive behavioural therapy or hypnotherapy may be helpful.

Most people with sleepwalking don't need to see a GP. You should see your GP or other health professional if the sleepwalking episodes occur often, cause a risk of injury or persist until adult life. Your GP may refer you to a specialist sleep centre.

The sleep centre will make a thorough assessment, including sleep studies to assess whether there may be other problems with sleep such as obstructive sleep apnoea. Most people with sleepwalking do not have any associated sleep problems.

The best form of treatment is to try to prevent sleepwalking episodes. This involves making sure you have enough sleep and a regular routine of when you go to bed. It is also important to relieve stress and avoid other triggers such as alcohol, recreational drugs and medicines that are used to help sleep.

Therefore, strategies that may help include improving sleep hygiene (see the leaflet on Insomnia for further details).

  • Try to go to bed at the same time each night.

  • Restrict drinks before bedtime. Avoid drinks with caffeine or alcohol in the few hours before going to bed.

  • Find ways to relax before going to bed. The best ways to relax are different for different people. Reading or having a bath are often helpful.

  • If your child sleepwalks at the same time most nights, try waking them for a short time 15 to 30 minutes before sleepwalking occurs. This may alter their normal sleep cycle and prevent sleepwalking.

It is best to gently guide them back to bed and they will often go back to sleep. Reassure them as you guide them back to bed. It is important not to startle them. It is best not to try to restrain them, unless they are in any danger. Startling or restraining the person may make them become aggressive.

It's also important to make sure anyone staying with the person knows what to do if a sleepwalking episode occurs. It is essential to make sure the person stays safe and avoids any accidents.

Preventing accidents

It is important to keep the person safe if they sleepwalk. Remove any items that may cause an accident, including moving furniture and anything on the floor that could be tripped over.

If your child sleepwalks, don't let them sleep on the top bed of a bunk bed. Other important measures are safety gates at the top of the stairs and locking windows and doors at night.

Most children will grow out of sleepwalking before becoming teenagers. Only a few children who sleepwalk will continue to sleepwalk when they become adults. Studies show that adult sleepwalkers often report that it was preceded by sleep deprivation or a stressful event.

Do you need support with anxiety, depression or stress?
Get Onebright CBT private therapy appointments sooner than NHS services.
£99 per session – delivered virtually. CBT will help you get better by making you more aware of the connection between your thoughts, feelings and behaviours so you can feel healthy and happy.

Frequently asked questions

Is sleepwalking a serious medical condition?

Sleepwalking is one of a group of conditions called parasomnias, which involve unwanted behaviour during sleep. While it's common, especially in children, specific treatment is not usually needed unless episodes are very frequent, cause danger, or persist into adulthood. Most people do not need to see a GP unless these issues occur.

Can sleepwalking be related to other sleep problems?

Yes, sleepwalking episodes can sometimes be triggered or made worse by other sleep problems. For example, obstructive sleep apnoea and restless legs syndrome are mentioned as potential triggers. Your GP may refer you to a specialist sleep centre if these are suspected, as they can conduct sleep studies to check for such issues.

What if I can't remember my sleepwalking episodes?

It is typical for a person who has been sleepwalking not to remember the episode, or only to have a slight memory of it. If you are woken during an episode, you may feel confused and not remember what happened. This is a common characteristic of sleepwalking.

Are there specific times when sleepwalking is more likely to happen?

Sleepwalking usually occurs during a period of deep sleep, most often in the first few hours after falling asleep. For children who sleepwalk at roughly the same time most nights, it might be possible to gently wake them for a short time 15 to 30 minutes beforehand to try and alter their sleep cycle and prevent an episode.

What should I do if my child frequently sleepwalks?

If your child's sleepwalking episodes occur often, or if they pose a risk of injury, you should see your GP or other health professional. In the meantime, ensure their environment is safe by removing potential hazards, avoid bunk beds, use safety gates, and lock windows and doors at night. You can also try waking them gently for a brief period 15 to 30 minutes before their usual sleepwalking time.

Can certain medications cause or worsen sleepwalking?

Yes, some medicines, particularly those that cause drowsiness (sedatives), can trigger or worsen sleepwalking episodes. If you are concerned about medication, it would be wise to discuss this with your doctor.

What is 'sleep hygiene' and how can it help with sleepwalking?

Sleep hygiene refers to practices and habits necessary to get good quality sleep. For sleepwalking, improving sleep hygiene involves making sure you get enough sleep, maintaining a regular bedtime routine, avoiding caffeine or alcohol before bed, and finding ways to relax before sleeping. These steps are aimed at preventing sleepwalking episodes, as lack of sleep and an irregular routine are common triggers.

Further reading and references

  • Zergham AS, Chauhan Z; Somnambulism. StatPearls, Jan 2023.
  • Stallman HM; Assessment and treatment of sleepwalking in clinical practice. Aust Fam Physician. 2017;46(8):590-593.
  • Carter KA, Hathaway NE, Lettieri CF; Common sleep disorders in children. Am Fam Physician. 2014 Mar 1;89(5):368-77.
  • Howell MJ; Parasomnias: an updated review. Neurotherapeutics. 2012 Oct;9(4):753-75. doi: 10.1007/s13311-012-0143-8.
  • Galbiati A, Rinaldi F, Giora E, et al; Behavioural and Cognitive-Behavioural Treatments of Parasomnias. Behav Neurol. 2015;2015:786928. doi: 10.1155/2015/786928. Epub 2015 May 25.
  • Buskova J, Pisko J, Pastorek L, et al; The course and character of sleepwalking in adulthood: a clinical and polysomnographic study. Behav Sleep Med. 2015;13(2):169-77. doi: 10.1080/15402002.2013.845783. Epub 2014 Mar 5.

About the authorView full bio

Author image

Dr Colin Tidy, MRCGP

General Practitioner, Medical Author

MBBS, MRCGP, MRCP (Paediatrics), DCH

Dr Colin Tidy is an NHS Doctor, based in Oxfordshire.

About the reviewerView full bio

Author image

Dr Doug McKechnie, MRCGP

Medical Writer

MA, MBBS, MSc, DRCOG, MRCP(UK), MRCGP(2021), FHEA

Dr Doug McKechnie is an NHS GP working in London. He works full-time clinically and is also the Deputy Lead for the Clinical and Professional Practice module at University College London Medical School.

Article history

The information on this page is written and peer reviewed by qualified clinicians.

flu eligibility checker

Ask, share, connect.

Browse discussions, ask questions, and share experiences across hundreds of health topics.

symptom checker

Feeling unwell?

Assess your symptoms online for free

Sign up to the Patient newsletter

Your weekly dose of clear, trustworthy health advice - written to help you feel informed, confident and in control.

Please enter a valid email address

By subscribing you accept our Privacy Policy. You can unsubscribe at any time. We never sell your data.