Those swirling honeycombs, spirals, and checkerboard patterns you see when you press on your closed eyelids are called phosphenes, and they happen because your retinal cells respond to mechanical pressure the same way they respond to light. Your photoreceptors do not actually care whether a photon hit them or your knuckle squeezed them; either way, they fire off electrical signals that travel up the optic nerve and get interpreted by your brain as something visual. The geometric quality of those patterns, though, has a deeper explanation rooted in how your visual cortex is wired, and the whole phenomenon turns out to be more scientifically rich than a simple parlor trick.
How Pressure Turns Into Light
Your retina is a thin sheet of neural tissue lining the back of your eye, packed with photoreceptor cells whose entire purpose is to convert incoming light into electrical signals. These cells are mechanically sensitive, meaning physical deformation can trigger them to fire just as a flash of light would. When you press on your closed eyelid, you distort the eyeball and physically compress the retina. The cells at the point of greatest pressure get activated, sending signals through the optic nerve to the brain’s visual processing areas, which dutifully interpret those signals as light. The result is what you see: a glow or pattern that appears in the opposite part of your visual field from where you’re pressing. Push on the outer corner of your right eye, and the glow shows up toward the center or left of your visual field, because the retinal image is spatially inverted.
The pressures involved are surprisingly large. A study measuring intraocular pressure during eye rubbing in primates found that IOP spiked to mean elevations of roughly 80 to 150 mmHg above baseline for several seconds at a time, with peaks reaching as high as 310 mmHg depending on the individual and the rubbing technique used.1PubMed Central. The Magnitude of IOP Elevation Associated with Eye Rubbing For context, normal intraocular pressure hovers around 10 to 21 mmHg. Rubbing with the back of your hand or wrist produced the highest spikes, while fingertip rubbing was somewhat gentler. That kind of pressure is more than enough to mechanically stimulate the retinal cells and produce vivid phosphene patterns.
Why the Patterns Are Geometric
If your retina just fires at the point of pressure, you might expect to see a shapeless blob of light. Instead, many people report structured images: lattices, spirals, tunnels, cobwebs, and checkerboards. The reason has less to do with the retina itself and more to do with how your visual cortex processes the incoming signals.
The primary visual cortex, at the back of your brain, has a highly organized architecture. Neurons there are arranged in columns and layers with repeating patterns of connectivity. When a uniform or semi-random wave of activity washes across this structure, the cortex’s own geometry shapes the signal into recognizable forms. Researchers studying visual hallucinations classified these recurring shapes into groups called form constants, which include gratings, lattices, honeycombs, and checkerboards in one category; cobwebs in another; tunnels, funnels, and cones in a third; and spirals in a fourth.2PubMed Central. Geometric visual hallucinations, Euclidean symmetry and the functional architecture of striate cortex These form constants show up not just from eye rubbing but across many kinds of visual disturbance, from psychedelic drugs to fever to sensory deprivation. The common thread is that they emerge from the cortex’s inherent wiring rather than from the specific stimulus.
Think of it this way: the retina sends a noisy, disorganized burst of activity up to the brain, and the brain’s structured neural architecture acts like a filter that imposes geometric order on that noise. The specific pattern you see on any given press depends on which region of cortex is most active, how symmetrically the pressure is distributed across your retina, and your individual cortical architecture. That is why the patterns shift and morph as you change the pressure or move your fingers.
A Biochemical Explanation
The standard account of phosphenes focuses on mechanical stimulation of photoreceptors, but there is a more speculative biochemical angle. One hypothesis proposes that the light you perceive during eye rubbing may partly come from actual photon emission inside your cells. Under mechanical stress, cells can overproduce reactive oxygen species, and these reactive molecules can generate ultra-weak photon emissions, sometimes called biophotons, as a byproduct of oxidative chemistry. According to this model, pressure on the eye or even a blow to the head triggers a surge in reactive oxygen species from sources like NAD(P)H oxidase and nitric oxide synthase, and the resulting excess biophotons could stimulate photoreceptors from the inside.3BioSystems. Phosphene phenomenon: A new concept – Section: Mechanical Phosphenes As Bioluminescent Biophotons
This idea remains controversial. The photon emissions measured from biological tissue are extraordinarily faint, and whether they are intense enough to activate photoreceptors at a level that produces conscious perception is debated. Most vision scientists still consider the mechanical deformation account sufficient to explain pressure phosphenes. But the biophoton hypothesis offers an interesting explanation for why phosphenes sometimes persist for a moment after you stop pressing, and why certain metabolic states, such as fatigue or illness, seem to change how readily phosphenes appear. It is a fringe idea with some experimental grounding, not established consensus.
Phosphenes in Unexpected Places
Eye rubbing is the most common everyday trigger, but phosphenes pop up in a surprising range of situations. Sneezing, coughing hard, standing up too fast, or straining can all produce brief flashes, usually because of transient changes in blood pressure or intraocular pressure that mechanically disturb the retina. Most of these are harmless and fleeting.
Astronauts, however, have reported phosphenes for decades. Light flashes in space were first noticed during the Apollo missions, and researchers demonstrated that charged particles in space radiation, particularly cosmic rays, can generate phosphenes as they pass through the eye and possibly through visual cortex tissue.4PubMed Central. Light flashes and other sensory illusions perceived in space travel and on ground, including proton and heavy ion therapies Astronauts describe seeing streaks, dots, and flashes even with their eyes closed, particularly in low-earth orbit and beyond. The same phenomenon occurs, much more rarely, on the ground during proton and heavy-ion radiation therapies, where the beam passes near or through visual structures.
In the laboratory, researchers can reliably produce phosphenes using transcranial magnetic stimulation, applying magnetic pulses to the back of the skull over the occipital lobe. When a TMS pulse is delivered to the visual cortex at the right timing, about 100 milliseconds after a visual stimulus, it can suppress the visibility of that stimulus at the phosphene’s location in the visual field.5PubMed Central. Phosphene-guided transcranial magnetic stimulation of occipital but not parietal cortex suppresses stimulus visibility This tells us something important: the visual cortex is not just passively receiving retinal input. It is an active participant in constructing what you see, and stimulating it directly creates visual experience that competes with real visual input.
Migraine Aura and Cortical Spreading Depression
If you have ever experienced a migraine with aura, you know the zigzag patterns, shimmering arcs, or expanding blind spots that precede the headache. These visual disturbances share a family resemblance with pressure phosphenes, and for good reason. Migraine aura is thought to arise from cortical spreading depression, a wave of intense neural activity followed by a period of suppression that slowly rolls across the visual cortex. Mathematical models of this process, specifically reaction-diffusion models, successfully reproduce the hallucinated patterns that migraine sufferers describe.6PubMed Central. Migraine Visual Aura and Cortical Spreading Depression-Linking Mathematical Models to Empirical Evidence
The connection to eye-rubbing phosphenes is the shared role of cortical architecture. In both cases, disrupted activity in the visual cortex gets organized by the cortex’s own structure into geometric form constants. The key difference is the source: pressure phosphenes originate in the retina and travel up to the cortex, while migraine aura originates directly in the cortex itself. But the visual output, those tunnels and spirals and lattice-like patterns, can look strikingly similar because the same neural hardware is doing the final shaping.
When Flashes of Light Should Worry You
Most phosphenes from a casual eye rub are completely benign and disappear the moment you stop pressing. But persistent or spontaneous flashes of light, especially ones you did not provoke by rubbing, can signal something that deserves medical attention.
One well-known cause is vitreous traction on the retina. As you age, the gel-like vitreous inside your eye gradually shrinks and can pull away from the retina. If it tugs on a spot where it is still firmly attached, the mechanical pull stimulates the retina and you see a flash, often described as a lightning streak in the periphery of your vision. These are sometimes called Moore’s lightning streaks, and they are caused by persistent vitreoretinal adhesions that transmit traction forces onto the retina.7PubMed. Lightning streaks of Moore: a cause of recurrent stereotypic visual disturbance By themselves, they are usually harmless, but in some cases that traction can tear the retina, leading to retinal detachment. If you suddenly see new flashes of light, a shower of new floaters, or a curtain-like shadow spreading across your visual field, that warrants urgent evaluation by an eye specialist.
Vigorous or compulsive eye rubbing can accelerate these problems. In one reported case, obsessive-compulsive eye rubbing precipitated retinal detachments in both eyes within three months.8PubMed Central. Progressive keratoconus, retinal detachment, and intracorneal silicone oil with obsessive-compulsive eye rubbing That is an extreme example, but it underscores the point that habitual, forceful eye rubbing carries real risks beyond the momentary light show.
Why Habitual Eye Rubbing Is Riskier Than It Feels
Eye rubbing feels harmless. It is one of the most reflexive human behaviors, something many people do dozens of times a day without thinking about it. But the forces involved are not trivial, as the IOP measurements discussed earlier make clear. Sustained or aggressive rubbing poses specific risks to the front of the eye as well as the back.
The most significant concern is keratoconus, a progressive condition in which the cornea thins and bulges into a cone shape, distorting vision. Research has consistently linked chronic eye rubbing to this condition. A review of the evidence concluded that eye rubbing causes thinning of the keratocytes, the cells that maintain corneal structure, and that the severity of the damage depends on how long and how forcefully a person rubs.9PubMed Central. The correlation between keratoconus and eye rubbing: a review People who rub vigorously with their knuckles are at higher risk than those who use their fingertips gently. The association is strong enough that ophthalmologists routinely counsel keratoconus patients to stop rubbing their eyes entirely.
Even when rubbing affects only one eye, the consequences can be asymmetric. A case involving chronic rubbing of a single eye following nerve damage led to unilateral corneal ectasia, a bulging of the cornea on that side only, reinforcing the idea that the mechanical stress of rubbing is a direct contributor rather than a coincidental association.10PubMed Central. Unilateral corneal ectasia following trigeminal schwannoma resection with chronic neurogenic eye rubbing If you find yourself rubbing one eye far more than the other, perhaps because of a chronic itch from allergies or dryness, treating the underlying irritation is a better strategy than tolerating the rubbing.
Phosphenes and Visual Prosthetics
The fact that you can create visual sensations through mechanical or electrical stimulation, bypassing the normal pathway of light entering the eye, has practical medical applications. Researchers working on visual prostheses for people who are blind or nearly blind rely on this principle. The idea is to stimulate the retina, optic nerve, or visual cortex directly with electrical signals, producing phosphenes that correspond to useful spatial information.11PubMed. Estimation of phosphene spatial variability for visual prosthesis applications
A major challenge is that phosphenes vary from person to person in their size, brightness, and exact perceived location. When you rub your eyes, the imprecise correspondence between where you press and where the glow appears is a minor curiosity. For someone relying on a grid of electrodes to navigate a room, that imprecision matters enormously. Current research is focused on mapping how the spatial location and intensity of electrically induced phosphenes relate to the electrode position, so that prosthetic systems can be calibrated to each individual user. The devices on the market or in clinical trials so far produce low-resolution vision, enough to detect movement and large shapes, but the field is progressing.
In a roundabout way, every time you rub your eyes and see those swirling patterns, you are experiencing the same basic phenomenon that engineers are trying to harness to restore sight. The retina and the visual cortex are flexible enough to turn pressure, electricity, or cosmic rays into something that looks like vision. The geometric patterns you see are not a glitch in the system. They are a window into how your brain constructs the visual world, imposing order and structure on whatever raw signal it receives.