That fluttering sensation under your eye is almost certainly eyelid myokymia, a harmless involuntary twitch of the muscle that controls eyelid closure. It’s one of the most common muscle twitches people experience, and the lower lid is the usual spot. The twitch feels dramatic from the inside but is rarely visible to anyone else, and it typically resolves on its own within days to a few weeks.
What’s Happening Inside Your Eyelid
A thin, flat muscle called the orbicularis oculi wraps around your entire eye socket and is responsible for closing your eyelids. During a twitch, a single motor unit within this muscle starts firing in rapid, rhythmic bursts at roughly 3 to 8 pulses per second. These tiny contractions ripple across a small section of muscle fiber, creating that distinctive fluttering you feel just beneath the skin. The firing is spontaneous, meaning it isn’t triggered by you trying to blink or move your face. It just starts on its own.
The lower lid is particularly prone to this because its portion of the orbicularis oculi is thinner and closer to the surface, making even slight misfiring of nerve signals noticeable. The twitching can last a few seconds, come and go over hours, or persist intermittently for days.
The Most Common Triggers
Eyelid myokymia is strongly linked to a short list of everyday factors. The usual suspects are stress, sleep deprivation, caffeine, and eye strain. These don’t cause structural damage to the nerve or muscle. They simply lower the threshold for spontaneous nerve firing, making it easier for that small motor unit to start misfiring on its own.
Caffeine is one of the most reliable triggers. It’s a stimulant that increases nerve excitability throughout your body, and the fine muscles around the eye seem especially sensitive. The FDA puts the safe ceiling at about 400 mg per day (roughly four to five standard cups of coffee), but some people develop twitches well below that threshold, particularly when combined with poor sleep.
Fatigue plays a direct role because sleep is when your muscles fully recover from the day’s contractions. Without enough rest, the orbicularis oculi doesn’t get adequate downtime, and the result is an irritable muscle that fires when it shouldn’t. Stress works through a similar pathway, keeping your nervous system in a heightened state that makes spontaneous muscle activity more likely. Alcohol and nicotine are also recognized triggers.
Why Screen Time Makes It Worse
If your twitch started during a long stretch of computer work, there’s a clear mechanism behind it. Screens expose your eyes to more light intensity than most natural environments. In response, the orbicularis oculi contracts slightly to narrow the eyelid opening and reduce the amount of light reaching your pupil. This is semi-automatic, and you probably don’t notice it happening.
At the same time, your blink rate drops significantly when you’re focused on a screen. Normal blinking gives the orbicularis oculi a rhythmic cycle of contraction and relaxation. When blinking slows down, the muscle stays partially contracted for longer periods without getting its usual rest breaks. This combination of sustained low-level contraction and insufficient relaxation appears to be why prolonged screen time correlates with longer and more frequent twitching episodes.
Dry eyes compound the problem. Reduced blinking means less tear film spread across the cornea, and eye surface irritation is itself a trigger for reflexive twitching.
What About Magnesium?
You’ll find magnesium supplements recommended for eye twitches across the internet, but the evidence doesn’t support the connection. A study that specifically tested whether low magnesium levels were linked to eyelid myokymia found no significant difference in serum magnesium, calcium, or phosphate between people with twitches and people without them. The belief that magnesium deficiency causes eye twitching is widespread (especially in some countries) but remains unproven. That said, most people don’t get enough magnesium in their diet regardless, so supplementation isn’t harmful. Just don’t expect it to be a reliable fix for the twitch.
How to Stop the Twitch
Since the most common triggers are lifestyle-related, the remedies are straightforward. Start with sleep: aim for at least seven hours per night, and if you’ve been running a deficit, a few nights of good rest often resolves the twitch entirely.
Cut back on caffeine, especially if you’re above two or three cups of coffee daily. You don’t necessarily need to eliminate it, but reducing intake for a week can reveal whether caffeine is your trigger.
For screen-related twitching, follow the 20-20-20 rule: every 20 minutes, look at something about 20 feet away for 20 seconds. This gives the orbicularis oculi a chance to relax and restores a more natural blink pattern. Artificial tears can also help by keeping the eye surface lubricated, reducing irritation-driven twitching.
A warm washcloth held gently over the affected eye can relax the muscle and provide immediate, temporary relief. Light massage over the twitching area works similarly. For stress, even simple techniques like box breathing (inhale for four seconds, hold four seconds, exhale four seconds, hold four seconds) can lower nervous system arousal enough to make a difference.
When a Twitch Signals Something Else
The vast majority of lower eyelid twitches are benign myokymia and resolve within a few weeks. But there are a few distinct conditions that start with eye twitching and warrant attention.
Benign essential blepharospasm involves involuntary spasms of the muscles around both eyes. Unlike simple myokymia, these spasms are stronger, affect both sides, and get worse with bright light or stress rather than resolving with rest. Over time, the spasms can become forceful enough to temporarily close both eyes. This is a neurological movement disorder, not just a tired muscle.
Hemifacial spasm causes involuntary contractions on one side of the face, often starting near the eye and gradually involving the cheek and mouth. It’s typically caused by a blood vessel pressing on a facial nerve. Unlike myokymia, hemifacial spasm continues during sleep and may be accompanied by a low-pitched ringing in the ear on the affected side.
The Mayo Clinic recommends seeing a doctor if your twitch hasn’t resolved within a few weeks, if your eyelid closes completely with each twitch, if twitching spreads to other parts of your face, if the area feels weak or stiff, if you have trouble opening the eye, or if you notice redness, swelling, discharge, or drooping of the eyelid. Any of these patterns suggests something beyond ordinary myokymia.

