Does Insomnia Cause Hallucinations? The Science

Sleep deprivation reliably triggers hallucinations in a large proportion of people, and chronic insomnia is linked to a significantly higher rate of hallucinatory experiences even outside the lab. A review of 21 sleep-deprivation studies found that perceptual distortions and hallucinations were consistently produced in all but one of them, and the single exception involved subjects who were allowed a brief four-hour nap.1PubMed Central. Severe Sleep Deprivation Causes Hallucinations and a Gradual Progression Toward Psychosis With Increasing Time Awake The relationship between poor sleep and false perceptions turns out to be more nuanced than a simple on-off switch, though, involving the type of sleep disruption, the senses affected, and underlying brain chemistry that researchers are still working to untangle.

Fragmented Sleep Matters More Than Feeling Tired

Not all insomnia is created equal when it comes to hallucinations. A large general-population study found that the pattern of sleep disruption matters more than whether someone simply feels they slept badly. People with fragmented sleep, meaning they woke repeatedly throughout the night, were more than twice as likely to report hallucinations in the past month compared to good sleepers. Those who had trouble falling asleep but then slept through the night were about one and a half times more likely. But people who perceived their sleep as poor without measurable fragmentation were no more likely to hallucinate than people who slept well.2Scientific Reports. Fragmented sleep relates to hallucinations across perceptual modalities in the general population

That finding is striking because it separates the subjective feeling of bad sleep from its measurable structure. Plenty of people with insomnia feel exhausted and unrefreshed but manage relatively continuous sleep once they drift off. The data suggest these people are not at elevated risk for hallucinations. The risk concentrates among those whose sleep is actually broken into pieces, repeatedly cycling between wakefulness and sleep in a way that disrupts the brain’s normal processing.

How Fast Hallucinations Develop During Sleep Loss

In controlled experiments where people are kept awake for extended periods, hallucinations tend to appear on a predictable timeline. Visual distortions and illusions are typically the first to emerge, and in studies tracking the progression, they begin showing up somewhere around the 24-hour mark. In a driving-simulator study, participants who stayed awake for 30 hours without stimulants reported visual distortions and illusions during drives that took place between 22 and 30 hours of wakefulness.3Proceedings of the Human Factors and Ergonomics Society Annual Meeting. Pink Elephants on the Road: Visual Illusions and Distortions when Driving during Significant Sleep Deprivation That is well within the range of a bad night followed by a full day of activity, a scenario many people with severe insomnia experience regularly.

The progression tends to worsen with continued wakefulness. In the broader review of deprivation studies, the percentage of participants reporting perceptual disturbances ranged widely depending on the study and how long subjects stayed awake, from roughly one in ten in a large survey-based sample to every single participant in smaller studies with more extreme deprivation periods.1PubMed Central. Severe Sleep Deprivation Causes Hallucinations and a Gradual Progression Toward Psychosis With Increasing Time Awake The overall pattern is clear: the longer you stay awake, the more likely and more intense the hallucinations become, and eventually they can progress toward full psychotic-like symptoms including paranoia and disorganized thinking.

Which Senses Are Affected

When people think of hallucinations, they usually picture seeing things that are not there. Sleep deprivation does lean heavily on the visual system, with visual hallucinations reported in nearly every study that tracked them. But the experience is not limited to sight. Across the research, changes in bodily sensation (feeling things on your skin, sensing your body distorting) were the second most common, reported in about half of the studies reviewed. Auditory hallucinations, hearing sounds or voices that are not present, appeared in roughly a third of the studies.1PubMed Central. Severe Sleep Deprivation Causes Hallucinations and a Gradual Progression Toward Psychosis With Increasing Time Awake

The general-population study of fragmented sleepers confirmed the same multi-sensory pattern outside the lab. Fragmented sleepers were more likely than good sleepers to report hallucinations across all four modalities measured: visual, auditory, olfactory (phantom smells), and tactile (phantom touches). The pattern held consistently regardless of which sense was affected, meaning fragmented sleep did not selectively target one type of perception.2Scientific Reports. Fragmented sleep relates to hallucinations across perceptual modalities in the general population

Hallucinations at the Edge of Sleep

Some of the most common hallucinatory experiences linked to insomnia are not the dramatic, fully-awake kind. They happen during the transitions into and out of sleep. Hypnagogic hallucinations occur as you are falling asleep, and hypnopompic hallucinations happen as you are waking up. These are surprisingly common in the general population: one study found that about a quarter of participants reported hypnagogic hallucinations, while about 7% reported hypnopompic ones. In more than half of cases, these experiences had no connection to a specific sleep or mental health disorder.4PubMed. Prevalence of hallucinations and their pathological associations in the general population

