What Causes Sleepwalking?

What Causes Sleepwalking? | 2025

Last updated: 31.01.2025 Reading time: 5 Min.

Have you ever heard of sleepwalking (also known as somnambulism)?

Imagine carrying out complex tasks like walking or talking while deeply asleep.

Fascinating as it may be, this behaviour can carry real risks.

In this article, we’ll explore what causes sleepwalking, along with its symptoms and treatments.

sleepwalking

What is sleepwalking?

Sleepwalking is a sleep disorder or parasomnia [1] where a person performs activities during sleep without being consciously aware of them.

These activities can range from simple actions, like sitting up in bed, to more complex tasks, like walking or even driving. 😲

It typically happens during the deep stages of sleep and can last anywhere from a few seconds to several minutes.

sleep cycle

In most cases, the person goes back to sleep without remembering the episode.

What happens when someone sleepwalks?

Sleepwalking episodes can involve a range of actions, from simple movements to more complex behaviours, lasting anywhere from a few seconds to over an hour.

During these episodes, a sleepwalker may:

  • Walk or even run, usually without a clear purpose
  • Have their eyes open but with a blank or unfocused stare
  • Speak in a limited way, often with simplified responses or incoherent speech
  • Perform routine tasks such as getting dressed, eating, or other daily activities
  • Engage in sexual behaviours (sexsomnia [2])
  • Urinate in inappropriate places
  • Leave the house

A classic symptom of sleepwalking and other non-REM parasomnias is that the person has no memory of the episode upon waking.

Sleepwalking can lead to injuries, particularly if the sleepwalker attempts tasks like driving or operating machinery.

Unfortunately, sleepwalkers also often face disrupted sleep, resulting in daytime fatigue and irritability.

Safety measure tips for sleepwalkers

Since sleepwalkers are prone to accidents, it's important to engage a few safety measures:

  • Lock and secure doors and windows
  • Block off stairways and remove tripping hazards
  • Secure furniture and shelving to prevent accidents
  • Keep dangerous objects out of reach

This may not solve the sleepwalking, but it will keep the sleepwalker safe.

What causes sleepwalking?

Sleepwalking can be triggered by several external factors or may even have a genetic component.

Below, we'll go through some of the most common causes of sleepwalking. 👇

Genetics

In most cases, genes are responsible for sleepwalking.

Although this doesn’t mean every child whose parents sleepwalk will be affected, studies [3] suggest that around 47% of children with sleepwalking parents will also develop the disorder.

Stress (and subsequent lack of sleep)

Both physical and emotional stress can have a negative impact on sleep quality.

If someone experiences prolonged stress and doesn’t enter deep sleep, they may be more prone to sleepwalking.

Relaxation techniques like meditation, yoga, and regular massage can help combat stress and related sleep issues.

Medications

Certain medications, including sedative-hypnotics (like benzodiazepines), certain types of antidepressants, and antipsychotics, are known to trigger sleepwalking episodes.

These drugs can alter sleep stages, particularly deep (non-REM) sleep, making it easier for complex motor activities to occur while the individual remains asleep.

Studies [4] highlight the importance of doctors and patients monitoring side effects and adjusting doses or considering alternative treatments if necessary.

Alcohol

Excessive alcohol consumption can worsen various sleep disorders.

While many people believe that a glass of wine may help them fall asleep faster, it actually leads to more restless sleep and frequent awakenings. 🍷

Since deep sleep stages are disrupted, sleepwalking can also occur, especially with regular alcohol consumption.

Other causes linked to health conditions

In addition to the factors mentioned above, certain health conditions can also be linked to sleepwalking.

These include:

  • Sleep apnoea (a disorder where breathing repeatedly stops during sleep)
  • Restless legs syndrome (a neurological condition causing uncontrollable leg movements)
  • Gastro-oesophageal reflux disease (where stomach acid flows back into the oesophagus, leading to discomfort and sleep disturbances)
  • Narcolepsy (a condition causing excessive daytime sleepiness and sudden sleep attacks)

Please always consult your GP or healthcare professional if an underlying health condition is involved or suspected.

Can sleepwalking be treated?

The way sleepwalking is treated will depend on the person affected.

For children, treatment is generally unnecessary as the condition usually resolves on its own over time.

And for most people, the simplest way to manage sleepwalking is by improving sleep hygiene, which also includes investing in a comfortable bed, a suitable mattress, and a good pillow.

sleep hygiene tips

But in some cases, more specific treatments may be needed:

Relaxation techniques

