Doctors Note Logo

Published on: 9/24/2026

What causes my eyelid to twitch?

Eyelid twitching, known as myokymia, is most commonly caused by stress, lack of sleep, excess caffeine, eye strain, dry eyes, allergies, or low levels of nutrients such as magnesium, though there are several factors to consider and important details below. Most twitches are harmless and resolve within days, but spasms that force the eye fully shut, spread to other parts of the face, or persist for weeks can point to blepharospasm, hemifacial spasm, or an underlying nerve or medication-related issue. Certain triggers like alcohol, bright light, wind, screen overuse, and eye irritation can also set it off or make it worse. See the full explanation below for the specific warning signs that warrant medical attention and the self-care steps that usually help.

Because eyelid twitching has many possible causes ranging from simple fatigue to neurological conditions, the fastest way to narrow down what is happening to you is a free, instant, online symptom check that reviews your symptoms and helps you decide whether to watch and wait or see a doctor.

Last reviewed for medical accuracy: 09/24/2026

answer background

Explanation

What Causes My Eyelid to Twitch?

Eyelid twitches—sometimes called myokymia—are involuntary, repetitive spasms of the eyelid muscles. You might notice your upper or lower lid jumping briefly, often without pain. Many people wonder, “why is under my eye twitching?” In most cases, it’s harmless and goes away on its own. This guide explains common triggers, when to consider medical help, and easy steps to calm the twitch.

What Is Eyelid Twitching?

  • Myokymia: A benign, involuntary spasm of the eyelid muscle, usually lasting seconds to minutes.
  • Location: Can involve the upper or lower lid. When it happens below the eye, you may think, “why is under my eye twitching?”
  • Duration: Short-lived (minutes to hours) or recurrent over days.

Common Causes

Eyelid twitching often relates to lifestyle and environmental factors. Understanding these can help you reduce or prevent the spasms.

1. Stress and Anxiety

  • Emotional stress or worry can trigger muscle tension, including in the eyelid.
  • Practice relaxation: deep breathing, meditation, or gentle stretching.

2. Fatigue and Lack of Sleep

  • Overtired eyes are more prone to twitching.
  • Aim for 7–9 hours of quality sleep each night to let muscles rest.

3. Caffeine and Stimulants

  • Coffee, tea, energy drinks, and some sodas can overstimulate nerves.
  • Cut back or switch to decaf/decaffeinated options.

4. Eye Strain

  • Prolonged screen time (computers, phones, tablets) can overwork eyelid muscles.
  • Follow the 20-20-20 rule: every 20 minutes, look at something 20 feet away for 20 seconds.

5. Dry Eyes

  • Dryness irritates the surface of the eye and neighboring muscles.
  • Use over-the-counter lubricating eye drops.

6. Nutritional Factors

  • Low magnesium or potassium levels may affect muscle function.
  • Eat a balanced diet; green leafy vegetables, nuts, seeds, and whole grains support muscle health.

7. Alcohol and Tobacco

  • These can dehydrate and irritate your body, including eye tissues.
  • Moderation or avoidance may reduce twitch episodes.

8. Allergies and Irritants

  • Pollen, dust, smoke, or strong odors can trigger reflexive eye twitches.
  • Manage allergies with antihistamines or by limiting exposure.

Less Common but Serious Causes

Most eyelid twitches are harmless, yet persistent or severe twitching may signal a more serious issue.

Blepharospasm

  • Description: Involuntary, forceful eye closure.
  • Signs: More intense than simple twitching; can interfere with vision.

Hemifacial Spasm

  • Description: Twitching on one side of the face, sometimes starting at the eyelid.
  • Action: Consult a neurologist if spasms spread beyond the eyelid.

Neurological Conditions

  • Rarely, conditions like multiple sclerosis, Parkinson’s disease, or Bell’s palsy involve eyelid twitching.
  • Look out for: muscle weakness elsewhere, changes in sensation, or coordination issues.

When to Worry

Most eyelid twitches resolve within days or weeks. See a doctor if you experience:

  • Twitching that lasts more than two weeks
  • Eyelid “clamping” shut or intense spasms
  • Redness, swelling, discharge, or pain in the eye
  • Drooping of the eyelid (ptosis)
  • Changes in vision, double vision, or light sensitivity
  • Twitching spreading to other facial muscles

If you have any of these signs, speak to a doctor to rule out underlying conditions.

Tips to Stop Your Eyelid Twitch

