Closed-eye hallucinations range from faint swirling colors to vivid geometric patterns or even fully formed images, and they have several distinct causes. Some are completely normal byproducts of how your visual system works. Others point to specific triggers like sleep transitions, medications, sensory loss, or neurological events. Understanding which type you’re experiencing helps separate the harmless from the worth-investigating.
Phosphenes: The Most Common Cause
The simplest closed-eye visuals are phosphenes, those spots, blobs, and swirls of color you see when you press on your eyelids or simply close your eyes in a dark room. These happen because the light-sensitive cells in your retina don’t go completely silent when external light is removed. Mild mechanical pressure (rubbing your eyes), changes in blood flow, or even small electrical signals can trigger these cells to fire spontaneously. Your brain interprets that activity as light, even though no light entered the eye.
Phosphenes are universal. Nearly everyone sees them to some degree. They tend to be more noticeable when you move from a bright environment to darkness, as your retina adjusts. The patterns are typically simple: colored dots, drifting blobs, or faint geometric shapes. They’re not a sign of anything wrong.
Residual Light and Biophoton Reemission
After staring at a bright object or a colored image for a few seconds, the tissues in your eye actually reemit tiny amounts of absorbed light. This ultraweak bioluminescence was confirmed in experiments using freshly isolated retinal tissue. When you close your eyes after looking at something bright, external photons have excited electronic states within the eye’s structures, and those structures slowly release that energy as faint photons over the following seconds. Nearby photoreceptors that haven’t been bleached by the original light can pick up this reemission, contributing to afterimages and lingering visual impressions with your eyes shut.
This is separate from the well-known neural afterimage effect (where fatigued photoreceptors create a “negative” of what you saw). Both processes layer together to produce the colors and shapes many people notice right after closing their eyes.
Hypnagogic Hallucinations at Sleep Onset
The most vivid closed-eye hallucinations many people experience happen during the transition from wakefulness to sleep. These are called hypnagogic hallucinations, and they can include faces, landscapes, abstract patterns, or even short dream-like scenes while you’re still partially awake. The reverse, happening as you wake up, are called hypnopompic hallucinations.
These occur because the boundary between waking consciousness and REM sleep isn’t always clean. Sometimes the brain transitions relatively directly from waking into REM-like activity, and the dream-generating circuits activate before you’ve fully lost awareness. About 8% of the general population experiences the related phenomenon of sleep paralysis, where this overlap becomes especially pronounced, and rates are higher in people with anxiety disorders, PTSD, or nightmare disorder.
Hypnagogic hallucinations are more common when you’re sleep-deprived, stressed, or have an irregular sleep schedule. They’re generally harmless, though frequent and intense episodes can sometimes indicate narcolepsy, where the neurons that regulate sleep-wake boundaries have been damaged.
Sensory Deprivation and the Ganzfeld Effect
Your visual cortex doesn’t like having nothing to process. When external visual input drops significantly, the brain’s image-processing areas become increasingly excitable and begin generating their own signals. This is the principle behind the Ganzfeld effect: when people are exposed to a completely uniform, featureless visual field (or total darkness), they begin hallucinating within minutes. The hallucinations can start as simple colors and progress to complex imagery.
You don’t need a laboratory setup to experience a mild version of this. Lying in a completely dark room with your eyes closed for an extended period can be enough. The visual cortex, deprived of its usual input, starts producing spontaneous activity that you perceive as light, color, or pattern. This same mechanism underlies some of the more intense visual experiences reported during extended meditation or isolation.
Charles Bonnet Syndrome and Vision Loss
When vision loss is chronic rather than temporary, the brain’s response to sensory deprivation can become more dramatic. Charles Bonnet syndrome (CBS) occurs in people with partial vision loss from conditions like macular degeneration, glaucoma, or diabetic retinopathy. The hallucinations are often strikingly detailed: people, animals, landscapes, or intricate patterns.
The mechanism works like a visual version of phantom limb pain. When retinal input to the visual cortex is reduced or cut off by eye disease, the visual processing areas become hyperactive in the absence of normal stimulation. Brain imaging studies have confirmed increased spontaneous activity in the occipital and temporal visual regions of CBS patients. This cortical disinhibition produces internally generated imagery that feels like a real visual experience. The key distinguishing feature of CBS is preserved insight: the person knows the hallucinations aren’t real, and there’s no underlying psychiatric illness or dementia.
Migraine Aura
Migraine with aura produces some of the most distinctive closed-eye (and open-eye) visual disturbances. The hallmark is a slowly expanding pattern of flickering lines, zigzag shapes, or shimmering crescents that typically builds over 5 to 30 minutes. These patterns reflect a wave of electrical activity spreading across the visual cortex, called cortical spreading depolarization.
This wave works through a feedback loop. A small area of heightened neural excitation triggers surrounding neurons to fire intensely, followed by a wave of suppression that trails behind. The result is a moving boundary between overactive and silenced brain tissue, which maps onto the geometric, often crescent-shaped visual patterns people report. The hallucinations are usually simple (lines, spots, shapes) and may appear on only one side of the visual field. They’re typically followed by a headache, though not always.
Psychedelic Substances
Drug-induced closed-eye visuals are among the most intense and complex. Classic psychedelics like psilocybin and LSD produce their hallucinogenic effects primarily by activating a specific serotonin receptor (5-HT2A) in the brain. This receptor activation triggers a cascade of intracellular signaling that dramatically increases neuronal excitability, particularly in visual processing regions.
The result is a flood of internally generated visual information: intricate geometric patterns, kaleidoscopic imagery, and vivid scenes that appear with eyes closed. These substances also produce dose-dependent changes in blood flow within the brain, with activation of serotonin receptors causing complex, region-specific shifts in how blood vessels dilate and constrict. Cannabis, fever, and certain medications (particularly anticholinergic drugs) can also trigger closed-eye visuals through different neurotransmitter pathways, though typically less intensely.
Sleep Deprivation
Going without sleep long enough reliably produces visual hallucinations, including with eyes closed. The progression is gradual. After about 24 hours without sleep, most people notice visual disturbances like peripheral flickering or brief misperceptions. By 48 to 72 hours, more formed hallucinations become common. The underlying cause is that sleep deprivation disrupts the brain’s ability to regulate spontaneous neural activity, particularly in visual areas. Without the restorative effects of sleep, the boundary between internally and externally generated perception starts to blur.
When Closed-Eye Hallucinations Signal Something Else
Most closed-eye hallucinations, particularly phosphenes, hypnagogic imagery, and the faint patterns you see in darkness, are entirely normal. Certain features, however, suggest a cause worth investigating. Hallucinations that appear only on one side of your visual field can indicate migraine, seizure, or rarely a structural brain issue. Objects appearing distorted in size (abnormally large or small) can point to seizure activity. Hallucinations with frightening content that feel real, where you lose the ability to recognize them as unreal, may reflect psychosis, delirium, or drug effects rather than benign visual phenomena.
The combination of formed, complex hallucinations (seeing people, animals, or scenes) with declining vision strongly suggests Charles Bonnet syndrome and warrants an eye exam. Hallucinations accompanied by headache, confusion, tremor, or impaired attention are more likely to have a neurological or medical cause that needs evaluation.

