Eye twitching, also known as eyelid spasms, is a frustrating and often inconvenient experience. Most eye twitches are harmless and temporary, but they can be disruptive if they persist.
Adding magnesium to your diet may help alleviate eye twitching by supporting healthy muscle and nerve function. If persistent eye twitching becomes a concern, consulting your optometrist can help determine the cause and explore potential treatments.
What Is Eye Twitching?
Eye twitching typically involves the involuntary movement or spasming of the eyelid muscles. This condition is generally harmless and often goes away on its own, but it can become bothersome if it persists or occurs frequently.
Severe cases are sometimes called blepharospasm, but not every eyelid twitch is due to this condition. Many factors can contribute to eye twitching. The most common triggers include:
- Stress: High stress levels can over-activate your body’s nervous system, leading to muscle spasms.
- Fatigue: Lack of adequate rest can enhance nerve excitability, causing twitching.
- Caffeine: Excessive consumption of caffeine can overstimulate the muscles and nerves.
- Eye strain: Prolonged screen time or inadequate eyewear may trigger spasms.
- Dry eyes: Insufficient eye lubrication could irritate the nerves and muscles.
Occasionally, eye twitching may be linked to less common factors like nutritional imbalances, allergies, or even neurological conditions.
Magnesium’s Role in the Body
Magnesium is an essential mineral that supports hundreds of biochemical reactions in the body. It plays a key role in:
- Muscle & nerve function: Magnesium helps ensure appropriate muscle relaxation and minimizes nerve overactivation.
- Energy Production: It supports cellular-level energy generation, keeping your body functioning optimally.
A lack of sufficient magnesium can disrupt your body’s natural processes. Some signs you may not have enough magnesium include:
- Muscle cramps or spasms, including eye twitching
- Chronic fatigue or low energy levels
- Apathy
- High blood pressure
- Irregular heartbeat
- Numbness or tingling in the extremities
The Link Between Magnesium & Eye Twitching
Magnesium deficiency can increase neuromuscular excitability, which means your muscles and nerves may become overly sensitive or reactive. This heightened sensitivity is a common underlying factor in muscle spasms, including twitching around the eyes.
While many people believe in magnesium’s potential to alleviate eye twitching, it’s important to note that the scientific evidence is still emerging. Some small studies suggest a connection between magnesium deficiency and muscle spasms, including blepharospasms. However, if your eye twitching isn’t due to magnesium deficiency, increasing your magnesium intake is unlikely to help.
Still, ensuring you meet your magnesium needs could help reduce muscle twitching as part of a broader, healthy-living approach.

Managing & Preventing Eye Twitching
Addressing eye twitching often requires identifying and responding to its root cause. Here are strategies that can help ease or prevent the issue:
Adjust Your Diet
Nutrition plays a significant role in preventing eyelid spasms. Incorporate magnesium-rich foods into your meals, such as:
- Leafy greens like spinach and kale.
- Nuts and seeds
- Whole grains like brown rice and quinoa
- Legumes such as black beans and lentils.
- Dark chocolate
- Avocados
- Bananas
- Tofu
If dietary changes aren’t enough, magnesium supplements can be a helpful addition:
- Types like magnesium citrate are often better absorbed.
- Always check with a healthcare professional to determine the correct dosage and ensure it’s appropriate for your needs.
Make Lifestyle Changes
Little choices you make every day can add up. Here are some changes you can consider:
- Reduce caffeine and alcohol intake to avoid over-stimulating your muscles and nerves.
- Get adequate sleep, aiming for 7–9 hours per night to promote overall health and relaxation.
- Limit screen time and incorporate the 20-20-20 rule (look at something 20 feet away for 20 seconds every 20 minutes) to avoid eye strain.
Manage Stress Levels
Stress can increase muscle tension, leading to eye twitching and even more negative health effects. Tackle your stress by:
- Practicing relaxation techniques like yoga, meditation, or progressive muscle relaxation.
- Incorporating deep breathing exercises into your daily routine to calm your nervous system.
When to See an Eye Doctor
While eye twitching is often a temporary annoyance, certain signs may indicate that it’s time to seek professional help:
- Persistent twitching lasting longer than a few days.
- The twitching affects your vision or otherwise interferes with your life.
- Twitching accompanied by symptoms such as redness, swelling, or discharge, which could signify an infection or irritation.
- Additional symptoms like drooping eyelids, vision changes, or neurological issues may require immediate medical evaluation.
When in doubt, consult your local eye care expert. They can help pinpoint the cause and provide effective solutions to regain your peace of mind.
Your First Step to Healthier Eyes
While magnesium may play a role in alleviating eye twitching, relief often comes from a combination of factors. Stress management, proper nutrition, and lifestyle modifications are key to addressing this irritating condition and reducing its impact on your daily life.
Find clarity, comfort, and personalized care with Pack & Bianes Optometry. Book an appointment with us today and take control of your eye health. Together, we’ll keep your vision and well-being at their best.