Where does sleepwalking in children come from and is it related to epilepsy?
Is your child sitting up in bed at night, wandering around the house, and not responding to calls? Many parents in this situation search for information about sleepwalking in children on various online forums, wondering whether it's a temporary developmental stage or a sign of a more serious health problem. Doubts arise especially when the question arises about the connection between sleepwalking and epilepsy in children. When analyzing the causes of sleepwalking in children, it's important to understand the origins of this phenomenon and the mechanisms behind this sleep disorder. In this article, we explain the possible causes of sleepwalking in children and suggest when consultation is recommended and which doctor to consult with your child.
Where Does Sleepwalking Come From? Causes of Sleepwalking in Children of Developmental Age
Imagine 8-year-old Maja, who an hour after falling asleep, suddenly sits up in bed, gets up, and absently looks around at toys on the floor. This is a typical picture of somnambulism – a disorder of waking from the deep phase of NREM sleep . When we wonder where sleepwalking comes from, it's worth knowing that the child is not fully aware of their actions , although they perform complex motor tasks.
Expert advises
When we analyze the causes of sleepwalking in children, we most often talk about the immaturity of the nervous system – the brain "wakes up" partially, and the body begins to function. This is why, in most cases, the causes of sleepwalking in children are developmental in nature and disappear spontaneously with age.
Statistics show that sleepwalking is a common phenomenon in the pediatric population . It is estimated that sleepwalking episodes may affect as many as 15–17% of children (depending on the study, this range varies from a few to a dozen or so percent) [1]. The first incidents most often appear between 4 and 8 years of age , with the peak incidence occurring in late childhood and early adolescence . As the nervous system matures, most children outgrow this condition, and in the adult population, the prevalence drops to a few percent [1].

Sleepwalking in children – genetic causes, stress and environmental factors
When examining the causes of sleepwalking in children in more detail, the role of genetics cannot be overlooked . What causes sleepwalking in children? If both parents sleepwalked during childhood, the risk of a child developing sleepwalking is approximately 60%. If episodes involved only one parent, the risk decreases but remains high—around 45%.
The strong importance of genetic factors is also confirmed by twin studies: in monozygotic twins, the concordance of sleepwalking is observed in about half of the cases, while in dizygotic twins it is only 10–15% [1].
When answering the question of the causes of sleepwalking in children, specialists also point to factors that intensify the symptoms: sleep deprivation, fatigue, infection with fever, or strong emotions experienced during the day.
On many internet forums where parents describe sleepwalking in children, there are stories about the intensification of somnambulism episodes after moving, changing schools or during periods of separation anxiety (e.g. going to summer camp) - and indeed, stress may be one of the important causes of sleepwalking in children.
Expert advises
It's also worth remembering that the later in childhood the first symptoms appear, the greater the likelihood of them persisting into adulthood. Therefore, although in most cases somnambulism is mild and temporary, careful observation of the child and consultation with a specialist, if in doubt, remain the best approach.
Sleepwalking in children and epilepsy – how to distinguish a parasomnia from an epileptic seizure?
The phrase "sleepwalking and epilepsy in children" regularly appears in search engines and on online parenting forums. This is understandable—both sleepwalking and epilepsy can manifest as sudden, uncontrolled movements at night. When analyzing the relationship between epilepsy and sleepwalking in children, it's important to emphasize that these are two distinct disorders, with different causes and completely different treatments . It's worth remembering, however, that parasomnias and epilepsy can coexist in the same patient.
Approximately one-third of children with nocturnal frontal lobe epilepsy (NFLE) have a history of previous episodes of sleepwalking or night terrors [2].
Sleepwalking in children
Somnambulism is a disorder of arousal from deep sleep (stages 3 and 4 of NREM sleep) and usually occurs in the first half of the night , approximately 1,5–3 hours after falling asleep [1]. The episode lasts several minutes, and the child's behavior can vary—from sitting up in bed to pacing around the house. In this case, when we ask what causes sleepwalking, we are referring to immaturity of sleep mechanisms, not a neurological condition like epilepsy.
Epilepsy
Epilepsy and sleepwalking is a topic that requires careful differential diagnosis.
Expert advises
Nocturnal epileptic seizures—especially those involving the frontal lobe—are typically very brief (often lasting less than a minute, rarely 2-3 minutes), but they can occur multiple times a night, including in the early morning hours. The movements associated with epilepsy are stereotypical, meaning they appear almost identical each time (e.g., sudden jerks, characteristic "pedaling" of the legs, sudden body contortions). This is an important clue when considering the relationship between sleepwalking in children and epilepsy. Epilepsy can also be associated with an aura—a brief, specific sensation preceding a seizure, which is not observed in typical somnambulism.

