Table of ContentsView AllTable of ContentsHow Sleepwalking HappensCausesIdentifying a SleepwalkerIs It Dangerous?Diagnosis and TreatmentWhen to Seek Medical Care
Table of ContentsView All
View All
Table of Contents
How Sleepwalking Happens
Causes
Identifying a Sleepwalker
Is It Dangerous?
Diagnosis and Treatment
When to Seek Medical Care
Sleepwalking (somnambulism) is when a person behaves as if awake while in a deep sleep. They might walk, talk, or perform routine activities all while sound asleep. Sleepwalking can happen due to stress, sleep deprivation, certain health conditions, and medications.
Most people don’t remember sleepwalking, and there is not always someone there to see it. It can easily go unrecognized and unreported.
Aja Koska/ Getty Images

What Happens to Sleepwalkers While They Snooze?
People go through differentstages of sleep. Like otherparasomnias(sleep behavioral disorders), sleepwalking happens when you only partially awake from non-rapid eye movement (NREM) sleep.That’s usually within 1 to 2 hours of falling asleep. Most episodes last 5 to 10 minutes, but some can last 30 minutes or more.
Research suggests thatsleepwalkinginvolves changes in brain processes that affect the space between sleep and wakefulness. When you sleepwalk, the brain’s frontal areas are asleep, but there’s still wake-related activity in motor areas.
While you might be able to get around, sensory perceptions aren’t working. You’re unaware of sights, smells, sounds, or pain.
Sleepwalking is much more common inchildren(5%) than adults (1.5%).Almost 40% of children sleepwalk at some point, mainly between the ages of 3 and 7.
What Causes Sleepwalking?
Sleepwalking can run in families.Research suggests a genetic predisposition combined with environmental factors may trigger sleepwalking.The cause isn’t always straightforward.
Certain Medications
Common triggers for sleepwalking aresubstancessuch as alcohol and some medicines.These include prescriptioninsomnia medicationssuch asAmbien(zolpidem), Lunesta (eszopiclone), and Sonata (zaleplon).
Other medications that may cause sleepwalking are:
Stress
Research suggests that stressful events during the day are one of the primary triggers in adults who sleepwalk.Living with a lot ofstressalso increases the risk of developinginsomnia.
Sleep Deprivation
Lack of sleep, irregular sleep, and fatigue can trigger an episode of sleepwalking.Studies indicate thatsleep deprivationincreases the number and complexity of sleepwalking events when you do fall asleep.
Migraine
Migraineand sleep abnormalities, such as sleepwalking,teeth-grinding, and nightmares, often go hand in hand. There’s a higher rate of sleepwalking in people who havemigraine with aura. Researchers haven’t discovered the exact mechanisms, but the link may be related to shared anatomical pathways.
Fever
Illness orfever, especially in children, can trigger sleepwalking.Fever can also reduce overallREM sleeptime and promote bizarre dreams or nightmares.
Breathing Disorders
The prevalence of sleepwalking is higher in people with obstructivesleep apnea, a condition in which you repeatedly stop breathing during the night. This may have to do with interrupted sleep and oxygen supply to the brain, but the exact link is unclear. In some cases, getting treatment for sleep apnea results in fewer sleepwalking events.
Research suggests that people with severe sleep apnea are twice as likely to experience sleepwalking than those with mild sleep apnea.
Gastroesophageal Reflux Disease (GERD)
Studies show thatGERDis associated with sleep disturbances such as shorter sleep duration and poor sleep quality.
There appears to be a bi-directional relationship between GERD symptoms and sleep disturbances. But sleep disturbances seem to be a stronger risk factor for GERD symptoms than the other way around.
Parkinson’s Disease
Some research suggests that about 10% of people withParkinson’s diseaseexperience sleepwalking. This may be because Parkinson’s disease-related neurodegeneration interferes with arousal regulation during sleep.
Restless Leg Syndrome
Restless leg syndromeis a movement and sleep disorder. It can severely disrupt sleep because it causes an irresistible urge to move your legs, particularly at night.This can lead to frequent awakenings and sleep deprivation, which can trigger sleepwalking.
How Do You Know If Someone Is Sleepwalking?
Here are some of the common signs of sleepwalking:
Sleepwalkers generally have no memory of what happened.
A Word From VerywellWhen startled, sleepwalkers act out in a fight-or-flight response. They may lash out or fall, which could injure them or the person waking them. Encourage or lead a sleepwalker back to bed and let them get on with their night’s rest.—SMITA PATEL, MD, MEDICAL EXPERT BOARD
A Word From Verywell
When startled, sleepwalkers act out in a fight-or-flight response. They may lash out or fall, which could injure them or the person waking them. Encourage or lead a sleepwalker back to bed and let them get on with their night’s rest.—SMITA PATEL, MD, MEDICAL EXPERT BOARD
When startled, sleepwalkers act out in a fight-or-flight response. They may lash out or fall, which could injure them or the person waking them. Encourage or lead a sleepwalker back to bed and let them get on with their night’s rest.
—SMITA PATEL, MD, MEDICAL EXPERT BOARD