People with insomnia, especially those who struggle to fall asleep, report hypnagogic hallucinations more frequently than good sleepers. A Spanish population study found that delayed bedtime, irregular sleep hours, and hypnagogic hallucinations were the most common features among people who had difficulty initiating sleep.5PubMed. Prevalence of insomnia and sleep characteristics in the general population of Spain This makes intuitive sense: if you are lying in the dark for an hour or more trying to fall asleep, you spend more time in that semi-conscious transitional zone where the brain starts generating internal imagery before you are fully asleep. You are essentially lingering longer in the state where these perceptions naturally arise.

Whether the frightening version of these experiences, seeing menacing figures or sensing a presence in the room, indicates something more concerning depends on context. When hypnagogic or hypnopompic hallucinations are distressing or frequent, they can be a marker for conditions like narcolepsy or anxiety disorders rather than simple insomnia.4PubMed. Prevalence of hallucinations and their pathological associations in the general population Occasional benign ones, on the other hand, are a normal part of human sleep-wake transitions that most people experience at some point.

What Is Happening in the Brain

One of the leading explanations involves dopamine, the same neurotransmitter implicated in psychotic disorders like schizophrenia. Sleep deprivation and extended wakefulness alter dopamine signaling in measurable ways: D2 and D3 receptors are downregulated while D1 receptor expression increases, and dopamine transmission shifts in midbrain and striatal regions. These changes resemble some of the dopamine abnormalities seen in people who experience psychotic symptoms for other reasons.6Schizophrenia Bulletin. Towards an Integrative Account of Potential Mechanisms Mediating the Path From Sleep Dysfunction to Hallucinations

The relationship between dopamine, sleep, and hallucinations is not a simple chain where one thing leads cleanly to the next. Abnormal dopamine signaling could be a shared mechanism that drives both insomnia and hallucinations independently. It could also act as a mediator, where disrupted sleep changes dopamine systems, which then produce hallucinations. And because sleep and dopamine systems influence each other in both directions, the dysfunction can feed on itself, with poor sleep worsening dopamine dysregulation, which then worsens sleep further.6Schizophrenia Bulletin. Towards an Integrative Account of Potential Mechanisms Mediating the Path From Sleep Dysfunction to Hallucinations

There is also a theory that sleep deprivation changes the balance between top-down and bottom-up processing in perception. The idea is that a sleep-deprived brain leans too heavily on its expectations and internal models (top-down) when sensory input (bottom-up) becomes unreliable, essentially filling in perceptions based on what it expects rather than what is actually there. The evidence for this specific mechanism is mixed, though. Two studies testing this idea in non-clinical participants found that the top-down perceptual biases thought to underlie hallucinations were actually resilient against sleep deprivation, suggesting that at least in healthy people, this particular pathway may not be the primary driver.6Schizophrenia Bulletin. Towards an Integrative Account of Potential Mechanisms Mediating the Path From Sleep Dysfunction to Hallucinations

A popular explanation you will encounter online is that hallucinations from sleep deprivation are caused by REM sleep “intruding” into waking consciousness, essentially dreaming while awake. This is an appealing idea because dreams and hallucinations share obvious features: both are vivid perceptions that are not real. But a review of the evidence found insufficient support for the claim that most waking hallucinations depend on REM processes or REM intrusions.7PubMed Central. What Is the Link Between Hallucinations, Dreams, and Hypnagogic–Hypnopompic Experiences? REM intrusion may play some role in specific situations, particularly in narcolepsy, but it does not appear to be the main mechanism for the hallucinations that sleep-deprived people experience.

It Is Not Just Depression or Anxiety in Disguise

A reasonable objection to the insomnia-hallucination link is that both could be symptoms of something else. Depression causes insomnia, and depression can also cause perceptual disturbances. Anxiety disrupts sleep, and anxiety can produce quasi-hallucinatory experiences. Maybe insomnia itself is just a bystander.

Researchers have tested this directly. Data from two large British psychiatric surveys showed that the association between insomnia and hallucinations remained significant even after statistically controlling for depression, anxiety, and paranoia. The odds ratios shrank, meaning some of the link was explained by those conditions, but a meaningful independent relationship between insomnia and hallucinations persisted.8PubMed Central. Insomnia and hallucinations in the general population: Findings from the 2000 and 2007 British Psychiatric Morbidity Surveys Similarly, an analysis of the U.S. National Comorbidity Survey found that specific sleep disturbances, particularly difficulty falling asleep and early morning awakenings, were associated with greater odds of psychotic experiences even after adjusting for other psychiatric diagnoses.9PubMed. Sleep disturbances are associated with psychotic experiences: Findings from the National Comorbidity Survey Replication

