
Why only humans sleepwalk
Why only humans sleepwalk
It’s a trait evolution forgot to get rid of.
JENNIFER BYRNE
PUBLISHED JUN 21, 2026 8:01 AM EDT
ADD POPULAR SCIENCE (OPENS IN A NEW TAB)
More information
A colorized vintage black and white film still showing a man walking in pajamas down a hallway and a young boy hiding from him at the side.
A COLORIZED FILM STILL FROM THE 1931 GERMAN FILM ‘EMIL AND THE DETECTIVES’ SHOWS A MAN SLEEPWALKING. IMAGE: HULTON ARCHIVE / STRINGER / GETTY IMAGES
Get the Popular Science daily newsletter💡
Email addressSIGN UP
By signing up, you confirm you are 16+, will receive newsletters and promotional content and agree to our Terms of Use and acknowledge the data practices in our Privacy Policy. You may unsubscribe at any time.
It’s like something out of an old-school Looney Tunes cartoon: a gorilla, sound asleep and snoring in his nest high in a tree, suddenly stands up and takes a few steps. For the gorilla, this would be a very short story with a very bad ending.
Humans, on the other hand, sleepwalk all the time. It’s a behavior that has fascinated and freaked us out for centuries, from the hand-wringing somnambulism of Lady Macbeth to the strange murder cases involving Ambien-induced sleepwalking. We find the condition unsettling, mysterious, and even funny, possibly because it violates a fundamental idea—that sleep is a state of stillness, of surrender.
0:09
Yet some humans seem to have missed that memo. Sleepwalking affects an estimated five percent of children and 1.5 percent of adults. Which raises an interesting question: Why us?
Other animals have their own versions of restless sleep: the dog’s paws paddling as if in mid-chase, the cat’s whiskers twitching in annoyance at some imaginary unwanted affection. But true sleepwalking, involving standing, walking, and navigating obstacles, has not been documented in other species.
Advertisement
“Humans are probably not unique in having odd motor events during sleep, but sleepwalking as we define it is overwhelmingly human,” says David R. Samson, associate professor of evolutionary anthropology at the University of Toronto and author of the new book The Sleepless Ape: The Story of Sleep in Human Evolution.
So, why do only humans do this? The answer has everything to do with where our ancestors slept.
What happens when you sleepwalk?
Sleepwalking primarily occurs during deep non-REM sleep, says Samson, who describes sleepwalking as a “state dissociation.”
Advertisement
“Parts of the brain involved in movement and arousal come online while regions involved in reflective awareness, judgment, and memory remain in a sleep-like state,” he says.
In practical terms, this means the body can do surprisingly complicated things—navigate stairs, open doors, wander down a dark hallway—while the part of the brain responsible for awareness, judgment, and memory remains essentially asleep. Which is why sleepwalkers can appear eerily purposeful while having absolutely no idea what they’re doing.
In sleepwalking, as Samson puts it, “the body can move before the waking mind has fully arrived.”
Advertisement
Painting showing a woman in nightclothes holding a candle while two other people cower in the right corner.
Perhaps one of the most famous sleepwalking scenes comes from Shakespeare’s Macbeth when Lady Macbeth emerges night after night in a “slumb’ry agitation.” Image: Public Domain
Samson has a fairly straightforward explanation for why humans sleepwalk while a sleeping gorilla in the tree stays put. Nearly all primates sleep off the ground—on branches, in tree holes, on sleeping platforms—which means a sleepwalking primate would likely fall or be killed.
“Selection would be severe,” says Samson.
Advertisement
Sleepwalking is a glitch, not a feature
Samson doesn’t see sleepwalking as a behavior that evolved for a purpose. Instead, he says, it’s a rare flaw in an otherwise finely tuned sleep system.
“For most primates sleeping in trees, this vulnerability would be catastrophic,” he says. “But in the human ‘sleep shell’—with socially buffered camps, shelters, fire, bedding, and shared vigilance—the immediate penalty of getting up from sleep may have been reduced.”
Advertisement
In other words, the communal safety net our ancestors built for themselves at night did the protective work that staying perfectly still once did.
This is an especially compelling example of “relaxed selection.” In relaxed selection, certain unfavorable traits are able to persist because the environment doesn’t weed them out.
Natural selection didn’t get rid of sleepwalking in humans, because our early environment didn’t punish sleepwalkers. It likely shielded them “once our ancestors began sleeping in safer, socially protected ground sites,” says Samson.
Advertisement
The body moves, but nobody’s home
A large part of what makes sleepwalking so disorienting—for both walkers and witnesses—is the gap between what’s happening on the outside and what’s happening on the inside. Samson has observed this firsthand in a close friend and colleague with a history of sleepwalking episodes.
“One night, I was walking down a dark hallway to use the bathroom when I saw his silhouette at the other end. Suddenly, he charged toward me, grabbed me, and we ended up in a brief, bewildering struggle in the hallway,” he says. “Then, just as abruptly, he stopped, turned around, and went back to bed as though nothing had happened.”
Advertisement
The next morning, Samson’s friend had no recollection of the skirmish in the hallway, but gave his own vivid account of a much higher-stakes struggle.
“When I told him what happened, he said that in his dream, a wall of lumber was falling on me and he was trying to save me,” Samson says.
“That, to me, is one of the most striking things about these episodes: From the outside, the behavior can look sudden, physical, and even alarming, but from the inside, the dream logic may be protective, purposeful, and emotionally coherent.”
Advertisement
Sleepwalking runs in the family
The protective “sleep shell” might explain why humans have the luxury of being able to sleepwalk, but the evolutionary story gets even more interesting when you look at who actually sleepwalks.
Genetics plays a clear role, Samson says, though there’s no single “sleepwalking gene.” It’s more of a knack for sleeping so deeply you can’t quite claw back up to the surface—a knack that tends to run in families.
Advertisement
Related ‘Ask Us Anything’ Stories
The best sleep position, according to science
What causes you to jolt awake right before falling asleep?
White noise vs brown noise: What’s the best sound for sleeping?
Is it better to be a morning person or a night owl? What the science says.
Weed really does change your dreams
The best way to sleep on a plane, according to science

