Skip to main content


This page has been archived.

It has not been reviewed recently and is not up to date. External links and references may no longer work.

Sleepwalking usually occurs during a period of deep sleep and often occurs in the first few hours after falling asleep. Sleepwalking is much 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.

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.

How common is sleepwalking?

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

What causes sleepwalking?

The exact cause of sleepwalking 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.

What happens when you sleepwalk?

Episodes of sleepwalking are very variable. The person is still asleep but gets out of bed and walks around. The person may then perform tasks such as opening cupboards or windows, getting dressed, having something to eat or drink, or even walking out of the house.

While sleepwalking, the person's eyes are usually open 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

Are there any treatments for sleepwalking?

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:

  • 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.

What should I do when someone is 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, such as 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.

What is the outcome (prognosis)?

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 adults who sleepwalk often report that it was preceded by sleep deprivation or a stressful event.

Further reading and references

  • Howell MJ; Parasomnias: an updated review. Neurotherapeutics. 2012 Oct;9(4):753-75. doi: 10.1007/s13311-012-0143-8.
  • Carter KA, Hathaway NE, Lettieri CF; Common sleep disorders in children. Am Fam Physician. 2014 Mar 1;89(5):368-77.
  • 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.
  • Petit D, Pennestri MH, Paquet J, et al; Childhood Sleepwalking and Sleep Terrors: A Longitudinal Study of Prevalence and Familial Aggregation. JAMA Pediatr. 2015 Jul;169(7):653-8. doi: 10.1001/jamapediatrics.2015.127.
  • 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.

Article history

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

symptom checker

Feeling unwell?

Assess your symptoms online for free