What Controls Pupil Size: Muscles, Nerves & More

Two small muscles inside your iris control the size of your pupil, and they’re managed by competing branches of your nervous system. One muscle squeezes the pupil smaller, the other pulls it wider, and the balance between them shifts constantly in response to light, focus, emotions, and even how hard you’re thinking. In a healthy adult, this system adjusts pupil diameter from as small as 2 mm in bright light to as large as 8 mm in darkness.

Two Muscles Working Against Each Other

The iris contains two smooth muscles that you can’t voluntarily control. The sphincter muscle wraps around the pupil in a ring. When it contracts, it tightens that ring and makes the pupil smaller. The dilator muscle runs radially outward from the pupil like the spokes of a wheel. When it contracts, it pulls the iris back and opens the pupil wider.

These two muscles are constantly in a tug-of-war. Pupil size at any given moment reflects whichever muscle has the stronger pull. Bright light triggers the sphincter to dominate. Darkness, fear, or excitement tips the balance toward the dilator.

The Nervous System Runs the Show

Each iris muscle is wired to a different branch of the autonomic nervous system, the part of your nervous system that handles things automatically without conscious effort. The parasympathetic branch controls the sphincter muscle, constricting the pupil. The sympathetic branch controls the dilator muscle, widening the pupil.

When light hits your eye, the parasympathetic pathway activates and squeezes the pupil down. At the same time, the sympathetic pathway backs off, withdrawing its pull on the dilator. These two systems are yoked together: as one ramps up, the other steps back. This coordination makes the response fast and efficient.

How the Light Reflex Works

The pupillary light reflex is the most familiar example of pupil control. Shine a light in one eye and both pupils constrict within a fraction of a second. The signal travels a specific route through the brain to make this happen.

Light-sensitive cells in the retina detect the brightness change and send a signal along the optic nerve into the brain. Instead of heading to the visual processing areas (the route that lets you see), these signals branch off to a structure in the midbrain called the pretectal nucleus. From there, signals travel to a cluster of neurons called the Edinger-Westphal nucleus on both sides of the brain, which is why both pupils constrict even when only one eye receives light.

The Edinger-Westphal nucleus sends its command back out through the oculomotor nerve to the ciliary ganglion, a relay station just behind the eye. From there, the final signal reaches the sphincter muscle and the pupil constricts. The entire loop, from light hitting the retina to the pupil shrinking, takes less than a second.

Focusing on Close Objects

Light isn’t the only thing that makes your pupils constrict. Shifting your gaze from something far away to something nearby, like looking up from across the room to check your phone, triggers a set of three coordinated eye changes called the near triad. Your lenses change shape to focus at the closer distance, your eyes rotate slightly inward so both point at the same spot, and your pupils constrict.

The pupil constriction during near focus sharpens the image, working like a camera stopping down its aperture to increase depth of field. This response is separate from the light reflex and uses a slightly different neural pathway, which is why some medical conditions can knock out one response while leaving the other intact.

Emotions, Mental Effort, and Arousal

Your pupils also respond to what’s happening inside your head. Fear, excitement, surprise, and other emotionally arousing states cause your pupils to dilate, driven by the sympathetic nervous system releasing signals to the dilator muscle. This is part of the same fight-or-flight response that raises your heart rate.

Cognitive effort has a similar effect through a different mechanism. Working through a difficult math problem or concentrating intensely on a task causes measurable pupil dilation. Rather than ramping up the sympathetic system, mental effort appears to work primarily by inhibiting the parasympathetic pathway, releasing the brake on the sphincter muscle and letting the pupil widen. Researchers use pupil measurements as a reliable marker of how hard someone’s brain is working.

The size of these arousal-driven changes depends on ambient lighting. At low to moderate light levels, cognitive and emotional arousal can produce noticeable dilation. In very bright environments, the light reflex dominates so strongly that arousal has little visible effect on pupil size.

How Drugs and Substances Affect Pupil Size

Many substances alter pupil size by hijacking the same neural pathways that normally control it. The effects fall into two categories: dilation (mydriasis) and constriction (miosis).

  • Substances that dilate the pupil: Cocaine blocks the reuptake of norepinephrine, flooding the sympathetic pathway and widening the pupil. Methamphetamine, LSD, psilocybin, and marijuana all cause dilation through similar stimulation of the sympathetic system. Alcohol also dilates the pupils in the short term and slows the pupillary light response.
  • Substances that constrict the pupil: Opioids like heroin and morphine produce small, pinpoint pupils by directly stimulating the Edinger-Westphal nucleus, the same brain structure that drives the light reflex. This effect typically starts within 15 to 60 minutes and lasts 3 to 5 hours. Opioid-constricted pupils also react sluggishly or not at all to light.

Certain eye drops prescribed for medical reasons also work on these pathways. Cycloplegic drops paralyze the sphincter muscle, locking the pupil open. Cholinergic drops activate the sphincter, keeping the pupil small.

Pupil Size Changes With Age

Pupils gradually get smaller as you get older, a phenomenon called senile miosis. This happens because the dilator muscle in the iris slowly degenerates over time, weakening the system that holds the pupil open. Older adults not only have smaller resting pupils but also show less dilation in response to darkness, cognitive tasks, and emotional stimuli compared to younger adults.

In research comparing age groups, older adults consistently showed about 25% less pupil dilation than younger adults during cognitive tasks. This reduced range is a normal part of aging, though it can make eye exams slightly more difficult and may contribute to reduced night vision, since a smaller pupil lets in less light.

When Pupil Size Signals a Problem

Normally, both pupils are roughly the same size and respond together. When they’re noticeably unequal, the condition is called anisocoria. About 20% of people have a mild, harmless version of this where the difference is less than about 0.8 mm and stays constant regardless of lighting. This is called physiological anisocoria and is simply a quirk of anatomy.

Unequal pupils that vary with lighting conditions can point to specific problems. If the difference is more obvious in dim light, meaning one pupil isn’t dilating properly, Horner syndrome is a key consideration. Horner syndrome results from disruption of the sympathetic nerve pathway on one side, leaving that pupil unable to widen normally. It can be caused by nerve damage in the neck, chest, or brainstem.

If the difference is more pronounced in bright light, meaning one pupil isn’t constricting properly, the causes include third nerve palsy, Adie tonic pupil, or physical trauma to the iris sphincter. Adie pupil is a relatively benign condition where one pupil loses its ability to constrict to light but still responds slowly when you focus on something nearby. Third nerve palsy is more serious, often accompanied by a drooping eyelid or difficulty moving the eye, and can signal compression of the nerve by an aneurysm or other mass.

Sudden onset of unequal pupils, especially with headache, vision changes, or eyelid drooping, warrants prompt medical evaluation, as it can indicate a neurological emergency.