This does not mean depression and anxiety are irrelevant. In young people at clinical high risk for psychosis, sleep problems were closely associated with suspiciousness and perceptual abnormalities, and depression mediated the link between sleep problems and paranoid symptoms specifically.10PubMed Central. Sleep problems and attenuated psychotic symptoms in youth at clinical high-risk for psychosis So the reality is layered: insomnia can contribute to hallucinations on its own, and it can also amplify hallucinations through its effects on mood and anxiety. The two pathways are not mutually exclusive.

When Sleep Problems Precede Psychotic Episodes

One of the more clinically significant findings in this area is that disrupted sleep sometimes comes before, not after, the onset of psychotic symptoms. Case reports and literature reviews have documented presentations where sleep issues were the first observable sign before a patient developed full psychotic symptoms, suggesting that sleep disruption may play a role in triggering psychosis in vulnerable people rather than just accompanying it.11PubMed Central. Sleep disruptions and the pathway to psychosis: An in-depth case and literature review

This has practical implications. If someone is already vulnerable to psychosis, whether from a family history, previous episodes, or other risk factors, severe insomnia is not just an inconvenience. It may be an early warning sign and a modifiable risk factor. There is evidence that treatments targeting sleep-circadian disturbances can alleviate psychiatric symptoms in susceptible individuals, and conversely, untreated psychiatric symptoms can worsen sleep in a damaging feedback loop.12PubMed Central. The sleep-circadian interface: A window into mental disorders The role of insomnia as both a risk factor and a transdiagnostic symptom across mood disorders, anxiety, and schizophrenia makes it a potential treatment target that is too often overlooked.13PubMed. Sleep, insomnia and mental health

Sleep Medications That Can Backfire

Here is an irony worth knowing about: some of the medications prescribed specifically for insomnia can themselves cause hallucinations. Z-drugs, the class of sleeping pills that includes zolpidem (Ambien), zaleplon, and zopiclone, have a well-documented history of producing bizarre perceptual side effects. Neuropsychiatric adverse events reported with zolpidem include hallucinations, amnesia, and parasomnia such as sleepwalking.14PubMed Central. The clinical and forensic toxicology of Z-drugs

These are not rare oddities buried in the fine print. Australia’s drug safety committee received 104 reports of hallucinations with zolpidem by 2007, along with 62 reports of amnesia and 16 reports of bizarre behavior the patient had no memory of.15Australian Prescriber. Hypnotic hazards: adverse effects of zolpidem and other z-drugs The hallucinations are typically visual and can be vivid enough to be genuinely frightening. Z-drugs are also associated with complex behaviors like sleep-driving, where a person gets behind the wheel while not fully awake, highlighting how profoundly these medications can blur the boundary between sleep and wakefulness.16PubMed Central. In the Zzz zone: the effects of Z-drugs on human performance and driving

If you are taking a Z-drug for insomnia and experiencing hallucinations, the medication itself is a plausible culprit, especially if the hallucinations started after you began taking it or occur at higher doses. This does not mean everyone on these medications will hallucinate, but it is worth raising with a doctor rather than assuming the hallucinations are caused by the insomnia the drug is supposed to treat.

Paradoxical Insomnia and Perception

There is a subtype of insomnia that is especially interesting in the context of hallucinations. Paradoxical insomnia, sometimes called sleep-state misperception, is characterized by a gap between how badly someone believes they slept and what objective sleep monitoring shows. A person with paradoxical insomnia might insist they were awake all night while a polysomnography recording shows they slept a normal number of hours with normal sleep architecture.17PubMed Central. Paradoxical Insomnia in the Presence of Mild Obstructive Sleep Apnea: A Case Report Illustrating Diagnostic Complexity and Treatment Challenges

The leading explanation involves hyperarousal and faulty sensory gating, mechanisms that insufficiently block out arousal signals during sleep. In other words, the brain continues to monitor the environment at a level that would normally be associated with wakefulness, creating a conscious experience of being awake even while measurably asleep.18PubMed. Neurobiological mechanisms of sleep state misperception in insomnia disorder: A theoretical review This is relevant because the same blurring of sleep-wake boundaries that characterizes paradoxical insomnia could, in theory, make someone more susceptible to hallucinatory experiences. If your brain is not cleanly separating “awake” from “asleep,” the perceptual distortions that normally stay contained within sleep have more opportunity to leak into your conscious experience.

Sleep-Related Hallucinations in Parkinson’s Disease

The sleep-hallucination connection plays out differently in neurodegenerative conditions. In Parkinson’s disease, sleep-related hallucinations are common and carry a distinct clinical significance. A study of 100 consecutive Parkinson’s patients found that 29% reported sleep-related hallucinations, nearly double the rate of the control group. Longer duration of Parkinson’s treatment, higher depression scores, and higher REM sleep behavior disorder scores were all independently associated with these hallucinations.19PLOS ONE. Sleep-related hallucinations in patients with Parkinson’s disease