Epilepsy and sleepwalking in children – what tests does a doctor order most often?
In clinical practice, when questions arise about epilepsy and sleepwalking in children, a detailed interview regarding the timing, frequency, and nature of episodes is essential. In doubtful cases, an EEG is performed , and sometimes video EEG-polysomnography allows for simultaneous assessment of the child's brain function and behavior during sleep.
This is the so-called gold standard in determining whether we are dealing with a parasomnia (sleep disorder) or epilepsy.
Sleepwalking in children and epilepsy – “red flags” that require urgent medical consultation
Although the causes of sleepwalking in children are in most cases developmental in nature and disappear with age , there are so-called "red flags" that should prompt an urgent consultation with a neurologist:
- very frequent and short episodes every night,
- their repeatable (identical) course,
- occurring in the second half of the night or in the morning,
- injuries occurring during incidents.
Expert advises
Correctly distinguishing between sleepwalking and epilepsy is crucial and should be made by a physician. Sleepwalking in children usually does not require pharmacological treatment, whereas epilepsy requires constant monitoring by a specialist and appropriately tailored therapy.
Sleepwalking in children – which doctor should you consult?
Although sleepwalking in children is often benign and developmental, any situation that raises concerns among parents should be consulted with a specialist. Which doctor should you see if your child is sleepwalking? It's best to start with a visit to a pediatrician , who will assess the situation and determine which doctor can help with a more detailed diagnosis.
Depending on the clinical picture, the child may be referred to a pediatric neurologist (especially if there is a question about sleepwalking in children versus epilepsy) or to a sleep disorder clinic . Which doctor should you see if a specialist suspects that sleepwalking in children may be related to sleep-related breathing disorders—such as obstructive sleep apnea? In such cases, an ENT consultation may be necessary. In some cases , relaxation techniques and work on regulating emotional tension can also be helpful.
In summary: Which doctor should you see if your child is sleepwalking? It's definitely not worth seeking a diagnosis for your child on an online forum or among other parents. If you observe sleepwalking in your child or suspect seizures, consult a pediatrician immediately. After assessing the child's health, they will refer the parents to other specialists.
Sleepwalking in children – treatment and effective ways to ensure safety
Treating sleepwalking (somnambulism) in children is a highly individualized process , depending on the patient's age, the duration of the disorder, and the severity and frequency of episodes. It's important to emphasize that in most cases, sleepwalking in children is transient and does not require pharmacotherapy. When analyzing the causes of sleepwalking in children and considering the origins of sleepwalking during developmental age, it often turns out that maturing the nervous system and addressing basic environmental factors that help minimize sleepwalking episodes are crucial .
The main pillars of treatment for sleepwalking in children include:
- Sleep hygiene: This is a fundamental element of managing sleepwalking in children. Maintaining consistent bedtimes and waking hours (including weekends), avoiding excessive bedtime, and maintaining a quiet, well-ventilated bedroom at a moderate temperature can help reduce episodes. In practice, disruptions to sleep rhythms are often one of the causes of sleepwalking in children.
- Ensuring safety: If sleepwalking in children involves nocturnal wandering, the space should be prepared appropriately: remove objects/toys from the floor that could pose a tripping hazard, secure windows and doors, and avoid bunk beds. During an episode, do not abruptly wake the child—instead, calmly and carefully walk them back to bed. This is important because sudden awakenings can cause disorientation and severe anxiety.
- Anticipatory wake-up: This behavioral method has been proven effective, especially when episodes occur at similar times. It involves gently waking the child approximately 15–30 minutes before the expected event (usually 1,5–2,5 hours after falling asleep) and maintaining the awake state for approximately 5 minutes. In many cases, this helps reduce the frequency of sleepwalking episodes.

