Does Your Eye Twitch When You Have a Headache?

An eye twitch (myokymia) is a benign condition that causes involuntary spasms of the eyelid.

An eye twitch is common and can be brought on by certain triggers, such as lack of sleep, caffeine, stress, and allergies. These triggers can also cause headaches.

This article will discuss common causes of eyelid twitching, why it may occur with a headache, and how to treat it.

man rubbing eye


Causes of Eyelid Twitching and Headaches

There are two types of headaches that can cause eye twitching: Migraines and cluster headaches.


A migraine is a severe type of headache, technically classified as a neurological disease, that affects more than 39 million Americans. Symptoms of migraines include:

  • Moderate to severe head pain that interferes with daily functioning
  • Intense pain on one side of the head, both sides, in the front or back of the head, or around the eyes
  • Head throbbing or pounding
  • Head pain that worsens with movement and physical activity
  • Nausea and vomiting
  • Sensitivity to light
  • Aura, flashes of light, blind spots, shapes, or bright spots that can cause blurred vision or loss of vision

These symptoms can last from four hours to several days and can result in eyelid twitching, especially if aura is present. 

Because there is no test used for migraines, a diagnosis can be difficult to make and sometimes missed. Talking with your healthcare provider about the type, severity, duration, and frequency of your symptoms can help determine an appropriate diagnosis.

Cluster Headache

Cluster headaches also referred to as Horton’s syndrome, cause a series of intense, cyclically occurring headaches, with each one lasting between one and three hours. Cluster headaches can occur every day and at multiple times. They often are linked to a sudden release of histamine or serotonin, or triggers like bright lights, exercise, heat, and alcohol use.

Symptoms of cluster headaches include:

  • Sudden onset of pain around or behind the eyes
  • Pain that builds in intensity within 10–15 minutes
  • Restlessness or agitation
  • Red or watering eyes
  • Nasal congestion
  • Eyelid drooping, swelling, or twitching

Other Causes of Eye Twitching

Mild eye twitching often occurs in response to:

  • Stress
  • Eye strain from prolonged reading or screen use with televisions, computers, tablets, and cell phones
  • Certain medications
  • Caffeine 
  • Dry or irritated eyes
  • Lack of sleep

These underlying causes may or may not also cause a mild headache.

How Long It Lasts

Benign eye twitching typically only lasts for a few days and resolves on its own. The twitching is often intermittent throughout the day, with periods of rest in between one or a few spasms of the eyelid. 

Eye twitching is rarely continuous throughout the day without stopping. Eye twitching that occurs with headaches often lasts until the headache symptoms resolve.

If eye twitching becomes worse or does not go away after one week, you may have a more serious medical condition causing eyelid spasms, tics, or tremors. Potential causes of ongoing eye twitching include:


Eye twitching typically goes away on its own without treatment. You can decrease symptoms by getting more sleep, decreasing caffeine intake, avoiding exposure to bright lights and prolonged use of screens, and keeping your eyes moist with eye drops.

What's more, alleviating headache symptoms can help decrease eye twitching, and managing many of the triggers that can cause eye twitching can also help decrease the occurrence of headaches.

Medication used to treat headaches, including migraines and cluster headaches, consists of:

  • Nonsteroidal anti-inflammatory drugs (NSAIDs) and pain-relieving medications like Advil or Motrin (ibuprofen), Aleve (naproxen), and aspirin, or high-dose Tylenol (acetaminophen) to treat acute headaches and migraines
  • Migraine prevention medications like Atacand (candesartan), Micardis (telmisartan), Zestril (lisinopril), Topamax (topiramate), Inderal (propranolol), Aimovig (erenumab), Ajovy (fremanezumab), and Emgality (galcanezumab)
  • Medications like galcanezumab and triptans to reduce cluster headaches 

Injections of Botox (botulinum toxin), magnesium supplementation, high dose oxygen supplementation, and noninvasive vagus nerve stimulation may also be used to treat severe and ongoing headaches.

Underlying conditions causing eye twitching need to be treated and managed first to see any improvement. If severe or chronic eye twitching is unrelated to any neurological or eye condition, small Botox injections can be injected around your eye to decrease nerve impulses to the eyelid and resulting eyelid spasms.

When to See a Healthcare Provider

You should see your primary healthcare provider or eye doctor (ophthalmologist or optometrist) about your eye twitch if:

  • Eye twitching lasts longer than one week.
  • Twitching affects other parts of your face.
  • Your eyelid droops. 
  • You have difficulty opening or closing your eye.
  • Your eye is red, swollen, or emitting a discharge.

These are possible signs of a neurological disorder or condition causing irritation to your eyelid, cornea (clear, protective outer layer of the eye), or conjunctiva (loose connective tissue covering the surface of the eye) of your eye.  

If your eye twitch only occurs with headaches, you should see your healthcare provider if:

  • You experience severe and/or frequent headaches.
  • Your headaches interfere with your daily functioning.
  • You experience other symptoms like nausea, vomiting, or light sensitivity. 

Severe and recurrent headaches are possible signs of migraines or cluster headaches and require medical attention to treat and manage symptoms.


Eye twitching from headaches is a common symptom that goes away on its own, especially after headache symptoms resolve. Managing stress, reducing eye strain, and getting enough sleep are key for preventing both headaches and eye twitching. If your eye twitches result from migraines or cluster headaches, medication to manage your head pain and symptoms may be required to reduce the eye twitching.

Frequently Asked Questions

  • How long does eyelid twitching last?

    Individual episodes of eyelid twitching typically last for one or a few seconds and occur intermittently throughout the day. You may have eyelid twitching for a few days, but it typically goes away within a week. 

  • What do muscle spasms feel like?

    Muscle spasms feel like brief involuntary contraction of muscles. 

  • What can you take for a headache when you’re pregnant?

    If you’re pregnant, you can typically take Tylenol (acetaminophen) to treat headaches, although the use of NSAIDs after 20 weeks of pregnancy should be avoided due to increased risks of heart and kidney problems, low amniotic fluid levels, preterm birth, miscarriage, and stillbirth.

  • When should you worry about eye twitching?

    You should see a healthcare provider if your eye twitching is continuous, worsens over time, does not go away within a week, limits your ability to open or close your eye, causes eyelid drooping, or is accompanied by other symptoms like redness, swelling, or discharge of your eye. 

6 Sources
Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. American Migraine Foundation. What Is Migraine?

  2. Johns Hopkins Medicine. Cluster Headaches.

  3. Johns Hopkins Medicine. Eye Twitching.

  4. National Library of Medicine. Eyelid twitch.

  5. Outpatient Primary Care Management of Headaches: Guidelines from the VA/DoD. Am Fam Physician. 2021 Sep ;104(2):316-320.

  6. Food and Drug Administration. FDA recommends avoiding use of NSAIDs in pregnancy at 20 weeks or later because they can result in low amniotic fluid.

By Kristen Gasnick, PT, DPT
Kristen Gasnick, PT, DPT, is a medical writer and a physical therapist at Holy Name Medical Center in New Jersey.