Your eyes stay remarkably busy while you sleep. Far from simply shutting off, they cycle through slow rolling movements, rapid darting bursts, pressure swings, tear-film overhauls, and even mild swelling of the cornea. Some of these changes are protective, others are side effects of being sealed behind a lid for hours, and a few remain genuinely mysterious. The story involves nearly every part of the eye, from the fluid that bathes its surface to the retinal cells at the back.
Eye Movements Through the Night
As you drift off, your eyes begin rolling slowly from side to side. These slow eye movements are one of the earliest measurable signs of falling asleep, sometimes starting even before brain-wave patterns formally register “stage 1” sleep. Research tracking horizontal eye movements during this drowsy transition found that the movements change character as sleep deepens: they start out moderate and brief, grow faster and more saccade-like as alpha brain waves drop away, and then become wider and longer-lasting as the first spindles and deeper-sleep markers appear.
Once you settle into non-REM sleep, eye movements mostly quiet down. But roughly every 90 minutes, a dramatic shift occurs. Neurons in a region of the brainstem called the dorsolateral pontine reticular formation, working with other brainstem and forebrain areas, generate the rapid eye movements that give REM sleep its name.1PubMed Central. Mechanisms of sleep control Your eyes dart quickly beneath closed lids, sometimes tracing patterns that roughly correspond to the visual scenes in dreams. The first REM episode of the night tends to be short, maybe five or ten minutes. Later ones stretch longer, which is why vivid dreaming is more common toward morning.
These rapid movements are not random flickers. Brain-imaging work has shown that each burst of rapid eye movement during REM sleep triggers activity in the primary visual cortex, even though no light is reaching the retina. This pattern closely resembles what happens when you look at something while awake, and it provides neural evidence for ponto-geniculo-occipital waves, a cascade of electrical signals that travels from the brainstem to the visual cortex.2PubMed. Human brain activity time-locked to rapid eye movements during REM sleep In other words, your brain’s visual processing machinery fires up during dreams as if the eyes were actually seeing something.
Smooth Pursuit Without Anything to See
Rapid flicks are not the only eye movements during REM. Studies of lucid dreamers, people who become aware they are dreaming and can follow instructions while still asleep, have revealed something surprising: sleepers can perform smooth pursuit tracking of imagined moving objects. Normally, smooth pursuit requires a real visual target on the retina; you cannot do it while awake with your eyes closed just by imagining a moving dot. Yet during REM sleep, the dreamed image is apparently vivid enough to drive the same sustained smooth eye movement, demonstrating that neither a physical stimulus nor retinal image motion is strictly necessary for that type of tracking.3Nature Communications. Smooth tracking of visual targets distinguishes lucid REM sleep dreaming and waking perception from imagination
What Your Pupils Do Behind Closed Lids
Your pupils do not stay fixed while you sleep. In mammals, the general pattern is that pupils progressively constrict as you move from wakefulness into light and then deep non-REM sleep. During REM sleep the pupils stay mostly constricted but can briefly dilate. Research in mice found that these sleep-related pupil fluctuations are mainly driven by the parasympathetic nervous system. When researchers blocked the parasympathetic pathway using a drug called tropicamide, the pupil dilated and its characteristic sleep fluctuations disappeared entirely. Blocking parasympathetic input also destroyed the normal coupling between pupil size and cortical brain activity during non-REM sleep.4Current Biology. Pupillometry and Cortical Arousal Fluctuation across Sleep States in Mice
The constriction during sleep likely serves a practical function: by keeping the pupil small, the eye reduces the chance that stray light leaking through the eyelids will trigger an arousal signal and wake you up. This protective role has been demonstrated directly in mouse studies, where parasympathetically driven constriction was shown to shield sleep from disruption by ambient light.
The Tear Film Transforms Overnight
When your eyes are open during the day, each blink spreads a fresh layer of tears across the cornea. Blinking happens roughly every few seconds, constantly refreshing the tear film with water, mucus, and oils, flushing away debris, and delivering oxygen dissolved from the air. Sleep shuts all of that down. The lids close, blinking stops, and the tear film undergoes a fundamental shift in composition.
Research tracking tear chemistry over the course of a night found that the tear film changes from a dynamic, reflex-tear-rich layer to a stagnant one dominated by secretory immunoglobulin A. Levels of albumin climb, complement proteins get activated, and white blood cells called polymorphonuclear cells are recruited into the tear film. The result is a state of low-grade, subclinical inflammation on the eye’s surface.5PubMed. Temporal sequence of changes in tear film composition during sleep This is not pathological; it appears to be a nightly immune patrol. The closed environment under the lids gives the immune system a window to sweep the surface for bacteria and debris that accumulated during the day. When you wake up and start blinking again, the inflammatory mediators wash away quickly.
Temperature also changes. With the lids sealed, heat from the blood vessels behind the eye warms the corneal surface. A classic study of five healthy people measured a mean increase of about 1.5°C across the cornea after just five minutes of lid closure, with individual increases ranging from roughly 1.1 to 2.0°C.6Dove Press. Impact of Ocular Surface Temperature on Tear Characteristics: Current Insights Over a full night, the cornea sits in a warm, moist, oxygen-poor pocket, which brings us to what happens to the cornea itself.
Corneal Swelling and the Oxygen Question
The cornea is one of the few tissues in your body that gets most of its oxygen directly from the air rather than from blood vessels. When the eyelid closes, that supply drops sharply. Even a short period of lid closure causes measurable swelling. After just 30 minutes of unilateral eyelid closure in healthy subjects, the central cornea swelled by about 2.5% and the peripheral cornea by nearly 4%. Both areas recovered rapidly once the lid opened.7PubMed Central. The central and peripheral corneal response to short-term hypoxia Over a full night of sleep the swelling is somewhat greater, typically in the range of 3 to 4% centrally, but it resolves within an hour or two of waking as the cornea deswells and resumes oxygen uptake from the atmosphere.
This mild overnight swelling is normal and harmless for most people. It becomes a problem, though, when something interferes further with oxygen delivery. Contact lenses are the most common culprit. A lens sitting on the cornea already reduces oxygen transmission during the day; adding closed-lid conditions at night compounds the deficit. Research has shown that the risk of corneal infection, particularly ulcers, is substantially increased with overnight lens wear. The combination of airborne pollutants trapped on the lens during the day, reduced oxygen through both the lens and the closed lid, and the absence of blinking and lid movement during sleep creates ideal conditions for bacterial colonization.8PubMed. Risk of infection from sleeping with contact lenses on: causes of risk
Intraocular Pressure Spikes During Sleep
The fluid inside your eye, called aqueous humor, is continuously produced and drained to maintain a healthy internal pressure. That pressure is not constant. It follows a circadian rhythm, and sleep pushes it sharply upward. One study found that all subjects showed a dramatic rise in intraocular pressure after sleeping, with increases ranging from 37% to as much as 248%.9American journal of optometry and physiological optic. Diurnal Variation of Intraocular Pressure and the Overriding Effects of Sleep When subjects stayed upright and awake through the night, their pressure actually dropped to its lowest at around 3 a.m. But when some of those subjects were then allowed to sleep for two hours starting at 6 a.m., their pressure shot up by as much as 150%.
Part of this rise comes from posture: lying down shifts fluid toward the head, increasing pressure inside the eye. Studies of glaucoma patients and suspects have confirmed that eye pressure is higher in every recumbent position compared with sitting.10PubMed Central. Effects of different sleeping positions on intraocular pressure in secondary open-angle glaucoma and glaucoma suspect patients But posture alone does not explain the full magnitude of the spike. Sleep itself adds an independent effect, likely related to changes in aqueous humor dynamics. The production rate of aqueous humor follows its own circadian cycle, dropping by roughly half or more at night compared with daytime.11PubMed Central. Circadian Variation of Aqueous Dynamics in Young Healthy Adults You might expect that to lower pressure, but the drainage side slows down even more, and the postural component overwhelms any benefit from reduced production.12PubMed Central. Aqueous humor dynamics: a review
For most people, these nightly pressure spikes are harmless. For people with glaucoma or at risk for it, they can be a significant concern. The optic nerve is especially vulnerable when pressure is elevated in combination with compromised blood flow. Factors like nocturnal blood-pressure dipping, where blood pressure drops excessively during sleep, can reduce the blood supply to the optic nerve at exactly the time when intraocular pressure is at its highest.13PubMed. Beyond intraocular pressure: vascular and metabolic modifiers of optic nerve vulnerability in glaucoma This is one reason that some glaucoma specialists care about sleeping position and nocturnal blood pressure patterns, not just daytime pressure readings.
Light Still Gets Through Closed Eyelids
Your eyelids are not opaque. They filter out most light, but some wavelengths, particularly longer ones like red and orange, pass through fairly easily. Even short-wavelength blue light makes it through in sufficient amounts to affect your circadian clock. Several experiments have tested this by delivering pulses of blue light through a sleep mask worn during actual sleep. In one study, flashing blue light pulses of two seconds every 30 seconds through closed eyelids significantly suppressed melatonin, the hormone that signals darkness to the body.14PubMed Central. A train of blue light pulses delivered through closed eyelids suppresses melatonin and phase shifts the human circadian system This happened even though the subjects were asleep and unaware of the light.
A follow-up field study found that nightly exposure to flashing blue light through closed lids during the last few hours of sleep shifted the circadian clock later. Participants’ melatonin onset was delayed by about 34 minutes on average, and their sleep start times shifted later by approximately 46 minutes over the course of a week.15PubMed Central. Individually tailored light intervention through closed eyelids to promote circadian alignment and sleep health Red light at the same intensity had no meaningful effect, which makes sense because the retinal cells responsible for circadian signaling, the intrinsically photosensitive retinal ganglion cells, are most responsive to blue wavelengths. These findings have practical implications: sleeping in a room with blue-enriched light sources, even dim ones, could gradually shift your internal clock without your awareness. They also open the door to therapeutic applications for people with circadian rhythm disorders, since treatment could theoretically happen while they sleep.
When Eyelids Do Not Fully Close
Not everyone’s eyelids seal completely during sleep. A condition called nocturnal lagophthalmos, where the lids remain partially open, is more common than many people realize. It ranges from a barely noticeable slit to a gap wide enough to leave a band of cornea exposed all night. In a referral ophthalmology practice, nocturnal lagophthalmos was identified as a relatively common cause of previously undiagnosed chronic corneal inflammation. The severity ranged from minimal surface changes that healed later in the day to severe exposure ulcers with significant loss of corneal tissue.16JAMA Ophthalmology. Corneal Exposure During Sleep (Nocturnal Lagophthalmos)
People with nocturnal lagophthalmos often wake up with gritty, dry, irritated eyes and may not connect the symptoms to incomplete lid closure because they are, naturally, asleep when it happens. Research has found that nocturnal lagophthalmos is more prevalent in people with dry eye disease and correlates with worse dry eye symptoms, particularly upon waking, as well as poorer sleep quality.17PubMed Central. Nocturnal Lagophthalmos and Sleep Quality in Patients with Dry Eye Disease If you consistently wake up with red, irritated eyes that improve as the day goes on, it is worth asking a partner to check whether your lids are fully closed while you sleep, or mentioning the pattern to an eye doctor.
A related but distinct eyelid problem is floppy eyelid syndrome, in which the upper lids are abnormally loose and rubbery and can spontaneously evert during sleep, especially when a person sleeps face-down. This condition has a strong association with obstructive sleep apnea. Patients with floppy eyelid syndrome appear to have a distinct clinical profile involving dysfunction of the enzymes that maintain connective tissue, and their daytime sleepiness improves significantly with CPAP treatment for the underlying sleep apnea.18PubMed. Floppy eyelid syndrome and obstructive sleep apnea: a unique phenotype?
A Hypothesis About Retinal Waste Clearance
The brain has a waste-clearance system, sometimes called the glymphatic system, that ramps up during sleep to flush out metabolic byproducts. A more recent hypothesis proposes that something analogous happens in the eye. The idea is that REM sleep, through its characteristic rapid eye movements, acts as a kind of “vitreous pump,” moving fluid through the gel-like interior of the eyeball and helping to clear metabolic waste from the retina.19PubMed Central. REM phase: An ingenious mechanism to enhance clearance of metabolic waste from the retina This remains a hypothesis rather than established fact, but it offers an intriguing possible explanation for why the eyes move so vigorously during REM sleep, beyond their association with dream imagery. If the idea holds up, it would connect poor sleep quality to retinal health in a mechanistic way.
How Birds Do It Differently
Mammals and birds both have REM and non-REM sleep, but their eyes behave in opposite ways during these states. In mammals, pupils constrict during sleep and can briefly dilate during REM. In birds, the pattern is reversed: pigeon pupils remain mostly dilated throughout sleep but undergo rapid constrictions and re-dilations, a phenomenon researchers have named “rapid iris movements.” Pigeons experience over a thousand of these events per night, and the number is remarkably consistent for individual birds across multiple nights.20Current Biology. Avian pupillary responses during sleep and wakefulness reveal evolutionary differences in sleep mechanics
The reason for this difference comes down to anatomy. Mammalian iris muscles are smooth muscle, controlled involuntarily by the autonomic nervous system. Bird iris muscles are striated, the same type of voluntary muscle found in your biceps, and they are under direct neural control.21PubMed. A mammal and bird’s-eye-view of the pupil during sleep and wakefulness This fundamental difference in the hardware means that the same sleep states produce opposite pupillary outputs in the two groups. It is a vivid reminder that sleep, despite sharing broad features across vertebrate species, has been shaped by very different evolutionary pressures in different lineages.