Let's see if we can figure out what's causing your sleepwalking.
Select additional symptoms and we'll narrow your results.

What causes sleepwalking? 8 possible conditions

What Is Sleepwalking?

Also known as somnambulism, sleepwalking is a condition where a person walks or moves around as if he or she is awake while asleep. Sleepwalkers may perform a variety of activities while asleep, including getting dressed, going to the bathroom, or moving furniture.

This condition most commonly occurs in children. Because sleepwalking can lead to falls and injuries, seeking treatment and taking safety measures around your home are vital if you or someone you live with experiences this behavior.

What Are the Symptoms of Sleepwalking?

Sleepwalking most commonly occurs in children ages 4 to 8. It is most likely to take place during deep non-rapid eye movement (NREM) sleep and early in the night—about one to two hours after going to sleep.

Symptoms can vary from person to person, but may include:

  • sitting up in bed and opening and closing your eyes
  • having a glazed-over or glassy expression in your eyes
  • walking around your home performing everyday activities, such as turning the lights on or off
  • speaking or moving in a way that does not make sense

According to the National Sleep Foundation, you can and should awaken a sleepwalker while he or she is sleepwalking, but do so gently so as not to startle him or her (Mahowald). However, a sleepwalking person is typically difficult to wake and will at first be confused as to where he or she is. Gently lead the individual back to his or her bed.

Most sleepwalkers do not remember their sleepwalking episodes.

Sleepwalking does not typically occur during a nap because the sleep achieved is not deep enough.

What Causes Sleepwalking?

Sleepwalking can be a sign of an underlying medical condition, such as restless leg syndrome, obstructive sleep apnea, or migraine headaches. Your doctor may wish to test you for these treatable conditions.

Sleepwalking does have a genetic link. If your parents have a history of sleepwalking, chances are you may sleepwalk as well.

In rare cases, certain medications can cause sleepwalking. These include the sleep medication zolpidem, known by the brand names Ambien and Edluar.

Sleepwalking and Safety

Because you are not as aware of your surroundings when you are asleep, you risk injuring yourself, particularly by tripping and falling. If you are prone to sleepwalking, you may need to evaluate your home for potential hazards that could lead to tripping. This includes taping electrical cords against the wall, locking doors and windows before going to bed, and keeping furniture out of any pathways. If you have an upstairs bedroom, you also may need to gate off your stairs to prevent falling down them.

How Is Sleepwalking Diagnosed?

Sleepwalking is not always cause for concern, and most children do grow out of it. However, if your sleepwalking has led to injury or if you frequently experience several sleepwalking episodes in a row, you may want to see a physician to rule out any potential medical conditions that may be causing the problem.

Make a sleep diary to help you prepare for your appointment. You can write down which foods or drinks you consumed before sleeping, how long you slept, and any other symptoms you experienced while sleepwalking.

Because you may not be aware of the full extent of your sleepwalking symptoms, talk to others in your household about your sleepwalking patterns. Ask them to describe your symptoms, and record these in your sleep diary as well.

If your doctor suspects you may have a sleep disorder, he or she may recommend undergoing a sleep study. This involves sleep specialists monitoring your brain waves, heart rhythms, and other vital signs while you are asleep. This information can help your doctor diagnose any potential sleep disorders.

Lifestyle Tips to Prevent Sleepwalking

Certain factors seem to decrease the likelihood that a sleepwalking episode will occur. These include lifestyle changes, such as minimizing stress, anxiety, or conflict. Doing something that relaxes you before going to sleep, such as reading a book, listening to music, or taking a warm bath, may help to reduce your chances of a sleepwalking episode.

Severe exhaustion can also lead to sleepwalking. Making every effort to get enough sleep at night can help. It may help to make a sleep schedule (going to bed and waking at the same time) a priority. Also, avoid drinking caffeine or alcohol before going to bed. Alcohol is a central nervous system depressant that can actually trigger sleepwalking.

Medication and Other Treatment Options to Stop Sleepwalking

Medication and other medical treatments for sleepwalking typically are not necessary. If you have a child who is prone to sleepwalking, you can gently redirect him or her back to bed.

Treating the underlying medical condition causing sleepwalking, such as restless leg syndrome, may help to minimize sleepwalking episodes. This is why you may want to see your doctor if sleepwalking is a persistent issue. You will want to ensure that there is no underlying medical issue causing the problem.


If your sleepwalking continues, medications such as benzodiazepines or antidepressants may help to reduce sleepwalking episodes. Benzodiazepines are medications commonly used to treat anxiety, but they have also been found useful in treating sleep disorders as well. The benzodiazepines clonazepam (Klonopin) and diazepam (Valium), in particular, have been found useful in reducing sleepwalking episodes. Antidepressants and benzodiazepines may both help to reduce an individual’s stress and anxiety—factors that increase an individual’s likelihood of sleepwalking.


Hypnosis, an alternative therapy, has also been found helpful to some sleepwalking patients. Hypnosis involves bringing an individual into a very relaxed and focused state of mind. Then the therapist will make healthy suggestions that are tailored to the individual’s medical issue. The belief is that these suggestions will sink into the individual’s consciousness in a deeper, more meaningful way because the individual is more open to receiving them.

Article Sources:

Read More

See a list of possible causes in order from the most common to the least.



Fatigue is a term used to to describe the general overall feeling of tiredness and/or a lack of energy. Other words that are sometimes used in place of fatigue include exhaustion, weariness, and lethargy. According t...

Read more »



The term fever describes a body temperature that is higher than normal. According to the Mayo Clinic, normal body temperature is typically 37 degrees C, or 98.6 degrees F, though this can vary. A short-term increase i...

Read more »



What is anxiety? Anxiety often manifests itself as an apprehension about daily life. Learn the basics with this overview of the types of anxiety disorders.

Read more »


Migraine with Aura

Migraine is a disorder characterized by repeated attacks of severe headache. Symptoms include throbbing or pulsating pain, usually on only one side of the head, and can last between four hours and three days.

Read more »


Restless Leg Syndrome (RLS)

An overwhelming need to continually move one's legs is called restless leg syndrome (RLS). RLS is not life-threatening and does not necessarily indicate a serious medical condition. People with RLS complain of extremel...

Read more »


Cocaine and related disorders

Cocaine is extracted from the coca plant, which grows in Central and South America. It is processed into many forms for use as an illegal drug of abuse.

Read more »


Organic Brain Syndrome

Organic brain syndrome (OBS) is a general term for decreases in mental function that are not caused by a psychiatric disorder. Reduced mental function could include: problems with memory difficulties understandin...

Read more »


Partial Seizures

The human brain works by sending electrical signals through neurons, which are nerve cells. A seizure occurs when there's a surge in this electrical activity.

Read more »

This feature is for informational purposes only and should not be used to diagnose.
Please consult a healthcare professional if you have health concerns.