Eye Always Twitching? Causes and When to Worry

A persistent eye twitch is almost always a harmless condition called eyelid myokymia, a slow, involuntary contraction of the thin muscle that circles your eyelid. It can last days, weeks, or sometimes longer, and while it feels dramatic from the inside, other people rarely notice it. The twitch happens because of faulty signaling along your facial nerve, the nerve that connects your eyelid muscles directly to your brain. Something disrupts that signal, and the muscle fires on its own in small, wavelike pulses.

The good news: the cause is almost never serious. The frustrating part is that several everyday factors can keep it going, and you may need to address more than one to finally make it stop.

Why Your Eyelid Won’t Stop Twitching

The most common triggers are stress, fatigue, and caffeine. These aren’t vague lifestyle suggestions. Each one directly affects how excitable your nerve fibers are. When you’re sleep-deprived or running on stress hormones, the threshold for your facial nerve to misfire drops. Caffeine compounds the problem by stimulating muscle contractions on its own.

What makes persistent twitching so annoying is that these triggers layer on top of each other. You’re stressed, so you sleep poorly, so you drink more coffee, so your eye twitches, which stresses you out more. Breaking any link in that chain can be enough to stop the cycle.

Screen Time and Eye Strain

If your twitch started or worsened since you began spending long hours on a computer or phone, eye strain is a likely contributor. When you look at a screen, your eyes constantly refocus to read pixels, and you blink about a third less often than normal. Some people don’t even fully close their eyelids while staring at a screen. The result is fatigued eye muscles and a dry, irritated eye surface, both of which can trigger twitching.

As little as two hours of continuous screen time per day is enough to cause symptoms of digital eye strain. The fix is straightforward: follow the 20-20-20 rule (every 20 minutes, look at something 20 feet away for 20 seconds), and make a conscious effort to blink fully. Artificial tears can help if your eyes feel dry or gritty.

Does Magnesium Actually Help?

You’ll find magnesium supplements recommended for eye twitching all over the internet. The evidence doesn’t support it. A study comparing 72 patients with eyelid twitching to 197 controls found no significant difference in magnesium levels between the two groups. Calcium and phosphate levels were also the same. Despite magnesium’s popularity as a remedy, particularly in some countries where it’s considered the primary cause, researchers have not been able to confirm a link.

That doesn’t mean electrolytes never play a role in muscle function. They do. But for the specific kind of twitching most people experience, the usual suspects of stress, caffeine, fatigue, and eye strain are far more likely culprits than a mineral deficiency.

How to Stop the Twitch

Most eyelid twitching resolves on its own once you remove the trigger. Start with the basics:

  • Cut back on caffeine. If you’re drinking more than a cup or two of coffee a day, reduce gradually and see if the twitch improves over a few days.
  • Prioritize sleep. Even one or two extra hours over a few nights can make a noticeable difference.
  • Reduce screen time or take frequent breaks during long stretches of computer work.
  • Use a warm compress. Placing a warm, damp washcloth over the affected eye and gently massaging the area relaxes the muscle and can provide immediate, temporary relief.
  • Try lubricating eye drops. If your eyes feel dry or irritated, artificial tears reduce the surface irritation that can feed the twitching cycle.

Give these changes a week or two. Most twitches that have been going for days or even a couple of weeks will wind down once the underlying triggers ease up.

When a Twitch Means Something More

Ordinary eyelid myokymia is confined to one eyelid, usually the lower one, and the movements are subtle. There are two uncommon conditions worth knowing about because they look different from the start.

Benign Essential Blepharospasm

This is a form of dystonia, not just a twitch. It typically starts as increased blinking in both eyes, often worsened by wind, sunlight, or air pollution. Over time, the spasms become forceful enough that you have trouble keeping your eyes open. It progresses gradually, over months to years, and it affects both eyes rather than just one lid. If blinking is becoming harder to control and is interfering with your ability to see, this is a different category of problem.

Hemifacial Spasm

This condition usually starts around one eye but then spreads to the cheek and mouth on the same side of the face. The spasms can’t be controlled, tend to worsen over time, and may even continue during sleep. The most common cause is a blood vessel pressing against the facial nerve. If your twitching has moved beyond your eyelid to other parts of one side of your face, that’s a clear signal to get it evaluated.

Signs That Need Medical Attention

For the vast majority of people, an eye twitch is a nuisance, not a medical problem. But certain features set apart the twitches that deserve a closer look:

  • The twitching hasn’t resolved after a few weeks.
  • Your eyelid closes completely with each twitch, or you have difficulty opening the eye.
  • The affected area feels weak or stiff.
  • Twitching has spread to other parts of your face or body.
  • Your eye is red, swollen, or producing discharge.
  • Your eyelid is drooping.

For persistent or severe cases that don’t respond to lifestyle changes, targeted injections that temporarily relax the eyelid muscle are safe and effective. Most patients who go this route need retreatment every three to four months. But the overwhelming majority of people with an annoying, persistent twitch will never need that. Better sleep, less caffeine, and fewer hours locked onto a screen typically do the job.