Our Services
Medical Information
Helpful Resources
Published on: 9/24/2026
Yes, stress, caffeine and lack of sleep are among the most common triggers of eyelid twitching (myokymia), a harmless muscle spasm that usually stops on its own within days. Other contributors include dry eyes, eye strain, alcohol, nicotine, certain medications and low magnesium, and there are important warning signs that point to something more serious. See below to understand which spasms are benign and which need prompt evaluation.
If your eye keeps twitching and you are unsure whether it is fatigue, caffeine or something that deserves a closer look, a few minutes of clarity can save you weeks of worry. Take a free, instant, online symptom check to see what may be behind your symptoms and what step to take next.
Last reviewed for medical accuracy: 09/24/2026
An eye spasm, often felt as a twitch beneath the lower eyelid, is a common experience. Medically known as myokymia, these tiny, involuntary muscle contractions usually affect one eye at a time. They’re rarely serious and most episodes resolve on their own within days or weeks. Still, it’s natural to wonder what’s causing the flutter—and how to stop it.
While there are various reasons for eye twitching, three lifestyle factors stand out:
Stress
• Chronic or acute emotional stress can overstimulate the nerves controlling the eyelid muscles.
• Stress boosts the release of chemicals like cortisol, which may sensitize nerves and lead to spasms.
• Relaxation techniques—deep breathing, meditation or progressive muscle relaxation—often help calm twitching.
Caffeine
• Caffeine is a stimulant that can increase nerve firing and muscle irritability.
• High intake from coffee, tea, energy drinks or chocolate may trigger or worsen eyelid spasms.
• Cutting back gradually—rather than quitting cold turkey—can reduce twitches without causing withdrawal headaches.
Lack of Sleep
• Fatigue disrupts nerve signaling and muscle control; the eyelid is particularly vulnerable.
• Even minor sleep deficits (one or two restful hours less than usual) can lead to twitching.
• Aim for 7–9 hours of quality sleep per night. Good sleep hygiene—consistent bedtime, cool dark room—makes a big difference.
Beyond stress, caffeine and sleep loss, consider these factors:
Eye Strain
• Long hours at a computer, tablet or smartphone can tire eye muscles.
• Follow the 20-20-20 rule: every 20 minutes, look at something 20 feet away for at least 20 seconds.
Dry Eyes
• Insufficient tear production or increased evaporation leads to dryness and irritation.
• Over-the-counter lubricating drops can relieve dryness and reduce twitching.
Allergies
• Pollen, pet dander or dust can trigger eye rubbing and histamine release, irritating the eyelid.
• Antihistamine eye drops or oral medications may help—but discuss with your doctor if twitch persists.
Nutritional Deficiencies
• Low levels of magnesium, potassium or calcium can affect muscle contractions.
• A balanced diet or a multivitamin may correct mild deficiencies; check with your healthcare provider before starting supplements.
Medications and Substances
• Certain Parkinson’s drugs, antihistamines or stimulants can provoke muscle spasms.
• If you suspect a medication side effect, talk to your prescriber before making changes.
Neurological Conditions (Rare)
• Persistent, severe twitching that spreads to other facial muscles could signal a more serious disorder, such as hemifacial spasm or dystonia.
• Most eye twitches are benign, but if you notice additional symptoms, seek evaluation.
In most cases, simple self-care measures can end an eye twitch:
Stress Reduction
Moderate Caffeine
Improve Sleep Quality
Eye Care
Warm Compress
Nutrition Check
Most eyelid twitches aren’t dangerous. Still, contact a healthcare provider if you experience:
For a quick, easy assessment of your symptoms, you might consider a free, online symptom check, using the doctor approved Ubie Symptom Checker. It asks targeted questions and provides guidance on whether to seek immediate care.
Eye twitches can feel alarming, but in the vast majority of cases they’re harmless. By recognizing common triggers—especially stress, caffeine and lack of sleep—and adopting simple lifestyle changes, you can often stop the spasms quickly. If your twitch persists or you notice troubling signs, speak to a doctor for a thorough evaluation.
Remember, persistent or severe symptoms warrant professional attention. Never hesitate to reach out if you’re concerned about your health.
(References)
* Golubev VL. [Facial paraspasm]. Zh Nevropatol Psikhiatr Im S S Korsakova. 1986;86(4):504-9. PMID: 3716695.
* Czapliński A, Steck AJ, Fuhr P. [Tic syndrome]. Neurol Neurochir Pol. 2002 May-Jun;36(3):493-504. PMID: 12185806.
* Martino D, Aniello MS, Catalano L, Livrea P, Defazio G. Speech-induced blepharospasm. Neurol Sci. 2010 Feb;31(1):71-3. doi: 10.1007/s10072-009-0150-7. Epub 2009 Sep 25. PMID: 19779797.
* Coscarelli JM. Essential blepharospasm. Semin Ophthalmol. 2010 May;25(3):104-8. doi: 10.3109/08820538.2010.488564. PMID: 20590421.
* Peckham EL, Lopez G, Shamim EA, Richardson SP, Sanku S, Malkani R, Stacy M, Mahant P, Crawley A, Singleton A, Hallett M. Clinical features of patients with blepharospasm: a report of 240 patients. Eur J Neurol. 2011 Mar;18(3):382-6. doi: 10.1111/j.1468-1331.2010.03161.x. PMID: 20649903; PMCID: PMC3934127.
* Khalkhali M. Topiramate-Induced Persistent Eyelid Myokymia. Case Rep Psychiatry. 2016;2016:7901085. doi: 10.1155/2016/7901085. Epub 2016 May 17. PMID: 27293943; PMCID: PMC4886081.
* Zeppieri M, Patel BC. Benign Essential Blepharospasm. 2026 Jan. PMID: 32809668.
* Fowler FA, Yabumoto C, Osaki MH, Gameiro GR, Brabo JL, Matayoshi S, Marinho RCRS, Osaki TH. Profile of patients with essential blepharospasm and hemifacial spasm in the two largest ophthalmology reference centers in Brazil. Arq Bras Oftalmol. 2023;87(6):e20220160. doi: 10.5935/0004-2749.2022-0160. Epub 2023 Oct 13. PMID: 37851740; PMCID: PMC11630479.
* Gunes IB. Association Between Eyelid Twitching and Digital Screen Time, Uncorrected Refractive Error, Intraocular Pressure, and Blood Electrolyte Imbalances. Cureus. 2024 Sep;16(9):e69249. doi: 10.7759/cureus.69249. Epub 2024 Sep 12. PMID: 39282492; PMCID: PMC11398718.
* Ahsan M, Nizami DJ. Metformin-induced eyelid myokymia. Indian J Pharmacol. 2024 Sep 1;56(5):358-360. doi: 10.4103/ijp.ijp_284_24. Epub 2024 Dec 16. PMID: 39687960; PMCID: PMC11698286.
We would love to help them too.
For First Time Users
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.