You can often calm a twitching eyelid with these simple steps:

  • Prioritize Rest
    • Ensure adequate, regular sleep.
    • Take short breaks during long work or screen sessions.

  • Limit Stimulants
    • Reduce caffeine and energy drink intake.
    • Avoid nicotine and excess alcohol.

  • Manage Stress
    • Practice deep breathing, progressive muscle relaxation, or yoga.
    • Schedule downtime for hobbies or walks.

  • Protect Your Eyes
    • Use artificial tears if your eyes feel dry or irritated.
    • Blink consciously and frequently, especially during screen use.
    • Adjust lighting to reduce glare.

  • Warm Compress
    • Apply a warm, damp cloth to your closed eyelid for 5–10 minutes.
    • Helps relax the muscle and improve blood flow.

  • Nutrition and Hydration
    • Stay hydrated—drink water throughout the day.
    • Include magnesium-rich foods (spinach, almonds, avocado).

  • Cold Compress (If Irritated)
    • A cool, damp cloth can soothe an irritated eye and slow twitching.

Free, Online Symptom Check

If you’re unsure what’s behind your twitching or want personalized guidance, try a free, online symptom check, using the doctor approved Ubie Symptom Checker. It’s fast, confidential, and can help you decide whether to seek medical care:
free, online symptom check, using the doctor approved Ubie Symptom Checker

When to Seek Medical Help

Eyelid twitching is usually harmless, but persistent or worsening symptoms deserve professional evaluation. Contact your doctor if:

  • Twitching persists beyond two weeks despite lifestyle changes
  • You experience vision changes, severe pain, or eye discharge
  • Spasms spread to other parts of your face or body
  • You feel weakness, numbness, or difficulty speaking or swallowing

Your healthcare provider can perform an eye exam, review your medical history, and order tests if needed.

Final Thoughts

Eyelid twitches can be irritating, but they’re almost always benign. By adjusting sleep, stress, diet, and screen habits, you can often stop or prevent twitching. Remember: if your symptoms are severe, persistent, or accompanied by other warning signs, speak to a doctor right away. Staying informed and proactive is the best way to keep your eyes—and the rest of you—healthy.

(References)

  • * Ashizawa T, Patten BM, Jankovic J. Meige's syndrome. South Med J. 1980 Jul;73(7):863-6. doi: 10.1097/00007611-198007000-00009. PMID: 7384844.

  • * Gautam P, Bhatia MS, Kaur J, Rathi A. Meige's syndrome. Ind Psychiatry J. 2016 Jul-Dec;25(2):232-233. doi: 10.4103/0972-6748.207853. PMID: 28659707; PMCID: PMC5479101.

  • * Masood W, Lui F, Sitammagari KK. Morvan Syndrome. 2024 Jan. PMID: 29939664.

  • * Zeppieri M, Ameer MA, Jahngir MU, Patel BC. Meige Syndrome. 2024 Jan. PMID: 30020730.

  • * Jafer Chardoub AA, Patel BC. Eyelid Myokymia. 2023 Jan. PMID: 32809430.

  • * Fagan M, Scorr L, Bernhardt D, Hess EJ, Perlmutter JS, Pardo CA, Jinnah HA. Neuropathology of blepharospasm. Exp Neurol. 2021 Dec;346:113855. doi: 10.1016/j.expneurol.2021.113855. 2021 Aug 28. PMID: 34464652; PMCID: PMC8490317.

  • * Nikoghosyan-Bossen G, Bork KH, Bloch SL. Tinnitus caused by essential palatal tremor. Ugeskr Laeger. 2023 Sep 4;185(36). PMID: 37767868.

  • * Saeirad S, LeDoux MS. TOR2A Variants in Blepharospasm. Tremor Other Hyperkinet Mov (N Y). 2023;13:44. doi: 10.5334/tohm.825. 2023 Dec 8. PMID: 38076033; PMCID: PMC10705022.

  • * Koptielow J, Szyłak E, Szewczyk-Roszczenko O, Roszczenko P, Kochanowicz J, Kułakowska A, Chorąży M. Genetic Update and Treatment for Dystonia. Int J Mol Sci. 2024 Mar 22;25(7). doi: 10.3390/ijms25073571. 2024 Mar 22. PMID: 38612382; PMCID: PMC11011602.

  • * Baizabal-Carvallo JF, Jankovic J. Tardive blepharospasm. J Neurol. 2026 Aug 10;273(9). doi: 10.1007/s00415-026-14038-y. 2026 Aug 10. PMID: 42572102.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.