Why Has My Eye Been Twitching for Days? Causes & Fixes

An eye that won’t stop twitching for days is almost always a condition called eyelid myokymia, a harmless but annoying involuntary flutter of the tiny muscle that controls your eyelid. It’s typically triggered by one or more lifestyle factors you can address on your own. Most cases resolve within a few days to a few weeks once the underlying trigger is removed, though some stubborn episodes can linger longer.

What’s Actually Happening in Your Eyelid

Your eyelids are controlled by a muscle called the orbicularis oculi, which connects to your brain through the facial nerve. When something disrupts the normal signaling along this nerve pathway, the muscle starts firing on its own in small, rapid contractions. You can usually feel these twitches clearly, and sometimes see them in a mirror, but they’re rarely noticeable to anyone else. The twitching is almost always on one side only, and the contractions are irregular and asynchronous, meaning the muscle fibers aren’t all firing together in a coordinated spasm.

The Most Likely Triggers

Cleveland Clinic lists the most common causes of eyelid myokymia as:

  • Sleep deprivation or fatigue: This is the single most frequent culprit. Even a few nights of poor sleep can be enough to set off days of twitching.
  • Stress: Physical or emotional stress increases nerve excitability throughout your body, and the facial nerve is particularly sensitive to it.
  • Caffeine: Especially in excess. If you’ve recently increased your coffee, tea, or energy drink intake, that’s a likely contributor.
  • Nicotine use: Stimulants of any kind can aggravate nerve signaling.
  • Dry eyes: When the surface of your eye dries out, the surrounding muscles work harder, increasing the chance of misfiring.

Most people dealing with a multi-day twitch have at least two of these factors happening simultaneously. A stressful week at work combined with extra coffee and less sleep is the classic recipe.

Screen Time Makes It Worse

If you spend hours on a computer, tablet, or phone, you’re creating ideal conditions for persistent twitching. The American Optometric Association identifies digital eye strain as a major source of dry eyes, largely because people blink significantly less while staring at screens. Reduced blinking dries out the eye surface, which fatigues the muscles around your eyelid. Add the mental fatigue from concentrated screen work, and you’ve got two triggers feeding each other. Making a conscious effort to blink more often and taking regular breaks from your screen can help break the cycle.

Does Magnesium Actually Help?

You’ll find plenty of advice online telling you to take magnesium supplements for eye twitching. The evidence for this is weak. A study that analyzed blood levels of magnesium, calcium, and phosphate in people with eyelid myokymia found no significant differences between people who had twitching and those who didn’t. The researchers concluded that eyelid myokymia is not related to serum magnesium levels. If you already have a well-rounded diet, a magnesium deficiency is unlikely to be the reason your eye is twitching. That said, if you know your diet is lacking in minerals, correcting that won’t hurt, but don’t expect it to be a quick fix for the twitch itself.

How to Stop the Twitching

Since most cases are driven by lifestyle factors, the fix is straightforward but requires patience. Start by addressing whatever triggers apply to you: get more sleep, cut back on caffeine, and find ways to reduce stress. These changes won’t stop the twitch instantly, but they shorten how long the episode lasts.

For immediate relief, placing a warm, damp washcloth over your closed eye and gently massaging the area can relax the muscle and temporarily quiet the twitching. The warmth helps because the contractions are essentially a muscle spasm, and muscles respond to heat the same way they do elsewhere in your body. You can repeat this as often as you’d like throughout the day.

If dry eyes are part of the problem, over-the-counter lubricating eye drops (artificial tears) can help restore moisture to the eye surface and reduce the strain on surrounding muscles.

When Twitching Signals Something More Serious

In rare cases, persistent twitching is an early sign of a more significant neurological condition. Two conditions worth knowing about:

Benign essential blepharospasm starts out looking a lot like ordinary twitching but progresses over time into forceful, frequent spasms that can temporarily squeeze both eyes shut. The key difference is that blepharospasm affects both eyes simultaneously with synchronized contractions, while common myokymia is one-sided and irregular. Blepharospasm can also involve twitching of other facial muscles beyond the eyelids.

Hemifacial spasm sometimes begins with eyelid twitching on one side but gradually spreads to involve the entire half of the face, including the cheek, mouth, and jaw. It’s caused by a blood vessel or, rarely, a tumor pressing on the facial nerve. Both of these conditions can be treated effectively with injections that temporarily relax the overactive muscles.

If your twitching has spread beyond the eyelid, affects both eyes with forceful closure, has lasted longer than a few weeks despite addressing your triggers, or is accompanied by drooping, redness, swelling, or discharge, it’s worth getting evaluated. For the vast majority of people, though, a twitching eye that’s been going on for a few days is simply your body telling you to sleep more, stress less, and maybe skip that third cup of coffee.