Most eye spasms are harmless, involuntary twitches of the eyelid muscle that stop on their own once you address the trigger. The lower eyelid is affected most often, and the twitching typically involves rapid, fine contractions pulsing at about 3 to 8 times per second. Stress, fatigue, and caffeine are the most common culprits, and in the vast majority of cases, simple lifestyle changes are all it takes to make the twitching stop.
What’s Actually Happening in Your Eyelid
The muscle responsible is the orbicularis oculi, a thin ring of muscle that wraps around your eye and controls eyelid closure. During a spasm, a single motor unit in this muscle starts firing in rhythmic or semi-rhythmic bursts. These bursts aren’t synchronized with the rest of the muscle, which is why you see that characteristic fluttering or rippling under the skin. The medical term for this is eyelid myokymia, and it almost always affects just one eye at a time.
The twitching can last anywhere from a few seconds to several days, sometimes coming and going over a few weeks. It looks dramatic from your perspective but is usually invisible to other people.
The Most Common Triggers
Eyelid myokymia is essentially your body’s signal that something is slightly off balance. The usual suspects are:
- Stress and anxiety. Stress increases muscle tension throughout the body, and the delicate eyelid muscles are particularly sensitive to it.
- Sleep deprivation. Fatigue is one of the most reliable triggers. Even a few nights of poor sleep can set off twitching that persists until you catch up on rest.
- Caffeine. Coffee, tea, energy drinks, and even chocolate can overstimulate the nervous system enough to trigger spasms. There’s no established threshold where caffeine becomes a problem; sensitivity varies from person to person.
- Screen time. Extended digital device use contributes to eye strain and reduced blinking, both of which can irritate the muscles around the eye.
- Dry eyes. When your eyes are dry or irritated, you blink more forcefully and frequently, which can fatigue the orbicularis muscle.
- Alcohol. Even moderate alcohol consumption can trigger twitching in some people.
How to Stop the Twitching
Because the most common triggers are lifestyle-related, the fix is straightforward: identify which trigger applies to you and address it. For most people, the twitching resolves within a few days to a couple of weeks once the underlying cause improves.
Cut Back on Caffeine
If you’re drinking more coffee or energy drinks than usual, try reducing your intake for a week. You don’t necessarily need to quit entirely. Dropping by one or two cups a day is often enough to see whether caffeine is the issue. Pay attention to less obvious sources too, like pre-workout supplements, certain teas, and soft drinks.
Prioritize Sleep
Aim for seven or more hours of consistent sleep. If the twitching started during a stretch of poor sleep, it will often stop within a day or two of getting back to a normal schedule. The key word is consistent. Sleeping in on weekends doesn’t compensate as well as maintaining a steady routine.
Manage Stress
This is the vaguest advice and the hardest to follow, but it matters. When stress is the driver, the twitching tends to persist until the stress eases. Physical exercise, even a 20-minute walk, is one of the most effective ways to lower baseline muscle tension. Deep breathing, meditation, and simply getting outside can all help. The Cleveland Clinic notes that myokymia often means you’re “tired or wired,” and it typically resolves once you address those states.
Give Your Eyes a Break From Screens
The commonly recommended 20-20-20 rule suggests looking at something 20 feet away for 20 seconds every 20 minutes of screen use. The evidence that this specifically reduces twitching is limited, but it does encourage blinking and relaxes the focusing muscles of the eye. More practically, reducing your total screen hours, especially in the evening, helps both eye strain and sleep quality at the same time.
Try a Warm Compress
Placing a warm, damp cloth over your closed eyelid can relax the muscle and provide immediate, temporary relief. Aim for a comfortable warmth (around 40°C or 104°F) and hold it over the eye for about 10 minutes. This also helps with dry eyes by improving the quality of your tear film. You can repeat this once or twice a day as needed.
Use Lubricating Eye Drops
If your eyes feel dry or gritty, over-the-counter artificial tears can reduce irritation that contributes to twitching. This is especially helpful if you work in air-conditioned environments or spend long hours at a screen.
Medications That Can Cause Eye Spasms
Certain prescription drugs are known to trigger eyelid spasms as a side effect. The most commonly implicated classes include antipsychotics, antihistamines, calcium channel blockers (used for blood pressure), and some antidepressants that affect serotonin and noradrenaline. Benzodiazepines and related sedatives prescribed for anxiety or insomnia can also cause twitching, which is somewhat ironic given that they’re meant to calm the nervous system.
If your eye spasms started shortly after beginning or changing a medication, that connection is worth raising with your prescriber. In documented cases, twitching resolved within two months of stopping or adjusting the responsible drug.
When Twitching Signals Something More Serious
Benign eyelid myokymia is by far the most common type of eye spasm, but there are two conditions that look different and need medical attention.
Blepharospasm involves both eyes and causes forceful, sustained squeezing of the eyelids rather than a gentle flutter. It can make it difficult to keep your eyes open and often involves the muscles of the forehead and brow. It tends to worsen over time rather than coming and going.
Hemifacial spasm starts with twitching around one eye but gradually spreads to involve the cheek, mouth, and other muscles on the same side of the face. It’s caused by a blood vessel pressing on the facial nerve where it exits the skull. Unlike benign twitching, hemifacial spasm can persist during sleep.
You should get an evaluation if your twitching lasts longer than a few weeks without improvement, affects both eyes simultaneously, causes your eyelid to close completely, or spreads to other parts of your face.
Treatment for Persistent Spasms
For blepharospasm or hemifacial spasm that doesn’t respond to lifestyle changes, botulinum toxin injections are the standard treatment. Small amounts are injected into several sites around the eye, typically starting at 5 to 7 injection points. The effects usually appear within 48 hours, and response rates are around 95 to 98 percent. About half of patients experience complete elimination of spasms, while most of the rest see a reduction to tolerable levels.
The injections aren’t permanent. They typically need to be repeated every three to four months, and doses sometimes need to increase over time. The most common side effect is a temporary drooping of the eyelid, which occurred in about 6 percent of patients in one study and resolved within two weeks. This treatment is reserved for the more serious forms of eye spasm, not for ordinary eyelid twitching, which almost always resolves on its own.

