For most people, sleep is a time when the body rests and awareness of the surroundings fades. But for someone who sleepwalks, part of the brain can remain in a state of deep sleep while the body performs actions usually associated with being awake. A person may sit up, walk around a room, open a door or speak, often with little or no memory of the episode the next morning. Known medically as somnambulism, sleepwalking is a type of parasomnia and is more common in children, although adults can experience it too.

What happens during a sleepwalking episode?
Sleepwalking, also known as somnambulism, usually occurs during deep non-REM sleep, particularly in the earlier part of the night when slow-wave sleep is more common. A person may get out of bed, walk with their eyes open, appear confused or respond slowly when someone speaks to them. Some episodes involve simple movements such as sitting up or walking around the room, while others include more complicated behavior such as opening doors or moving objects. The person is generally not fully aware of what they are doing and may have little or no memory of the event the following morning. Sleepwalking is therefore different from ordinary purposeful activity performed while fully awake.
Sleepwalking is not the same as acting out a dream during REM sleep. It is a partial arousal from non-REM sleep, in which some systems involved in movement become active while awareness remains limited. This mixed state helps explain why a person can perform familiar actions yet seem confused, have difficulty answering questions or fail to recognize people around them. The eyes may be open, but that does not mean the person is fully alert or able to judge risks in the environment.

What can trigger sleepwalking?
Sleepwalking can run in families, and having a close relative with a history of the condition may increase the likelihood of experiencing it. Factors that disrupt sleep can also make episodes more likely. These include insufficient sleep, irregular sleep schedules, stress, fever and certain medications. Alcohol and some medicines that affect the central nervous system can also influence sleep patterns, although triggers differ between individuals. Keeping a simple record of sleep times, illness, stress and episodes may help a clinician identify patterns without assuming that one factor explains every event. Other sleep disorders, including obstructive sleep apnea, may contribute in some people.
Sleepwalking is not automatically a sign of a serious neurological disease, and many childhood episodes become less frequent as a person grows older. However, episodes that begin for the first time in adulthood, occur frequently, cause injuries or involve unusual movements may need medical assessment. A clinician may ask about sleep schedules, medication use, stress, alcohol, family history and other symptoms before deciding whether further tests are needed. Some conditions, including certain seizures and other sleep disorders, can resemble sleepwalking but require different treatment. A careful assessment is especially important when episodes are new, unusually complex or disruptive to the person’s safety and daily life.

Can sleepwalking be dangerous?
Many sleepwalking episodes are brief and do not cause harm, but a person who is not fully aware of their surroundings may trip, fall, leave the house or encounter other hazards. Rare reports have described people attempting complex activities while asleep, although these unusual cases should not be treated as typical of the condition. The main practical concern is safety, because the person may not recognize danger or remember what happened. Removing sharp objects, securing windows and exterior doors and keeping pathways clear can reduce the chance of injury. Family members should also understand that sleepwalking is not usually a deliberate act and should respond calmly rather than treating the person as if they were fully awake.
One widely discussed legal case involved Canadian Kenneth Parks, who drove to his in-laws’ home in 1987 and killed his mother-in-law. During the trial, the defense presented evidence that he had been sleepwalking, and the court accepted that explanation in reaching its verdict. The case attracted international attention because it raised difficult questions about awareness, responsibility and behavior during a parasomnia. It was exceptional, however, and should not be used to suggest that violence is a usual feature of sleepwalking. Most episodes involve ordinary movements or confusion, and sensational legal cases do not represent the experience of the majority of people who sleepwalk.

How should family members respond?
If someone is sleepwalking, it is generally best to remain calm, speak gently and guide them away from immediate hazards rather than shouting or startling them. If possible, help the person return to bed without force, while making sure they do not reach stairs, open windows or exterior doors. At home, families can reduce risks by securing windows and doors, removing trip hazards and keeping dangerous objects out of reach. If episodes are recurrent, cause injuries or disrupt daily life, a healthcare professional or sleep specialist can help assess possible triggers and determine whether further investigation is needed. The response should focus on safety and understanding, not punishment or embarrassment.
Improving sleep habits may reduce sleepwalking episodes in some people, particularly when lack of sleep or an irregular routine is a trigger. Maintaining a consistent bedtime, allowing enough time for sleep and addressing stress can support more stable sleep patterns. It may also be useful to review whether another sleep disorder, medication or health condition is contributing to the episodes. Medication is not routinely needed for everyone and should only be considered by a clinician when the frequency or risks justify it. Sleepwalking is often manageable, but repeated, dangerous or newly developing episodes deserve proper evaluation so that the underlying factors can be identified.