Relaxation techniques help reduce stress and anxiety, two key factors that can contribute to sleepwalking.

  • Meditation: Focusing on the present moment can lower stress and anxiety, improving overall sleep quality.
  • Breathing techniques: Deep breathing exercises calm the nervous system and promote relaxation.
  • Progressive muscle relaxation: Tensing and releasing different muscle groups in sequence relieves physical and mental tension.
  • Guided imagery: Visualising calming scenes help the mind unwind and ease into sleep.
  • Yoga Nidra: This guided deep relaxation practice enhances sleep quality.

These are great go-tos to improve general sleep hygiene as well.

Cognitive behavioural therapy (CBT)

Cognitive behavioural therapy (CBT) uses talking therapy to help identify and break negative thought patterns and associations.

The goal is to remove any harmful connections between sleep and stress, promoting healthier sleep habits.

CBT is particularly effective when psychological stress is the main trigger for sleepwalking.

Medication

Medication is generally only recommended when other measures are ineffective and when episodes pose a risk to the person or others.

Common treatments include benzodiazepines and antidepressants but, in some cases, melatonin may also be used to help regulate sleep cycles.

On the downside, medication can carry risks and may even worsen sleepwalking if not properly managed.

Always consult a medical professional before considering this option.

Treating underlying conditions is also worth considering.

As mentioned earlier, sleepwalking can be linked to other sleep disorders, such as sleep apnoea, restless legs syndrome, or gastro-oesophageal reflux disease (GORD).

Addressing the underlying condition can significantly reduce the frequency of sleepwalking episodes.

What should you do when you notice someone sleepwalking?

Witnessing someone sleepwalking can be unsettling, especially if you’re unsure how to respond.

The best approach is to observe the situation carefully and take note of when and how the episodes occur - this can help identify potential triggers.

Installing cameras may also be useful for detecting patterns and ensuring a safe environment.

If you experience sleepwalking as an adult, it’s a good idea to consult a specialist, such as a neurologist, to explore suitable therapies or treatments.

Final thoughts on sleepwalking

Sleepwalking is a fascinating but potentially risky sleep disorder that affects both children and adults.

While it’s often harmless and resolves on its own, understanding what causes sleepwalking can help manage triggers and reduce episodes.

If sleepwalking becomes frequent, dangerous, or disruptive, seeking professional advice can ensure the right treatment and safety measures are in place.

Frequently asked questions

  • What is a parasomnia?


    Parasomnias are sleep disorders involving abnormal behaviours during different stages of sleep.

    These behaviours can occur during REM sleep (like sleep paralysis) or during non-REM sleep (like sleepwalking and night terrors).

  • Do children suffer from sleepwalking?


    Sleepwalking is much more common in children than in adults, with a peak around age 12. 

    It’s estimated that 15% of children between 5 and 12 [5] have had at least one sleepwalking episode.

    However, that doesn’t mean they’re regular sleepwalkers.

    Their sleep cycle is still developing, which makes it less consistent than that of teenagers and adults.

    If you notice your child sleepwalking, it’s important to make sure their bedroom and the rest of the home are safe.

    People who experience sleepwalking, especially children, can accidentally harm themselves or others without intending to.

  • Can babies sleepwalk?


    Sleepwalking isn’t only about wandering around at night - talking or sitting up during sleep can also be part of it.

    Babies experience very restless sleep, which can make it look like they’re sleepwalking.

    However, crawling, sitting up, and wriggling around in their cot are all completely normal at this age - they’re simply sleeping restlessly!

    If you’re still worried about excessive movements, it’s best to speak with a GP or health professional.

  • What is a sleepwalking episode?


    A sleepwalking episode is the period in which the person is sleepwalking.

    During these episodes, they may perform automatic actions such as walking, talking, or even carrying out tasks, all while remaining asleep.

  • How do you know if you're sleepwalking?


    Signs of sleepwalking include waking up in an unexpected place, noticing objects that have been moved, or finding unexplained injuries.

    If you suspect you may be sleepwalking, consult a healthcare professional for an evaluation and an accurate diagnosis.

  • References

Lily

Senior writer

Lily is a dynamic and adventurous individual with a passion for both writing and exploring the world. Her love for travel fuels her creativity, inspiring the vibrant stories she weaves with her words.
 

Was this article helpful?
Please fill out
Yes
No

Great! Do you have any questions or feedback? We'd love to hear from you.

What would have made it better?

You may also be interested in:

    Yes, please!
    No, thank you. Take me to the UK site.

    We have an affiliate relationship with some manufacturers, where we receive a commission on sales if you click over from our site. This does not affect the purchasing price. In contrast: By using our discount codes, you'll get the best deal possible.