What makes this interesting is that daytime (fully awake) hallucinations occurred at similar rates in Parkinson’s patients and controls, around 13 to 16%. The excess hallucinations in Parkinson’s were specifically tied to sleep transitions. This echoes the broader theme: the sleep-wake boundary is where perceptual reliability breaks down, and conditions that further compromise that boundary, whether insomnia, neurodegeneration, or medication effects, push the rate of hallucinations up. For Parkinson’s patients and their families, sleep-related hallucinations are worth mentioning to a neurologist because they may signal changes in disease progression or medication balance rather than being a harmless quirk of bad sleep.

Real-World Dangers of Sleep-Deprived Perception

The hallucinations caused by sleep loss are not always dramatic, full-blown visions. More often they are subtle perceptual distortions: objects that seem to shift or breathe, shadows that look like people, sounds that come from nowhere. In a driving simulator study, participants who had been awake for 22 to 30 hours reported visual distortions and illusions while driving an uneventful route. Self-reported mental workload and personality traits like extroversion predicted who was more likely to experience these phenomena.3Proceedings of the Human Factors and Ergonomics Society Annual Meeting. Pink Elephants on the Road: Visual Illusions and Distortions when Driving during Significant Sleep Deprivation

This has obvious safety implications beyond the lab. Shift workers, long-haul drivers, new parents, and anyone pulling extended hours without sleep are operating in the zone where their visual system starts generating false information. The danger is not that they will see something wildly impossible and know it is a hallucination. It is that they will see something subtly wrong, a shadow that looks like a pedestrian, a road edge that appears to shift, and react to it in a way that causes a real accident. The insidious part is that mild perceptual distortions, unlike full hallucinations, feel entirely real in the moment. There is no internal alarm telling the sleep-deprived brain that what it is seeing is wrong.

Can Treating Insomnia Reduce Hallucinations

If insomnia contributes to hallucinations, fixing the sleep problem should help. This is a reasonable expectation, but the clinical evidence is more mixed than you might hope. A randomized pilot trial tested cognitive behavioral therapy for insomnia (CBT-I) in patients who already had persistent delusions and hallucinations. The treatment effects on hallucinations covered a wide range, with some patients improving and others not, and the confidence intervals were wide enough to include both meaningful benefit and some worsening.20PubMed Central. Efficacy of cognitive behavioural therapy for sleep improvement in patients with persistent delusions and hallucinations (BEST): a prospective, assessor-blind, randomised controlled pilot trial This was a small pilot trial, so it would be premature to draw firm conclusions from it. But it illustrates that in people with established psychotic symptoms, improving sleep alone may not be enough to reliably resolve hallucinations.

The picture is more encouraging for prevention than for treatment. The broader evidence on sleep and psychiatric symptoms suggests that addressing sleep-circadian disturbances can alleviate psychiatric symptoms in susceptible people before they become entrenched.12PubMed Central. The sleep-circadian interface: A window into mental disorders For someone who is experiencing mild hallucinations and also has insomnia, aggressively treating the insomnia, ideally through behavioral approaches like CBT-I rather than Z-drugs that could compound the problem, is a sensible first step. The relationship between sleep and hallucinations appears to be bidirectional, so breaking the cycle at the sleep end may help even if it does not fully resolve the perceptual symptoms.

Insomnia as a Leftover Survival System

A newer theoretical framework proposes that insomnia is not a malfunction at all but the expression of an ancient threat-detection system that evolved to keep us alive. The idea is that the hyperarousal of insomnia, the racing mind, the inability to let go of environmental monitoring, once served a purpose when falling deeply asleep could get you eaten. In modern life, where the threats are psychosocial rather than physical, this system gets chronically activated by stressors it was never designed to handle. Repeated activation sensitizes the neural circuitry through a process the authors describe as “kindling,” making the system easier to trigger each time.6Schizophrenia Bulletin. Towards an Integrative Account of Potential Mechanisms Mediating the Path From Sleep Dysfunction to Hallucinations

If this framework holds, hallucinations from insomnia may be an unintended consequence of a brain that is trying too hard to stay alert. A nervous system locked in threat-detection mode does not transition cleanly between waking and sleeping, and that blurred boundary is exactly where hallucinations tend to emerge. It also suggests why chronic insomnia is particularly prone to producing these effects compared to acute sleep loss from external causes: the threat-response circuitry has been kindled through repeated use, making the brain progressively more sensitized and the sleep-wake boundary progressively less stable.

Tessa Gibson

Tessa Gibson has reported on mental health and sleep research for 11 years. She earned an MS in science journalism at Boston University after an undergraduate degree in psychology. Her reporting has covered antidepressant trials, psychotherapy outcome studies, insomnia treatments and the science of sleep tracking, with each piece reviewed by a licensed clinician. She concentrates on explaining what new studies found and how much weight their results can bear.