Why Does My Eyelid Keep Twitching? Causes, Treatments and Science-Backed Solutions
An eyelid twitch, medically known as eyelid myokymia, is one of the most common involuntary muscle spasms.
Although it can be irritating, it is usually harmless and often disappears within a few days or weeks.
The most common causes include stress, fatigue, lack of sleep, excessive caffeine, dry eyes, and prolonged screen use. Less commonly, persistent eyelid twitching may indicate an underlying neurological disorder.
Common Symptoms
People often describe:
- Twitching of one eyelid
- Fluttering sensation
- Repeated spasms
- Intermittent twitching
- Symptoms worse in the evening
- Twitching that increases during stress
Usually, only one eye is affected.
Why Does My Eyelid Keep Twitching?
Stress (Most Common Cause)
Stress is the leading trigger.
Stress hormones increase nerve excitability, making small facial muscles more likely to contract involuntarily.
Many people notice twitching during:
- Busy work periods
- Emotional stress
- Anxiety
- Exams
- Poor sleep
Lack of Sleep
Insufficient sleep affects normal nerve function.
After several nights of poor sleep, the tiny muscles controlling the eyelids may begin twitching.
People working:
- Night shifts
- Long hours
- Rotating schedules
commonly experience eyelid twitching.
Too Much Caffeine
Caffeine stimulates the nervous system.
Large amounts from:
- Coffee
- Energy drinks
- Strong tea
- Pre-workout supplements
may trigger eyelid twitching in susceptible individuals.
Eye Strain
Extended use of:
- Computers
- Smartphones
- Tablets
reduces blinking and increases muscle fatigue.
Eye strain has become increasingly common with prolonged screen time.
The 20-20-20 rule may help:
Every 20 minutes, look at something 20 feet (6 meters) away for 20 seconds.
Dry Eyes
Dry eye syndrome commonly affects:
- Adults over 50
- Contact lens wearers
- Computer users
Symptoms include:
- Burning
- Grittiness
- Blurred vision
- Watery eyes
- Twitching
Artificial tears often improve symptoms.
Allergies
Eye allergies cause inflammation and frequent rubbing.
This may trigger muscle spasms around the eyelid.
Certain Medications
Some medications may occasionally contribute to eyelid twitching.
Examples include:
- Stimulants
- ADHD medications
- Certain antidepressants
- Some asthma medications
Do not stop prescribed medication without discussing it with your healthcare provider.
Can Vitamin Deficiencies Cause Eyelid Twitching?
Vitamin deficiencies are not among the most common causes, but they may contribute in some individuals.
Magnesium
Magnesium supports:
- Muscle relaxation
- Normal nerve function
- Electrolyte balance
Although magnesium is frequently recommended online, research does not show that it is a common treatment for eyelid twitching unless a true deficiency exists.
Vitamin B12
Vitamin B12 deficiency primarily affects nerves.
Possible symptoms include:
- Tingling
- Numbness
- Balance problems
- Fatigue
Eyelid twitching alone is unlikely to be caused by vitamin B12 deficiency.
Potassium
Severe potassium deficiency may cause:
- Muscle weakness
- Muscle cramps
- Muscle twitching
However, mild eyelid twitching is rarely caused by low potassium alone.
Less Common Causes
Benign Essential Blepharospasm
This is a neurological condition causing repeated involuntary eyelid closure.
Unlike simple eyelid twitching, symptoms are:
- Stronger
- More frequent
- Often affect both eyes
Hemifacial Spasm
This condition affects one side of the face.
Twitching may spread from the eyelid to:
- Cheek
- Mouth
- Jaw
Neurological assessment is recommended.
Multiple Sclerosis (Rare)
Occasionally facial muscle twitching may occur alongside:
- Vision problems
- Weakness
- Balance difficulties
- Numbness
This is uncommon.
When Should I See a Doctor?
Medical evaluation is recommended if:
- Twitching lasts longer than 3–4 weeks
- The eye completely closes during spasms
- Twitching spreads to other facial muscles
- You develop double vision
- The eyelid droops
- You experience weakness, numbness, or speech changes
How Can I Stop Eyelid Twitching?
Get Enough Sleep
Aim for 7–9 hours of sleep each night.
Reduce Stress
Helpful strategies include:
- Walking
- Yoga
- Meditation
- Deep breathing
- Regular exercise
Reduce Caffeine
Gradually lowering caffeine intake often improves symptoms.
Rest Your Eyes
Follow the 20-20-20 rule during prolonged screen use.
Treat Dry Eyes
Artificial tears may reduce irritation and muscle spasms in people with dry eye syndrome.
Supplements That May Support Normal Nerve and Muscle Function
Magnesium Glycinate
May be appropriate for people with:
- Low dietary magnesium intake
- Muscle cramps
- Confirmed deficiency
Evidence for eyelid twitching specifically remains limited.
Vitamin B12
Recommended when deficiency has been confirmed or in people at increased risk, including:
- Vegans
- Older adults
- Long-term metformin users
- People taking proton pump inhibitors
Omega-3 Fatty Acids
Omega-3 supplements may help improve dry eye symptoms in some individuals, which may indirectly reduce irritation-related eyelid twitching.
Amazon Recommendations
Best Magnesium Glycinate
- Doctor’s Best High Absorption Magnesium
- NOW Magnesium Glycinate
- Pure Encapsulations Magnesium Glycinate
Best Vitamin B12
Best Omega-3
Best Artificial Tears
- Refresh Tears
- Systane Ultra
- Blink Tears
- Refresh Optive
Why does my eyelid keep twitching for days?
Persistent eyelid twitching is commonly related to stress, lack of sleep, caffeine, or eye strain. Most cases improve within several days to a few weeks.
Can stress cause eyelid twitching?
Yes.
Stress is one of the most common causes of eyelid myokymia.
Can low magnesium cause eyelid twitching?
Severe magnesium deficiency can affect muscle function, but most cases of eyelid twitching are not caused by magnesium deficiency.
Can caffeine make my eyelid twitch?
Yes.
Large amounts of caffeine may overstimulate nerves and muscles, increasing the likelihood of eyelid twitching.
Is eyelid twitching a sign of a neurological disease?
Usually not.
Most eyelid twitching is harmless. Persistent twitching involving other facial muscles or accompanied by weakness, vision changes, or difficulty speaking should be medically evaluated.
Does screen time cause eyelid twitching?
Yes.
Long periods of computer or smartphone use can contribute through eye strain and reduced blinking.
When should I worry?
Seek medical advice if twitching:
-Lasts more than one month
-Closes the eye completely
-Spreads to the face
-Occurs with weakness or visual symptoms
Clinical Considerations
Most eyelid twitching is benign and resolves without treatment. Stress reduction, adequate sleep, limiting caffeine, managing screen time, and treating dry eyes are often the most effective approaches.
Persistent or progressive symptoms, particularly when associated with facial weakness, eyelid closure, or neurological signs, require medical evaluation.
Related Guides
- Why Do My Hands Shake?
- Why Do My Hands Go Numb at Night?
- Why Is My Neck Stiff and Painful?
- Why Am I So Forgetful Lately?
- Best Supplements for Energy
- Magnesium: Benefits, Types and Dosage
- Vitamin B12 Deficiency: Symptoms and Causes
- Omega-3: Benefits and Dosage
References
- American Academy of Ophthalmology. Eyelid Myokymia.
- Cleveland Clinic. Eye Twitching: Causes and Treatment.
- Mayo Clinic. Eye Twitching Overview.
- National Eye Institute (NEI). Dry Eye Information.
- National Institutes of Health (NIH). Office of Dietary Supplements – Magnesium Fact Sheet.
- National Institutes of Health (NIH). Office of Dietary Supplements – Vitamin B12 Fact Sheet.
- PubMed. Benign Eyelid Myokymia: Clinical Review.
- American Optometric Association. Computer Vision Syndrome.

