Is Sleepwalking Hereditary? The Genetic Link Explained

Sleepwalking is strongly hereditary. About 47% of children will sleepwalk if one parent has a history of it, and that number climbs to 61% if both parents do. By comparison, only about 22% of children whose parents never sleepwalked will experience an episode. Genetics don’t guarantee sleepwalking, but they heavily load the dice.

How Strong Is the Genetic Link?

Twin studies offer some of the clearest evidence. In a large population-based study of twins, identical twins (who share all their DNA) were far more likely to both be sleepwalkers than fraternal twins (who share about half). For childhood sleepwalking, the concordance rate was 55% in identical twins versus 35% in fraternal twins. In adults, the gap widened dramatically: 32% for identical twins compared to just 6% for fraternal twins.

Researchers use these numbers to estimate how much of sleepwalking is driven by genetics versus environment. The proportion of variation explained by genes was 57% to 66% for childhood sleepwalking and as high as 80% for adult men who continue sleepwalking. That makes sleepwalking one of the more heritable sleep disorders.

Specific Genes Involved

One genetic marker stands out in the research. A variant in a gene involved in immune signaling, called HLA-DQB1*05:01, was found in 35% of sleepwalkers compared to just 13% of non-sleepwalkers, roughly tripling the odds. In families with multiple sleepwalkers, a specific amino acid variation shared by related gene variants was transmitted from parent to child at five times the expected rate. Interestingly, the same gene family is also linked to narcolepsy and a condition called REM sleep behavior disorder, suggesting a shared genetic vulnerability in how the brain controls movement during sleep.

Sleepwalking almost certainly involves multiple genes, not just one. The HLA finding explains part of the picture, but the strong family clustering and high heritability estimates point to other genetic contributors that haven’t been fully identified yet.

What Happens in the Brain During an Episode

Sleepwalking isn’t simply “walking while asleep.” Brain imaging and electrical recordings captured during real episodes show that different parts of the brain are simultaneously in different states. The areas responsible for movement and emotion shift into a wake-like pattern, which is why sleepwalkers can navigate rooms, open doors, and even carry out complex actions. Meanwhile, the parts of the brain responsible for awareness, decision-making, and memory remain in deep sleep. This is why sleepwalkers typically have no memory of what happened and don’t respond normally when someone tries to talk to them.

Episodes almost always occur during the first third of the night, when deep sleep is most concentrated. The underlying problem appears to be a failure in the brain’s system for transitioning cleanly between sleep and wakefulness. Instead of waking up fully or staying fully asleep, the brain gets stuck in a hybrid state. The genetic predisposition likely affects how this transition system works, making it more prone to these partial arousals.

How Common Is Sleepwalking?

A meta-analysis pooling data from multiple studies found a lifetime prevalence of about 6.9%, meaning roughly one in 14 people will sleepwalk at some point. It’s much more common in children: about 5% of kids sleepwalk in any given year, compared to 1.5% of adults. The Finnish Twin Cohort study found similar numbers, with about 26% of participants reporting childhood sleepwalking but only 3% continuing into adulthood.

Most children who sleepwalk outgrow it by adolescence. But in families with a strong genetic pattern, sleepwalking tends to start between ages 4 and 10 and can persist into the 30s, though episodes typically become less frequent over time. Whether this persistent form represents a genetically distinct condition from the more common childhood-limited version is still an open question.

Triggers That Activate a Genetic Predisposition

Having the genes for sleepwalking doesn’t mean you’ll sleepwalk every night, or ever. Researchers describe a three-layer model: you need a genetic predisposition, a priming factor that deepens sleep or makes waking harder, and an immediate trigger that sets off the episode.

The most well-documented priming factors include:

  • Sleep deprivation: consistently the most common factor identified in both clinical and forensic cases
  • Alcohol: increases deep sleep in the first half of the night, exactly when sleepwalking occurs
  • Stress and anxiety: can fragment sleep architecture and increase partial arousals
  • Fever: particularly relevant in children
  • Certain medications: numerous case reports link various sedating and psychiatric medications to episodes

The immediate triggers that set an episode in motion are often surprisingly mundane. Noise, being touched, sleep-disordered breathing, and periodic leg movements during sleep have all been documented as proximal triggers in sleep lab studies. A genetically predisposed person who is also sleep-deprived might sleepwalk when a door slams or a bed partner shifts position, while someone without the genetic vulnerability would simply roll over.

What This Means for Families

If you sleepwalk and are wondering about your children, the numbers are straightforward. Your child has roughly a one-in-two chance of sleepwalking at some point. If your partner also has a history of sleepwalking, those odds rise to about three in five. These are population-level averages, so individual risk may vary depending on which specific genetic variants are involved.

The practical upside of knowing sleepwalking runs in your family is that you can manage the modifiable triggers. Keeping a consistent sleep schedule, avoiding sleep deprivation, and limiting alcohol before bed can reduce the frequency and severity of episodes in people who are genetically predisposed. For children, ensuring adequate sleep for their age is the single most controllable factor. Safety measures like securing windows, blocking stairways, and removing sharp objects from common walking paths matter most during the peak years between ages 4 and 12.