What is sleepwalking?

Sleepwalking is characterized by a complex action behavior (walking) during sleep. Occasionally, the person may talk, but it does not make sense. The person's eyes are commonly open, but have a characteristic glassy "look right through you" character.
Sleepwalking activities may include simply sitting up and appearing awake while remaining asleep, getting up and walking around, or complex activities such as moving furniture, going to the bathroom, dressing, and undressing, and similar activities. Some people even drive a car while asleep. The episode can be very brief (a few seconds or minutes) or can last for 30 minutes or longer. Upon waking, the sleepwalker has no memory of his or her behaviors.
Sleepwalking most commonly occurs during early childhood and less commonly during adolescence.
Sleepwalking has been described in medical literature dating before Hippocrates (460 BC-370 BC). In Shakespeare's tragic play, Macbeth, Lady Macbeth's famous sleepwalking scene ("out, damned spot") is ascribed to her guilt and resulting insanity as a consequence of her involvement in the murder of her father-in-law.
What do you do when someone is sleepwalking?
One common misconception is that a person sleepwalking should not be awakened. It is not dangerous to awaken a sleepwalker, although it is common for the person to be confused or disoriented for a short time when awake.
Another misconception is that a person cannot be injured while sleepwalking. Injuries caused by sleepwalking, for example, tripping and loss of balance, are common.
What is the cause of sleepwalking?
Sleepwalking seems to be associated with inherited (genetic), environmental, physiologic, and medical factors.
Genetic factors
One study documented that sleepwalking is ten times more likely to occur if a first-degree relative has a history of sleepwalking.
Environmental factors
Sleep deprivation, chaotic sleep schedules, fever, stress, magnesium deficiency, and alcohol intoxication can trigger sleepwalking. Drugs, for example, sedatives/hypnotics (drugs that promote sleep), neuroleptics (drugs used to treat psychosis), minor tranquilizers (drugs that produce a calming effect), stimulants (drugs that increase activity), and antihistamines (drugs used to treat symptoms of allergies) associated with an increased likelihood of sleepwalking.
Physiologic factors
Physiologic factors that may contribute to sleepwalking include:
- The length and depth of slow wave sleep (stages III and IV of non-REM sleep). These stages are more commonly seen in younger children and thus may explain the age differences in the frequency of sleepwalking.
- Conditions such as pregnancy and menstruation are known to increase the frequency of sleepwalking.
- Arrhythmias (abnormal heart rhythms)
- Fever
- Gastroesophageal reflux (acid reflux - food or liquid regurgitating from the stomach into the food pipe)
- Nighttime asthma
- Nighttime seizures (convulsions)
- Obstructive sleep apnea (a condition in which breathing stops temporarily while sleeping)
- Psychiatric disorders, for example, posttraumatic stress disorder, panic attacks, or dissociative states (for example, multiple personality disorder)