- Treatment of concomitant diseases: Sometimes the causes of sleepwalking in children are related to other disorders, such as sleep apnea (OSA) or restless legs syndrome (RLS). In such situations, effective treatment of the underlying cause—e.g., ENT in the case of tonsillar hypertrophy — can lead to complete resolution of sleep apnea symptoms. This demonstrates the importance of determining the cause of sleepwalking in a specific case.
- Drug therapy: It is considered a last resort and used only for severe symptoms that pose a risk to the child's health. The most commonly recommended medications are benzodiazepines (such as diazepam, clonazepam, or alprazolam), which reduce deep sleep. Melatonin therapy is also suggested to regulate the circadian cycle, and, in rare cases, small doses of tricyclic antidepressants. The decision to use pharmacological treatment is always made by a doctor after a thorough analysis of the symptoms and causes of the child's sleepwalking.
- Other methods: If stress is the trigger for episodes, relaxation techniques, psychotherapy, and in some cases, hypnosis can be helpful. Because sleepwalking in children can be strongly linked to emotional stress, working on stress regulation often yields very good results.
Summary: Sleepwalking in children – what is worth remembering?
Sleepwalking in children is, in most cases, a developmental phenomenon that subsides as the nervous system matures . When we analyze the causes of sleepwalking in children and consider the underlying causes in a specific case, it often turns out that key factors include immaturity of sleep mechanisms, overexertion, or stress . At the same time, the topic "sleepwalking in children and epilepsy" demonstrates the importance of careful observation of the child and prompt consultation with a doctor if the child experiences any disturbing symptoms, so-called red flags.
This article is for informational purposes only and does not constitute medical advice, so if you observe your child sleepwalking, do not seek advice on any online forum, but consult a doctor immediately.
Bibliography:
- Fliciński J., Steinborn B., Somnambulism in children, "Child Neurology" 2011, vol. 20, no. 40, pp. 69–78
- Fliciński J., Żarowski M., Cieślik M., Steinborn B., Somnambulism – a case report, "Child Neurology" 2011, vol. 20, no. 40, pp. 91–99.
- Janowski K., Jelińska A., Waś A., Somnambulism: A Literature Review, "Psychological Annals" 2010, vol. XIII, no. 1, pp. 155–175
- Duck M., Somnambulism in children, or a sleepwalking patient at the pediatrician's, "Pediatrics after Diploma" 2017, No. 1
- Januszewska E., Sleep disorders in children and adolescents – diagnosis and selected forms of therapy, [In:] Tasks and challenges of medicine – characteristics of problems and therapeutic procedures, ed. K. Maciąg, M. Maciąg, TYGIEL Scientific Publishing House, Lublin 2018, pp. 151–1667
- Hoban TF, Sleep disorders in children, "Annals of the New York Academy of Sciences" 2010, vol. 1184, pp. 1–14.
- Remulla A., Guilleminault C., Somnambulism (sleepwalking), "Expert Opinion on Pharmacotherapy" 2004, vol. 5, no. 10, pp. 2069–2074.
- Cordani R., Lopez R., Barateau L., Chenini S., Nobili L., Dauvilliers Y., Somnambulism, "Sleep Medicine Clinics" 2024, vol. 19, no. 1, pp. 43–54,.
- American Academy of Sleep Medicine, The International Classification of Sleep Disorders, 2nd Edition: Diagnostic and Coding Manual, Westchester 2005.