Eye twitching is usually caused by harmless, short-lived spasms of the tiny muscles in your eyelid, most often triggered by things like stress, tiredness, caffeine, or eye strain.

What’s actually happening?

When your eye “twitches,” the muscles in your eyelid are having tiny, involuntary spasms (doctors often call this myokymia).

These spasms can last seconds to minutes and may come and go over days or weeks, often affecting just one eye.

It feels dramatic, but most twitches are far more noticeable to you than to anyone looking at you.

Common everyday triggers

Most eye twitching comes from normal life stresses rather than serious disease.

Very common causes:

  • Stress or anxiety (work pressure, exams, big life changes).
  • Fatigue or not getting enough sleep.
  • Too much caffeine (coffee, energy drinks, strong tea) or sometimes alcohol.
  • Eye strain, especially from long hours on screens, reading, or driving.
  • Dry eyes, which are common in people who use screens a lot, wear contact lenses, or are middle-aged or older.
  • Environmental irritants such as wind, bright light, smoke, or air pollution.
  • Exercise or physical overexertion (especially when you’re also tired or dehydrated).

Lifestyle and medication factors:

  • Smoking or exposure to tobacco smoke.
  • Some medications, including certain mental health or neurological drugs (for example, some Parkinson’s medicines and a few others like topiramate or clozapine), can list eye twitching as a side effect.

Eye problems that can trigger twitching

Sometimes the twitch is your eyelid’s response to irritation in or around the eye.

  • Eye irritation or a scratch on the surface of the eye (corneal abrasion).
  • Blepharitis (inflamed, crusty, or irritated eyelids).
  • Conjunctivitis (“pink eye”).
  • Uveitis (inflammation inside the eye).
  • Light sensitivity of any cause.

If these are present, you might also notice redness, discharge, pain, or a feeling of grit in the eye.

Vitamin or mineral issues

  • Magnesium deficiency can cause muscle twitches in general, and eyelid twitching is thought to sometimes be part of that picture.
  • Other nutrients like calcium, vitamin D, or B12 are often discussed online, but there’s not strong research proving they commonly cause eye twitching by themselves.

A clinician can check for deficiencies if your twitching is persistent and your lifestyle triggers don’t explain it.

When it’s something more serious (rare)

Most twitching is benign, but in a small minority of people it’s linked to neurological or movement disorders.

Less common conditions involving twitching:

  • Benign essential blepharospasm: more forceful, frequent blinking or closing of both eyes, which can interfere with vision.
  • Hemifacial spasm: twitching that involves not just the eyelid but also other muscles on one side of the face.
  • Neurological conditions such as Parkinson’s disease, multiple sclerosis, dystonia, Tourette syndrome, Meige syndrome, or prior stroke/brain injury affecting certain brain areas. These almost always come with other symptoms (movement problems, facial weakness, speech issues, etc.).

If eye twitching was caused by these disorders, it would nearly never be the only symptom you notice.

Simple ways to calm eye twitching

While you asked about causes, it helps to know that many causes are under your control.

  • Rest and sleep: Aim for consistent, adequate sleep; take screen breaks using “20-20-20” (every 20 minutes, look 20 feet away for 20 seconds).
  • Cut back on stimulants: Reduce caffeine and avoid excess energy drinks; moderate alcohol.
  • Manage stress: Relaxation breathing, short walks, or stretching can lessen stress-related twitching.
  • Soothe the eyes: Use lubricating eye drops for dryness, blink more often at screens, and avoid smoke or strong wind when possible.
  • Check your glasses/screen setup: Uncorrected vision or poor ergonomics can increase eye strain and twitching.

Most people see their twitch resolve within days to weeks once triggers are addressed.

When to see a doctor

You should get medical advice promptly if:

  1. The twitching lasts continuously for weeks or keeps coming back over months.
  2. The eye actually closes or spasms so strongly that it affects your ability to keep it open.
  3. Twitching spreads to other parts of your face (cheek, mouth, or half your face).
  4. You have redness, pain, discharge, or vision changes along with the twitching.
  5. You are on medications known to affect the nervous system and notice new or worsening spasms.

A specialist can rule out rare causes and offer treatments like medications or botulinum toxin injections when needed.

TL;DR:
Most eye twitching comes from everyday things like stress, tiredness, caffeine, eye strain, or dryness, and it usually settles on its own once those triggers are managed. Serious neurological causes are possible but rare and typically come with other, more obvious symptoms.

Information gathered from public forums or data available on the internet and portrayed here.