Our Services
Medical Information
Helpful Resources
Published on: 3/6/2026
Eye twitching is usually harmless and caused by stress, lack of sleep, caffeine, eye strain, or dry eyes, and it often settles with rest, less caffeine, artificial tears, and screen breaks. There are several factors to consider, and the complete guidance below explains the types of spasms and what actually works to stop them.
See a doctor if it lasts more than 2 to 3 weeks, fully closes the eyelid, spreads to the face, or is paired with weakness, vision or speech changes, severe headache, or eye redness, swelling, or discharge; details on red flags and next steps are below.
If you've been asking yourself, "why is my eye twitching?", you're not alone. Eyelid twitching is very common. Most of the time, it's harmless and temporary. But occasionally, it can signal something that needs medical attention.
Eye twitching — medically called eyelid myokymia — is a repetitive, involuntary spasm of the eyelid muscle. It usually affects the lower lid, but the upper lid can twitch too. The twitch may come and go for minutes, hours, or even days.
Let's break down what causes it, when to worry, and what you should do next.
Eye twitching happens when the small muscles in your eyelid contract on their own. You can't control it. The movement is usually subtle — others may not even notice it — but it can feel distracting or annoying.
There are three main types:
Most people experiencing occasional twitching have simple eyelid myokymia.
If you're wondering, "why is my eye twitching all of a sudden?", the answer is often related to lifestyle or temporary irritation.
Stress is one of the most common triggers. When you're anxious, overwhelmed, or not sleeping well, your nervous system becomes more reactive — and that can cause muscle spasms, including in your eyelids.
Sleep deprivation irritates the nervous system and can trigger twitching. Even a few nights of poor sleep can set it off.
Caffeine stimulates your nervous system. Coffee, energy drinks, tea, and soda can all contribute. Cutting back often helps.
Long hours staring at screens, reading, or driving can strain your eyes. Digital eye strain is increasingly common and can lead to twitching.
Dry eye syndrome can irritate the eyelids and trigger spasms. This is more common in:
Alcohol can overstimulate the nervous system and contribute to twitching in some people.
While most eyelid twitching is harmless, persistent or worsening symptoms may indicate a neurological issue.
This condition causes:
It typically develops gradually and may require treatment such as Botox injections.
This affects one entire side of the face and may start around the eye before spreading. It's usually caused by a blood vessel pressing on a facial nerve.
Very rarely, eyelid twitching can be associated with:
However, these conditions almost always come with other significant neurological symptoms such as weakness, coordination problems, speech issues, or vision changes.
If your only symptom is a mild eyelid twitch, a serious neurological disease is unlikely.
Most cases go away on their own within a few days or weeks.
However, you should speak to a doctor promptly if you notice:
These symptoms could indicate something more serious and deserve medical evaluation.
If you're unsure whether your symptoms warrant a doctor's visit, Ubie's free AI-powered Eye twitching symptom checker can help you understand potential causes and determine your next steps in just a few minutes.
If you're still asking, "why is my eye twitching and how do I make it stop?", here are practical steps that often work.
Stress reduction alone often resolves twitching.
Aim for 7–9 hours per night. Keep a consistent bedtime and limit screen time before sleep.
Gradually reduce coffee, energy drinks, and soda. Sudden withdrawal can cause headaches, so taper slowly.
Follow the 20-20-20 rule: Every 20 minutes, look at something 20 feet away for 20 seconds.
If dry eyes are the issue, over-the-counter lubricating eye drops may help.
Reducing alcohol intake can calm nerve excitability.
If your eye twitching is persistent or severe, a doctor may recommend:
Botox is considered safe and is often highly effective for chronic eyelid spasms.
Many people wonder if low magnesium is to blame.
There is limited evidence that magnesium deficiency directly causes eyelid twitching in otherwise healthy individuals. Severe deficiency can affect muscles and nerves, but it's uncommon in people with balanced diets.
Before starting supplements, talk to your doctor. Excess magnesium can cause side effects.
In the vast majority of cases, no.
Eye twitching is usually:
However, ignoring persistent or spreading symptoms is not wise. While serious causes are rare, they are possible — and early evaluation is important if red flags appear.
If it lasts more than a few weeks, it's reasonable to get checked.
If you've been wondering, "why is my eye twitching?", the most likely causes are:
Most cases are harmless and improve with simple lifestyle changes.
But seek medical care if:
If you are uncertain, consider starting with a free online symptom check for Eye twitching to better understand what may be happening.
Above all, if you notice anything that feels severe, progressive, or potentially life-threatening, speak to a doctor immediately. It's always better to ask and be reassured than to ignore something important.
Your body often gives subtle signals. Most of the time, an eye twitch is simply your nervous system asking for rest. Listen to it — and take care of yourself.
(References)
* Patel RV, Khoo A, Koutroumanidis M. Eyelid myokymia: a comprehensive review. J Craniofac Surg. 2018 May;29(3):580-584. doi: 10.1097/SCS.0000000000004381. PMID: 29775988.
* Kim J, Son D, Kim B, Oh D, Bae H, Park M, Lim H, Shin K, Choi HC. Benign essential blepharospasm and hemifacial spasm: A review of clinical features, pathogenesis, and treatment. J Korean Med Sci. 2018 Jul 30;33(31):e206. doi: 10.3346/jkms.2018.33.e206. PMID: 30070774; PMCID: PMC6067757.
* Balaji SM, Prakash SM. Current concepts in the treatment of benign essential blepharospasm. J Craniofac Surg. 2018 May;29(3):585-587. doi: 10.1097/SCS.0000000000004382. PMID: 29775989.
* Park J, Tan YK. Update on the Differential Diagnosis and Management of Facial Spasms. J Neurol Surg B Skull Base. 2021 Apr;82(2):e227-e234. doi: 10.1055/s-0040-1715423. Epub 2020 Sep 17. PMID: 33742686; PMCID: PMC7977083.
* Gürses C, Dursun E, Çalişkan A. Blepharospasm, Hemifacial Spasm, and Eyelid Myokymia: An Update. Turk J Ophthalmol. 2022 Feb 28;52(1):50-57. doi: 10.4274/tjo.galenos.2021.36449. Epub 2022 Feb 28. PMID: 35140683; PMCID: PMC8890204.
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.