Is Sleepwalking Dangerous?
Poor sleep quality can make it difficult to function during the day. It can also disturb others' sleep.
Sleepwalkers can often navigate around familiar territory, but they do have impaired perception and judgment, which puts them at risk of injury due to trips and falls. A person who is sleepwalking may not recognize the potential hazards of sharp objects. Sleepwalkers may put themselves in life-threatening situations through activities like cooking, climbing out windows, or even driving.
There are cases of violence toward others during a sleepwalking episode, but it’s not common.
How Is Sleepwalking Diagnosed and Treated?
Sleepwalking is typically diagnosed based on medical history and discussion of symptoms. Eyewitness accounts or video of the event can be helpful. A physical examination can inform the next steps if your healthcare provider suspects an underlying sleep disorder or other condition. In some cases,sleep studies, which measure how well you sleep and how your body reacts to sleep problems, can help diagnose sleep disorders.
If you’re at risk of violence, remove potential weapons from the sleepwalker’s room and sleep in a separate, locked room. Sleepwalkers who appear to be at risk for violent behavior should avoid alcohol and drug use, as well as sleep deprivation.
Children often outgrow sleepwalking. Even in adults, it can resolve on its own. Most people don’t need treatment specific to sleepwalking. Sometimes, short-acting tranquilizers can help, but some of these same medicines can also cause sleepwalking.
When sleepwalking is related to an underlying disorder or medication, treating that condition or switching medications may help. Working onsleep hygieneto improve sleep overall is also a good idea.
When to Contact a Healthcare Provider
See a healthcare provider if:
Summary
Sleepwalking is when a person looks and acts awake when sound asleep. This can happen when you’re sleep-deprived, sick, or stressed out. It can also be a symptom of a condition such as sleep apnea, restless leg syndrome, or Parkinson’s disease.
Sleepwalking doesn’t usually require treatment on its own. However, persistent sleepwalking can lead to daytime fatigue and prevent others from getting a good night’s sleep. See a healthcare provider if sleepwalking involves dangerous activities, happens frequently, or accompanies other symptoms. Diagnosing and treating an underlying condition may help resolve sleepwalking.
26 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read oureditorial processto learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
Cataldi J, Stephan AM, Haba-Rubio J, Siclari F.Shared EEG correlates between non-REM parasomnia experiences and dreams.Nat Commun. 2024;15(1):3906. doi:10.1038/s41467-024-48337-7
Seattle Children’s.Sleepwalking.
MedlinePlus.Sleepwalking.
Desjardins MÈ, Carrier J, Lina JM, et al.EEG functional connectivity prior to sleepwalking: evidence of interplay between sleep and wakefulness.Sleep. 2017;40(4):zsx024. doi:10.1093/sleep/zsx024
Popat S, Winslade W.While you were sleepwalking: science and neurobiology of sleep disorders & the enigma of legal responsibility of violence during parasomnia.Neuroethics. 2015;8(2):203-214. doi:10.1007/s12152-015-9229-4
Stallman HM, Kohler M.Prevalence of sleepwalking: a systematic review and meta-analysis.PLoS One. 2016;11(11):e0164769. doi:10.1371/journal.pone.0164769
Stanford Medicine.Sleepwalking/talking.
Petit D, Pennestri MH, Paquet J, et al.Childhood sleepwalking and sleep terrors: a longitudinal study of prevalence and familial aggregation.JAMA Pediatr.2015;169(7):653-658. doi:10.1001/jamapediatrics.2015.127
Johns Hopkins Medicine.Parasomnias: Sleepwalking.
Jordan T.Sleepwalking on antipsychotics and lithium.The Carlat Psychiatry Report (TCPR).
Lopez R, Dauvilliers Y.Is restless legs syndrome involved in ambulation related to sleepwalking?Sleep.2016;39(4):955-6. doi:10.5665/sleep.5662
MedlinePlus.Insomnia.
Nemours KidsHealth.Sleepwalking.
Dang-Vu TT, Zadra A, Labelle MA, et al.Sleep deprivation reveals altered brain perfusion patterns in somnambulism.PLoS One. 2015;10(8):e0133474. doi:10.1371/journal.pone.0133474
Waliszewska-Prosół M, Nowakowska-Kotas M, Chojdak-Łukasiewicz J, Budrewicz S.Migraine and sleep-an unexplained association?Int J Mol Sci.2021;22(11):5539. doi:10.3390/ijms22115539
Schredl M, Erlacher D.Fever dreams: an online study.Front Psychol.2020;11:53. doi:10.3389/fpsyg.2020.00053
Lundetræ RS, Saxvig IW, Pallesen S, et al.Prevalence of parasomnias in patients with obstructive sleep apnea. A registry-based cross-sectional study.Front Psychol. 2018;9:1140. doi:10.3389/fpsyg.2018.01140
Fujiwara Y, Arakawa T, Fass R.Gastroesophageal reflux disease and sleep disturbances.J Gastroenterol.2012;47:760–769. doi:10.1007/s00535-012-0601-4
Lindam A, Ness-Jensen E, Jansson C, et al.Gastroesophageal reflux and sleep disturbances: a bidirectional association in a population-based cohort study, the hunt study.Sleep.2016;39(7):1421-1427. doi:10.5665/sleep.5976
Zhang X, Molsberry SA, Pavlova M, et al.Association of sleepwalking and rem sleep behavior disorder with Parkinson disease in men.JAMA Netw Open.2021;4(4):e215713-e215713. doi:10.1001/jamanetworkopen.2021.5713
National Institute of Neurological Disorders and Stroke.Restless legs syndrome.
National Health Service U.K.Sleepwalking.
Stallman HM, Bari A.A biopsychosocial model of violence when sleepwalking: review and reconceptualisation.BJPsych Open.2017;3(2):96-101. doi:10.1192/bjpo.bp.116.004390
National Heart, Lung, and Blood Institute.Sleep studies.
Meet Our Medical Expert Board
Share Feedback
Was this page helpful?Thanks for your feedback!What is your feedback?OtherHelpfulReport an ErrorSubmit
Was this page helpful?
Thanks for your feedback!
What is your feedback?OtherHelpfulReport an ErrorSubmit
What is your feedback?