Photo by Annie Spratt on Unsplash
In short: Magnesium is a mineral your nerves and muscles need to relax, and you can find plenty of it in everyday food: pumpkin seeds, almonds, leafy greens, buckwheat, dark chocolate and lentils. As a supplement, it seems to help some people sleep a little better and makes no difference for others, and the different kinds (glycinate, citrate, oxide and so on) mostly differ in how gentle they are on your tummy. Start with your plate and your evenings, and talk to your doctor or pharmacist before taking any supplement.
It’s the middle of the night. You’ve been awake for a while, and you know the signs: the mind that starts making lists, the duvet that’s too hot and then too cold. You reach for your phone and type “what helps you sleep”. Within a minute, someone is telling you that magnesium changed their life. Glycinate, apparently. Or was it bisglycinate? Someone else swears by citrate. A third says the cheap one is useless.
The next day, the pharmacy has a whole shelf of it. Which one? Do you even need it?
When people ask me about sleep, magnesium comes up more than almost anything else. So let’s look at it calmly, in daylight: what it does in your body, where you find it in your food, what the different kinds on the shelf actually are, and what I’d look at first if your nights have become restless.
Why is everyone talking about magnesium for sleep?
Because it makes sense on paper, and because so many of us are sleeping badly. In midlife, nights often change. Hormones shift, we wake more easily, we run hot, the mind gets busy in the small hours. I wrote about all of this in why we wake at night in midlife, and what helps.
When you’re tired and fed up, a simple capsule sounds very appealing. And magnesium has a gentle, natural image. I’d just like you to know the whole picture first, because what helps one person may do very little for the next.
What does magnesium do in the body?
Magnesium is a mineral, and a very busy one. I like to think of it as the quiet colleague who keeps the whole office running without ever asking for credit. It helps turn your food into energy. It helps your nerves carry their messages. It helps keep your heart rhythm steady, and it’s part of your bones.
And it has one job that matters a great deal for sleep: it helps your muscles let go. When a muscle contracts, another mineral, calcium, does the tightening. Magnesium helps the muscle release again afterwards. You could say calcium is the “on” switch and magnesium helps with the “off”. That’s why people link magnesium with relaxation and night-time cramps. Your muscles need it just as much when you start asking them to work a little more, as I suggested in how to build muscle after fifty, at home.
Most of the magnesium in your body is stored in your bones and inside your muscles and other tissues, with only a little in your blood. Your kidneys hold on to more when you eat less, and let go of the extra. That’s one reason a true lack of magnesium is uncommon in healthy people who eat a varied diet, and also why the kidneys matter so much if you’re thinking of a supplement (more on that below).
Which foods are high in magnesium?
Here’s a lovely little fact to keep in mind. Magnesium sits right at the heart of chlorophyll, the green colour in plants. So whenever you eat something deep green, you’re eating magnesium. Seeds, nuts, pulses and wholegrains are rich in it too.
Pumpkin seeds. The champion. A handful scattered over soup or salad is one of the easiest things you can do.
Almonds (and other nuts, such as cashews and walnuts). A small handful as an afternoon snack, or chopped over yoghurt.
Leafy greens. Spinach, chard, kale, the dark outer leaves of a cabbage.
Buckwheat. Despite its name, it isn’t wheat at all, and it’s naturally free of gluten. Think buckwheat galettes, or buckwheat cooked like rice under a stew.
Lentils, beans and chickpeas. Green lentils in a salad, a pot of lentil soup, a spoonful of hummus.
Dark chocolate. The darker, the better. Two squares, enjoyed slowly. (It also contains a little caffeine, so I’d save it for the afternoon rather than bedtime.)
Put a day together and you’ll see how easily it adds up. Yoghurt with chopped almonds in the morning. A lentil and goat’s cheese salad with plenty of green leaves at lunch. A couple of squares of dark chocolate with your afternoon tea. Squash soup with pumpkin seeds on top in the evening, or a buckwheat galette with a pile of wilted spinach. That’s a magnesium-rich day without a single capsule, with fibre, protein and healthy fats thrown in.
If you’re looking for ideas, my autumn guide and warming soup is a perfect base for a handful of seeds, and there’s more on my recipes page. Many of these foods are also great for your gut, as I explained in how much fibre do you need for good gut health?
Does magnesium really help you sleep?
Honestly? For some people, a little. For others, not at all. And nobody can tell you in advance which group you’ll be in.
Some people find that magnesium in the evening helps them feel calmer and drift off more easily. Others try it for weeks and notice nothing. It may help most if your diet has been low in magnesium-rich foods, or if tense muscles and night-time cramps are part of what keeps you awake. If your sleep is broken by hot flushes, a busy mind, a full bladder or a glass of wine with dinner, magnesium is unlikely to be the answer on its own.
There’s something else I find interesting. A calm evening ritual (taking something, sitting down, telling yourself “I’m looking after my sleep now”) does real good on its own. Your nervous system listens to those signals. So if you take magnesium and feel better, part of that may be the magnesium and part of it may be the ritual. Both are worth having.
What I’d say is this: magnesium is a small piece of a bigger picture. Sleep is shaped by your whole day, by your light, your movement, your meals, your stress and your evenings. When I work with someone on their sleep, I always start there, and very often that’s where the biggest changes are. I wrote more about this in let’s talk about sleep and the hidden signs of stress.
Glycinate, citrate, oxide: which kind of magnesium is which?
This is where the shelf gets confusing, so let me make it simple. Magnesium never comes alone in a supplement. It’s always attached to a partner, a bit like a dance couple. The name on the label is simply the name of the partner. The partner changes how easily your body takes the magnesium in, and how your tummy reacts to it.
Magnesium glycinate (also called bisglycinate). Two names for the same thing: magnesium attached to glycine, a small building block of protein. It’s usually described as gentle on the stomach, which is why it’s so often the one people choose for the evening.
Magnesium citrate. Magnesium attached to citric acid, the same acid you find in lemons. Your body takes it in well. It can also loosen the bowels, so some people find it a little too lively.
Magnesium oxide. Often the cheapest. It packs a lot of magnesium into a small tablet, but your body doesn’t absorb it as easily. What stays in the gut draws water in, which is why oxide is also used to relieve constipation.
Magnesium L-threonate. The newest on the shelf, and usually the most expensive. It’s sold as the kind that reaches the brain more easily. Honestly, very little is known about it yet.
You’ll also see magnesium chloride, “marine” magnesium from sea water, and blends with added vitamins. And you may hear about magnesium flakes or Epsom salts in the bath. A warm bath before bed is a lovely ritual whatever you put in it.
So which magnesium is best for sleep? The truthful answer is that nobody knows for sure. No kind has been shown to be clearly better than another for sleep. What we can say is that some are gentler on the gut than others, and some are more likely to send you to the loo. If you decide to try one, your pharmacist is the best person to help you choose.
Is magnesium safe, and who should ask first?
Magnesium from food is safe for healthy people: your kidneys simply let go of what you don’t need. Supplements are different, because they bring a lot in at once.
The most common side effect is a tummy upset: loose stools, sometimes with cramps or feeling a little sick. It usually settles when you stop. If magnesium upsets your stomach, that’s your body telling you something, and it’s a good reason to talk to your pharmacist.
Please talk to your doctor or pharmacist before you start any magnesium supplement, and especially if:
You have kidney problems. If your kidneys can’t clear the extra, magnesium can build up in your body, and that can be dangerous.
You take regular medicines. Magnesium can stop some medicines from being absorbed properly, including certain antibiotics and some of the tablets prescribed for osteoporosis. Often it’s a question of timing, and your pharmacist can tell you exactly what to do. Some other medicines can change your magnesium levels too, which is another reason to ask.
You already have tummy troubles, such as a sensitive bowel or frequent diarrhoea.
You’re already taking other supplements, as several of them can contain magnesium without you realising.
I don’t advise on supplements, medicines or doses. That’s the job of your doctor and your pharmacist, and they’re very happy to be asked.
What helps?
1. Put magnesium on your plate every day
Something green, a handful of nuts or seeds, and some lentils, beans or buckwheat in at least one meal. Scatter pumpkin seeds over your soup. Stir a handful of chard into an omelette. Make lentils your Monday supper. This is the gentlest, safest and tastiest way to look after your magnesium, and it brings so much else with it.
2. Make your evening meal a calming one
A warm, satisfying supper with some protein, vegetables and slow-burning carbs (lentil soup with bread, buckwheat with roasted squash and goat’s cheese, a vegetable stew with chickpeas) helps you feel settled. Eat a little earlier when you can.
3. Move your coffee and tea earlier
Caffeine stays in your body far longer than most people think. If you’re sleeping badly, enjoy your coffee in the morning and switch to herbal teas after lunch.
4. Give yourself a wind-down routine
Your body needs to know that the day is ending. Dim the lights in the last hour and put the phone in another room. Then add something for your nervous system. A few slow breaths, with a long, soft out-breath, tell your body it’s safe to rest. Autogenic training, which I teach, is wonderful for this: a quiet inner practice that helps your body feel heavy and warm and lets the mind go quiet. Read more in autogenic training: more than just a relaxation technique, and about building your evenings in the power of an evening routine.
5. Keep your bedroom cool, dark and quiet
Your body needs to cool down a little to fall asleep. A lighter duvet if you run hot, curtains that keep the light out: simple things that often do more than anything in a bottle.
What doesn’t help?
Expecting a capsule to undo the whole day. Coffee late in the afternoon, wine late in the evening and a phone in bed will beat any supplement.
Thinking more is better. With magnesium, more mostly means an urgent morning near the bathroom.
Choosing by price or by promises. An expensive form with a scientific name hasn’t been shown to help you sleep better than a simpler one.
Adding it quietly to your other medicines. “Natural” doesn’t mean it can’t interfere. Please ask first.
Try this for one week
For seven days, add one magnesium-rich food to your lunch and one to your evening meal: greens or lentils, pumpkin seeds or almonds, a buckwheat galette. Have your last coffee or black tea before lunch. And give yourself ten quiet minutes before bed: lights low, phone away, a few long, slow out-breaths.
Each morning, write down two things: roughly how easily you fell asleep, and how you feel on waking, in one word. At the end of the week, read your notes. You’ll have learned something about your own sleep, and you’ll have eaten beautifully either way.
Frequently asked questions
Which magnesium is best for sleep?
Nobody knows for sure, and no kind has been shown to be clearly better than another for sleep. Glycinate is usually described as gentler on the tummy, while citrate and oxide are more likely to loosen the bowels.
Can I get enough magnesium from food?
Most healthy adults can. Pumpkin seeds, almonds, leafy greens, buckwheat, lentils and a little dark chocolate, spread over your day, bring you plenty, along with fibre and many other good things.
Can I take magnesium with my other medicines?
Please ask your doctor or pharmacist first. Magnesium can get in the way of some medicines, including certain antibiotics and some osteoporosis tablets, and the timing often matters.
When should I talk to my doctor?
Before starting magnesium if you have kidney problems, take any regular medicine or have tummy troubles. And for the sleep itself: if you’ve been sleeping badly for more than a few weeks, if it’s affecting your days, or if you snore heavily or seem to stop breathing in your sleep, please make an appointment.
Would you like some help?
Sleep, and the food and habits that support it, are part of Six Tuesdays in Montignac, the group programme in nutrition and health I’m running this autumn. If you’d like to hear when the next group opens, write to me at hello@catherinepolet.coach and I’ll let you know.
Not nearby, or would you rather look at your own nights one to one? I also coach online. Book a free 20-minute call, tell me what your evenings and nights look like, and we’ll find where to start, for you.
About Catherine
I’m Catherine Polet, a holistic nutrition health coach, yoga and autogenic training teacher for more than 30 years, author and speaker. I help people find a way of eating and living that suits their own body, online in English, French, Spanish and German, and in person in Southwest France.

