Doctors Note Logo

Published on: 7/21/2026

What are the possible causes of eye twitching?

Eye twitching, medically known as myokymia, is typically harmless and often triggered by everyday factors like stress, fatigue, eye strain, excessive caffeine, or dry eyes. In most cases, it resolves on its own with rest and lifestyle adjustments. However, persistent or severe twitching can occasionally signal underlying health conditions such as nerve disorders, magnesium deficiency, or dry eye syndrome that may require medical attention.

Because eye twitching has so many possible causes—ranging from minor to more serious—it's worth understanding what's driving your specific symptoms rather than guessing. A free, instant, AI-powered symptom check can help you assess your situation in minutes, identify likely causes based on your unique profile, and guide your next steps—whether that's simple self-care or seeing a doctor.

Reviewed for medical accuracy: 07/20/2026

answer background

Explanation

Eye twitching, or myokymia, is the involuntary, repetitive spasm of the eyelid muscles. Common causes include:

Stress and fatigue: Lack of sleep or high stress levels often trigger twitching. Eye strain: Long hours looking at screens or needing vision correction can cause eye muscle fatigue. Caffeine or alcohol: Excess intake may lead to muscle spasms. Dry eyes: Insufficient tear production or irritation can trigger twitching. Nutritional imbalances: Deficiencies in magnesium or other nutrients may contribute. Allergies: Eye irritation from allergies can cause twitching.

Rarely, persistent twitching could be related to neurological disorders. If twitching lasts longer than a few weeks or is accompanied by other symptoms like facial spasms or vision changes, you can use Ubie's free AI symptom checker to help identify potential causes and determine whether you should see a healthcare provider.

(References)

  • Gunes IB. (2024). Association Between Eyelid Twitching and Digital Screen .... Cureus, 39282492.

  • Lee SY, & Lai SC. (2017). Clinical and Electrophysiological Analysis of Chronic .... Acta neurologica Taiwanica, 30315563.

  • Khalkhali M. (2016). Topiramate-Induced Persistent Eyelid Myokymia. Case reports in psychiatry, 27293943.

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.