Can Stress Cause Eye Twitching and How to Stop It?

Yes, stress is one of the most common triggers for eye twitching. When you’re stressed, your body releases cortisol, which acts as a stimulant and can cause the small muscles around your eyelid to contract involuntarily. These twitches are almost always harmless, typically lasting a few seconds to a few hours, and they resolve on their own once the underlying stress eases up.

What Happens in Your Eyelid

The medical term for common eye twitching is eyelid myokymia. It’s a spontaneous, fine, rippling contraction of the muscle that circles your eye. The lower eyelid is affected more often than the upper, and it’s almost always on one side only. The sensation can feel dramatic to you, but it’s usually invisible to anyone else. Mild twitching feels far more noticeable than it actually is.

Stress drives these contractions through cortisol, which stimulates your nervous system in much the same way caffeine does. That overstimulation makes the tiny muscle fibers in your eyelid fire on their own, producing the fluttering or pulsing feeling you notice. The twitches are self-limited, meaning they stop without treatment, and they typically cycle on and off for seconds to hours at a time. In some cases, they persist for days or even a few weeks before fully resolving.

Other Triggers That Stack With Stress

Stress rarely acts alone. Several other factors tend to pile on top of it, making twitching more likely or more persistent:

  • Sleep deprivation. Fatigue is one of the top triggers, and stress itself often disrupts sleep, creating a feedback loop.
  • Caffeine. Too much coffee, tea, or energy drinks overstimulates the same muscle fibers that stress activates. If you’re stressed and compensating with extra caffeine, twitching becomes much more likely.
  • Nicotine. Smoking or vaping adds another layer of stimulant activity.
  • Dry eyes. Extended screen time, contact lenses, or dry indoor air can irritate the eye surface enough to provoke twitching.
  • Physical overexertion. Intense exercise or prolonged physical strain can trigger the same kind of involuntary muscle firing.

Most episodes of eye twitching come down to being “tired or wired,” as Cleveland Clinic puts it. A combination of poor sleep, high stress, and too much caffeine is the classic recipe.

The Role of Magnesium

Low magnesium levels may play a role in eye twitching. One study published in the journal Photodiagnosis and Photodynamic Therapy found that all participants who presented with eye twitching complaints were then tested for serum magnesium, and those with low levels were grouped separately for analysis. Magnesium is essential for normal muscle function, and deficiency can make muscles throughout the body more prone to involuntary contractions. Stress itself depletes magnesium faster, which may partly explain why twitching tends to flare during high-stress periods. If you’re eating a diet low in leafy greens, nuts, and whole grains, that deficiency becomes more likely.

How to Stop the Twitching

Because eyelid myokymia is driven by lifestyle factors, the fixes are straightforward. Getting more sleep is the single most effective step. Most people find that once they get a few solid nights of rest, the twitching fades. Cutting back on caffeine helps too, especially if you’re drinking more than your usual amount during a stressful stretch.

Keeping your eyes lubricated with over-the-counter artificial tears can reduce irritation that contributes to the problem. If you spend long hours at a screen, the 20-20-20 rule (look at something 20 feet away for 20 seconds every 20 minutes) gives the muscles around your eyes regular breaks.

For stress itself, even basic interventions matter. A short walk, a few minutes of slow breathing, or simply naming the stressor and taking one concrete step to address it can lower cortisol enough to calm the twitching. The goal isn’t to eliminate stress entirely. It’s to break the cycle of stress, poor sleep, and stimulant use that keeps the muscle firing.

When Twitching Signals Something Else

Ordinary eyelid myokymia doesn’t need medical attention. But there’s a more serious form called benign essential blepharospasm, which involves sustained, forceful contractions that partially or completely close the eyelid. This condition causes real functional impairment, making it difficult to read, drive, or see normally, and it requires long-term treatment.

The key differences to watch for: ordinary twitching is a subtle flutter you can feel but others can’t see. Blepharospasm produces visible, forceful lid closure lasting seconds to hours. If twitching spreads to other parts of your face, forces your eye shut, or persists beyond a few weeks without improvement, it’s worth getting evaluated. These symptoms can occasionally point to conditions like Bell’s palsy, dystonia, or, rarely, multiple sclerosis. A straightforward eye exam and neurological check can rule these out quickly.

For the vast majority of people, though, a twitching eyelid during a stressful week is exactly what it seems: your body telling you it needs more rest and less stimulation.