QUESTION
Why do we sleep? See AnswerWhat are the signs and symptoms of sleepwalking?
The following are examples of symptoms of sleepwalking:
- Episodes range from quiet walking around the room to agitated running or attempts to "escape." The person sleepwalking may appear clumsy and dazed in his or her behavior.
- Typically, the eyes are open with a glassy, staring appearance as the person quietly roams around the house. However, they do not walk with their arms extended in front of them as is inaccurately depicted in movies.
- On questioning the person's sleepwalking, responses are slow with simple thoughts and contain nonsense phraseology or absent responses. If the person is returned to bed without awakening, they usually do not remember the event.
- Older children, who may awaken more easily at the end of an episode, often are embarrassed by the behavior (especially if it was inappropriate). Instead of walking, some children perform repeated behaviors (such as straightening their pajamas). Bedwetting may also occur.
- Sleepwalking is not associated with previous sleep problems, sleeping alone in a room or with others, fear of the dark (achluophobia), or anger outbursts.
- Some studies suggest that children who sleepwalk may have been more restless sleepers between the ages of four and five, and more restless with more frequent awakenings during the first year of life.
What other sleep conditions have similar symptoms of sleepwalking?
Sleepwalking, night terrors and confusional arousals are all related, common non-REM sleep disorders that tend to overlap in some of their symptoms. Approximately 15%-20% of young children through mid-adolescence will experience some or all of these behaviors. Moreover, seizures occurring during sleep (nocturnal seizures) can cause movement disorders during sleeping.
- Night terrors: Like sleepwalking, night terrors tend to occur during the first half of a night's sleep - often within 30 to 90 minutes of falling asleep.
- Also like sleepwalking, they occur during stage III of non-REM sleep. However, unlike sleepwalking, an individual with night terrors will portray sudden and often agitated arousal that may appear to parents as violent and terrifying behaviors. During such an episode, the child characteristically will not be comforted by an embrace from a parent or caregiver.
- Night terrors often start during the toddler years with a peak incidence between five and seven years of age. During these times evidence of a surge in autonomic nervous system activity is evident. Accelerated heart and respiratory rates, dilated pupils, and sweating are characteristics.
- Triggers for night terrors may include sleep deprivation, stress, and medications (stimulants, sedatives, antihistamines, etc). Unlike sleepwalking, episodes of night terrors may recur for several weeks in a row, abate completely, and later return.
- Confusional arousals: Similar to night terrors, confusional arousals are characterized by a sudden and violent arousal from sleep with behaviors described as agitated and semi-purposeful in the pattern.
- Speech is generally coherent (unlike sleepwalking).
- A distinguishing point between night terrors and confusional arousals is the lack of autonomic nervous system (accelerated heart/respiratory rates, dilated pupils, sweating) phenomena in the latter.
- Confusional arousals tend to occur during the first half of a night's sleep (during stage II non-REM sleep). They are characteristically short-lived, lasting 5 to 15 minutes but can last up to 30 minutes in duration. Amnesia for the event is characteristic.
- Nocturnal seizures: Several important differential points help delineate the above three sleep behaviors from seizure activity. Seizures by their nature are very brief, often lasting only a few minutes.
- In addition, seizure events are likely to be confused with the above; and are characterized by a series of repeated, stereotypical, and frequent behaviors occurring in clusters.
- Moreover, seizures more commonly occur in the second half of the night's sleep. Patients often will have postictal (symptoms after the seizure) complications such as headache, extreme grogginess, hard to arouse, as well as incontinence of urine and stool.
- To assist in establishing a correct diagnosis a neurologist may perform a video-EEG study to help clarify the issue. Home videos taken on a smartphone are often very helpful in establishing the diagnosis.
What tests diagnose sleepwalking?
Usually, no exams and tests are necessary. However, a medical evaluation may be completed to rule out medical causes of sleepwalking. Occasionally, a psychological evaluation can determine whether excessive stress or anxiety is the cause of sleepwalking. Sleep study tests may be done in persons in whom the diagnosis is still unclear.
What are the stages of sleep and when does sleepwalking occur?
Sleepwalking characteristically occurs during the first or second sleep cycles, specifically, during stages III and IV, otherwise known as deep sleep. Due to the short time frame involved, sleepwalking tends not to occur during naps.
Parasomnias are a group of sleep behaviors common in children, teens, and occasionally adults. To understand parasomnias, it is helpful to understand the physiology of sleep.
Sleep occurs in two broad categories defined by characteristic changes during an EEG (electroencephalogram, “brain wave test”). The two categories are REM (rapid eye movement) and non-REM (NREM) sleep cycles. Non-REM sleep has four “levels” characterized by unique patterns of the EEG.
- Stage I: introduction to sleep during which there is generalized muscle relaxation and effort is required to keep your eyes open.
- Stage II: beginning to sleep (light sleep)
- Stage III and IV: deep sleep
- REM sleep: associated with dreaming
An entire sleep cycle from Stage I (non-REM) thru REM sleep lasts between 90 and-120 minutes and repeats 4 to 5 times during the sleep experience. Each “level” of non-REM and REM sleep lasts between 5 to 15 minutes.
A large Canadian study reviewed sleep patterns of children aged 2.5 to 6 years and discovered approximately 88% of them experienced parasomnias and 15% were sleepwalkers.
How do you stop sleepwalking? What is the treatment or cure?
Sleepwalking Home Remedies
A person who has a sleepwalking disorder can take the following measures:
- Get adequate sleep
- Meditate or do relaxation exercises
- Avoid any kind of stimuli (auditory or visual) before bedtime
- Keep a safe sleeping environment, free of harmful or sharp objects
- Sleep in a bedroom on the ground floor if possible to prevent falls and avoid bunk beds
- Lock the doors and windows
- Remove obstacles in the room, tripping over toys or objects is a potential hazard
- Cover glass windows with heavy drapes
- Place an alarm or bell on the bedroom door and if necessary on any windows
Medical treatments
Sleepwalking may be associated with an underlying medical condition, for example, gastroesophageal reflux disease (GERD), obstructive sleep apnea, periodic leg movements (restless leg syndrome), or seizures. To help prevent sleepwalking, underlying medical conditions should be treated.
Medications for the treatment of sleepwalking disorder may be necessary in the following situations:
- When the possibility of injury is real
- When continued behaviors are causing significant family disruption or excessive daytime sleepiness
- When other measures have proven to be inadequate
Medications
Benzodiazepines, such as estazolam (ProSom), or tricyclic antidepressants, such as trazodone (Desyrel), are useful. Clonazepam (Klonopin) in low doses before bedtime and continued for three to 6 weeks is usually effective.
Medication can often be discontinued after three to 5 weeks without recurrence of symptoms. Occasionally, the frequency of episodes increases briefly after discontinuing the medication.
Other remedies
Relaxation techniques, mental imagery, and anticipatory awakenings are preferred for long-term treatment of persons with sleepwalking disorder.
- Relaxation and mental imagery should be undertaken only with the help of an experienced behavioral therapist or hypnotist.
- Anticipatory awakenings consist of waking the child or person approximately 15-20 minutes before the usual time of an event and then keeping him or her awake through the time during which the episodes usually occur.
Subscribe to MedicineNet's Depression Newsletter
By clicking "Submit," I agree to the MedicineNet Terms and Conditions and Privacy Policy. I also agree to receive emails from MedicineNet and I understand that I may opt out of MedicineNet subscriptions at any time.
What is the prognosis of sleepwalking?
Sleepwalking may or may not reduce with age, as described above. It usually does not indicate a serious disorder, although it can be a symptom of other disorders.
What are the complications of sleepwalking?
A common complication is an injury sustained during sleepwalking activities.
How can you prevent sleepwalking?
The following tips could help you prevent sleepwalking:
When should you call your health care professional about sleepwalking?
Sleepwalking usually does not require a visit to your healthcare professional. However, the condition should be discussed with your healthcare professional if sleepwalking:
- is accompanied by other symptoms,
- is frequent, or
- includes potentially dangerous activities (such as driving).
If you have any history of strange activity or sleepwalking while taking medications for insomnia like zolpidem (Ambien), you should also speak to your physician.
From 
Sleep Resources
Featured Centers
Health Solutions From Our Sponsors
Bhargava, S. Diagnosis and Management of Common Sleep Problems in Children. Pediatrics in Review March 2011, 32 (3) 91-99.
Kitagal, S. et al. Sleepwalking and other Parasomnias in Children. UpToDate. Updated: May 25, 2016.
<https://www.uptodate.com/contents/sleepwalking-and-other-parasomnias-in-children> National Institutes of Health.
Top Sleepwalking Related Articles
20 Tips to Beat Insomnia
Good sleep hygiene leads to better sleep. Avoid insomnia and sleep better by minimizing stress, exercising, and taking proper naps. Learn the health benefits of good sleep. Discover how pets, allergies, electronics, and other distractions can rob you of a good night's sleep.Anxiety Disorders
Anxiety is a feeling of apprehension and fear characterized by symptoms such as trouble concentrating, headaches, sleep problems, and irritability. Anxiety disorders are serious medical illnesses that affect approximately 19 million American adults. Treatment for anxiety may incorporate medications and psychotherapy.Electroencephalogram (EEG)
An Electroencephalogram also called an EEG, is a test that can help diagnose epilepsy. The electrical signals of the brain are recorded during an EEG. This electrical activity is detected by electrodes or sensors, placed on the patient's scalp and transmitted to a polygraph that records the activity. Electrical signals produced by the brain neurons are picked up by the electrodes and transmitted to a polygraph, where they produce separate graphs on moving paper using an ink writing pen or on a computer screen.GERD (Acid Reflux, Heartburn)
Gastroesophageal reflux disease (GERD), also called acid reflux, can cause symptoms like heartburn, chest pain, regurgitation, and nausea. Learn about causes, diagnosis, treatment and prevention.Arrhythmias (Abnormal Heart Rhythms): Types, Triggers, Warning Signs, and Treatment
Heart rhythm disorders vary from minor palpitations, premature atrial contractions (PACs), premature ventricular contractions (PVCs), sinus tachycardia, and sinus bradycardia, to abnormal heart rhythms such as tachycardia, ventricular fibrillation, ventricular flutter, atrial fibrillation, atrial flutter, paroxysmal supraventricular tachycardia (PSVT), Wolf-Parkinson-White syndrome, brachycardia, or heart blocks. Treatment is dependent upon the type of heart rhythm disorder.Panic Attacks
Panic attacks are sudden feelings of terror that strike without warning. These episodes can occur at any time, even during sleep. A person experiencing a panic attack may believe that he or she is having a heart attack or that death is imminent. The fear and terror that a person experiences during a panic attack are not in proportion to the true situation and may be unrelated to what is happening around them. Most people with panic attacks experience several of the following symptoms: racing heartbeat, faintness, dizziness, numbness or tingling in the hands and fingers, chills, chest pains, difficulty breathing, and a feeling of loss or control. There are several treatments for panic attacks.Top Reasons Your Child Can't Sleep, Including You
From snoring and nightmares to sleep apnea and even you, see the bad habits that are keeping your child up all night.Restless Legs Syndrome
Restless legs syndrome treatment includes natural remedies that you can implement at home. Use exercise, sleep hygiene, and relaxation to treat RLS.Sleep Disorders
A number of vital tasks carried out during sleep help maintain good health and enable people to function at their best. Sleep needs vary from individual to individual and change throughout your life. The National Institutes of Health recommend about 7-9 hours of sleep each night for older, school-aged children, teens, and most average adults; 10-12 for preschool-aged children; and 16-18 hours for newborns. There are two stages of sleep: 1) REM sleep (rapid-eye movement), and 2) NREM sleep (non-rapid-eye movement).Sleep Apnea
Sleep apnea is defined as a reduction or cessation of breathing during sleep. The three types of sleep apnea are central apnea, obstructive apnea (OSA), and a mixture of central and obstructive apnea. Central sleep apnea is caused by a failure of the brain to activate the muscles of breathing during sleep. OSA is caused by the collapse of the airway during sleep. OSA is diagnosed and evaluated through patient history, physical examination and polysomnography. There are many complications related to obstructive sleep apnea. Treatments are surgical and non-surgical.Sleep Disorders: Insomnia, Sleep Apnea, and More
Learn about the different types of sleep/wake disorders such as insomnia, narcolepsy, and sleep apnea. Explore the symptoms, causes, tests and treatments of sleep disorders.Sleep Quiz
Take our Sleeping Quiz to learn which sleep disorders, causes, and symptoms rule the night. Trouble falling or staying asleep? Find out which medical treatments fight sleep deprivation, apnea, insomnia, and more!Stress
Stress is a normal part of life, but chronic or severe stress can be harmful to your health. Learn what happens in your body when you are stressed and how you can manage your response.Stress Management Techniques
Stress may be considered as any physical, chemical, or emotional factor that causes bodily or mental unrest and that may be a factor in disease causation. Managing stress in our lives is important. Elimination of stress is unrealistic, since stress is a part of normal life. We can however, learn to manage stress through techniques such as exercise, relaxation, meditation, time management, and support systems so that we have control over our stress and its effects on our physical and mental health.What Does a Narcoleptic Attack Feel Like?
With narcolepsy, you may experience attacks in which you can fall asleep in the middle of any activity. These attacks are known as “narcoleptic sleep attacks.” In between sleep attacks, you have normal levels of alertness, particularly if you are doing activities that keep you alert.