
A twitchy eyelid is annoying, and it’s easy to assume it must be a magnesium deficiency. That was my first thought too when my upper eyelid started twitching. But after digging into the research, I realised it’s not that simple.
Sometimes magnesium is part of the picture and sometimes it isn’t, so let’s look at the most common causes, the simple fixes that often work fast, and the signs that mean it’s time to get it checked.
The short version
Most of the time, eyelid twitching isn’t a clear sign of magnesium deficiency. It’s usually triggered by tiredness, stress, caffeine, or lots of screen time, and magnesium may only help if your intake is low or you have other deficiency signs.
First, what an “eye twitch” usually is
When people say “my eye is twitching”, they almost always mean the eyelid, not the eyeball itself. It can feel like it’s coming from the eye area, but it’s usually a tiny muscle in the lid firing on and off.
Most of the time it affects just one eye, and it can happen in the upper eyelid, the lower eyelid, or both at different times. It might flutter for a few seconds, disappear, then come back later.
In many cases it settles on its own once the trigger calms down, which is why looking at the basics first tends to be the fastest way to stop it.
The most common reasons your eyelid starts twitching
Most eyelid twitching comes down to everyday triggers. Once you spot yours, it’s often easy to calm it down.
Not enough sleep (or just running on empty)
A few short nights can make your nervous system more reactive, and eyelid twitching is one way it shows up.
Stress (including the busy-life kind)
You don’t have to be having panic attacks for stress to show up physically. Sometimes it’s just weeks of being busy, doing too much, and never properly switching off.
If stress and poor sleep are part of the picture for you, you might also like my guide to magnesium for sleep and anxiety.
Caffeine
Coffee is the obvious one, but caffeine also comes from tea, cola, energy drinks, and pre-workout. If you’ve had more than usual, or you’re drinking it later in the day, it’s worth cutting back.
Screen time and eye strain
Staring at screens tends to reduce blinking, which dries the eyes out and strains the small muscles around them. If your twitching started during a heavy screen week, that’s a strong clue.
Dry eyes or irritation
Wind, heating, air conditioning, allergies, contact lenses, and even eye makeup can irritate the eye area and make twitching more likely.
Other real-life triggers
Alcohol, dehydration, intense workouts, and long days can all add up, especially if sleep is already off.
Try this today (24–48 hour reset)
- Prioritise sleep for the next two nights (even 30–60 minutes more helps).
- Cut caffeine for a day or two, or at least stop after lunch.
- Take screen breaks (every 20 minutes, look into the distance for 20 seconds).
- Hydrate properly, especially if you’ve exercised or had alcohol.
- Soothe your eyes if they feel dry (blink more, step away from screens, consider lubricating drops if needed).
If the twitching calms down after this, you’ve basically found your answer.
So where does magnesium come into this?
After you’ve looked at sleep, stress, caffeine, and screens, it’s normal to wonder if you’re missing something in your diet. Magnesium comes up a lot because it helps your muscles and nerves work smoothly.
In simple terms, it helps keep those “messages” between nerves and muscles steady, so muscles are less likely to fire off when they don’t need to.
Why magnesium gets linked to twitching: when magnesium is genuinely low, muscle twitching can be one possible symptom (along with cramps and other muscle issues).
What the eyelid twitch research shows: when researchers looked specifically at eyelid twitching, they didn’t find a clear link with blood magnesium levels.
In one 2021 study, serum magnesium wasn’t significantly different between people with eyelid twitching and a control group without it, while tiredness and poor sleep stood out more.
In a newer 2024 study, longer daily screen time was linked with eyelid twitching, but blood electrolytes (including magnesium) were not meaningfully different from controls.
A quick note on testing (because this confuses people): magnesium is usually checked with a standard blood test called serum magnesium. The catch is that only a tiny amount of magnesium is in your blood. Most of it is stored in your bones and inside your body’s cells (including muscle cells), so a “normal” blood result does not always reflect your overall magnesium status.
Can eye twitching ever mean you’re magnesium deficient?
Yes, it can, but it’s not the most common reason. The studies that looked at eyelid twitching didn’t find a clear magnesium link, which is why an eyelid twitch on its own isn’t a reliable “deficiency sign”.
So why does “eye twitch = low magnesium” get repeated so much online? Because magnesium does matter for muscles and nerves, and true low magnesium can cause twitching in the body.
It’s an easy, believable explanation, and people often notice their twitch improves after taking a supplement (especially if they were low on magnesium to begin with).
A better approach is to look at the whole picture, like your sleep, stress, caffeine, screen habits, and whether you’ve also been getting twitching or cramps elsewhere in your body.
Signs magnesium might actually be part of your problem
This is where it helps to zoom out a bit. If the only thing going on is one twitchy eyelid, magnesium might not be the main issue. But if a few of the points below sound familiar, it’s more worth considering.
- You’ve had twitching in other places too (calves, thighs, stomach muscles, or random little “jumps” in different areas).
- You get cramps fairly often, especially in your legs or feet.
- Your sleep has been off and you feel restless, tense, or you wake up feeling like you haven’t fully recovered.
- You’re running on stress and caffeine, and you know you’ve been pushing it lately.
- Your diet is low in magnesium-rich foods, like nuts and seeds, beans and lentils, leafy greens, whole grains, and dark chocolate.
- You have a risk factor that makes low magnesium more likely, such as long-term digestive issues, regular diarrhoea, type 2 diabetes, heavier alcohol intake, or certain medicines (for example acid-reflux meds like PPIs or water tablets/diuretics).
If you’re nodding along to several of these, magnesium becomes a more realistic “maybe” rather than a random guess.
Which magnesium is best for eye twitching?
If you’re going to try a magnesium supplement for eye twitching, magnesium glycinate (or bisglycinate) is often a good first choice. It’s generally considered a well-absorbed form and it’s usually gentler on the stomach than options like citrate, which helps you stick with it.
Disclaimer: Some links in this section are affiliate links. If you buy through them, I may earn a small commission at no extra cost to you. As an Amazon Associate I earn from qualifying purchases.
If you need a couple of brand recommendations (because quality varies), these are solid magnesium glycinate/bisglycinate options that clearly list the form and the elemental dose:
Other magnesium forms also worth considering:
- Magnesium citrate – often well absorbed and a solid option if you want to top up magnesium efficiently, but it’s more likely to loosen stools.
- Magnesium chloride / lactate / aspartate – also considered well absorbed forms, but they’re not always as common in typical shops.
If you want to keep it simple: glycinate for gentle day-to-day use, and citrate if you want something effective and you know your stomach handles it.
What’s usually not the best first pick: magnesium oxide is often less well absorbed than some other forms, so it’s not the most useful option for this. Magnesium sulfate is mainly used as a laxative/medical form, so it’s not a go-to either.
How much magnesium should you take?
Start with the daily target
The recommended daily amount from everything combined (food + supplements) is roughly 310–320 mg a day for women and 400–420 mg a day for men (it varies a bit by age). A lot of people don’t hit that through food alone, and one large nutrition survey found 48% of Americans were below their estimated requirement from food and drinks.
A sensible dose to try for eyelid twitching
Start with 100–200 mg of elemental magnesium a day. If you tolerate it well and nothing changes, increase to 200–300 mg a day.
Don’t overdo it
Try not to go over 350 mg a day from supplements unless a clinician advises it. Higher doses are more likely to cause diarrhoea and stomach upset.
Two label tips that stop confusion
Look for “elemental magnesium” on the label (that’s the number that matters). And remember the 350 mg limit is for supplements/medicines, not magnesium from food.
When eyelid twitching is worth getting checked
Most eyelid twitching settles with time and a few simple changes. But it’s worth speaking to a doctor if any of the following apply.
- The twitching lasts a few weeks and just won’t settle
- It starts spreading to other facial muscles
- Your eyelid is clamping shut or you’re getting stronger spasms, not just a flutter
- You have vision changes, eye pain, swelling/redness, a drooping eyelid, or anything new that feels “not normal”
- You’re also getting widespread twitching in the body, especially if it comes with weakness or numbness
If you’re unsure, it’s always fine to speak to a pharmacist or GP. A quick check can rule out anything more serious and give you peace of mind.
FAQs
How long does it take magnesium to work for eyelid twitching?
If low magnesium is part of the problem, some people notice improvement within a few days, but give it up to 2 weeks to judge properly. If nothing changes after that, it’s probably not the main cause.
Can you take too much magnesium?
Yes. The most common sign you’ve taken too much is diarrhoea (sometimes with stomach cramps or nausea). That’s why it’s best to start with a modest dose and avoid going over 350 mg a day from supplements unless a clinician advises it.
Can too much magnesium cause eye twitching?
Unlikely. Too much magnesium is far more likely to cause gut symptoms than twitching.
Magnesium or potassium – which matters more for eye twitching?
For a simple eyelid twitch, it’s usually neither. Most of the time it’s triggered by sleep, stress, caffeine, or screen strain, not an electrolyte problem.
If you are looking at deficiencies, magnesium is the safer one to trial because low magnesium can contribute to twitchy muscles and it’s commonly low in the diet. Potassium deficiency can also cause muscle symptoms, but it usually comes with clearer red flags (like general muscle weakness) and specific triggers (vomiting/diarrhoea, diuretics), so it’s better checked with a blood test rather than guessed with supplements.
If you’re thinking of trying magnesium and want to know if it mixes well with supplements you already take, these guides might help:


