Periods and PCOS · Article
Magnesium for cramps, periods, and sleep
How magnesium deficiency causes period cramps, leg cramps in pregnancy, and restless sleep — and how much you need from food and supplements.
The short answer
- Magnesium deficiency contributes to painful period cramps, leg cramps in pregnancy, and poor sleep.
- Indian diets often fall short because refining removes it from grains and many people get little leafy greens.
- PCOS is linked to low magnesium — which worsens insulin resistance and irregular periods.
- Good food sources include nuts, seeds, leafy greens, and whole grains — but absorption drops with phytates.
- A food-first approach with strategic supplementation (200–400 mg) can help cramps and sleep.
Quick answer: How magnesium deficiency causes period cramps, leg cramps in pregnancy, and restless sleep — and how much you need from food and supplements. Magnesium deficiency contributes to painful period cramps, leg cramps in pregnancy, and poor sleep. Indian diets often fall short because refining removes it from grains and many people get little leafy greens.
Quick answer: Magnesium deficiency contributes to painful period cramps, leg cramps in pregnancy, and poor sleep.
Period cramps, leg cramps at 2 a.m., and that feeling of never quite resting — magnesium deficiency could be part of the picture. As one of the body’s natural relaxants, magnesium helps muscles and nerves settle down. For Indian women, especially those with PCOS and during pregnancy, getting enough matters more than most realise.
Why magnesium runs low
Magnesium is lost every day through sweat, urine, and the menstrual cycle. The problem for Indian women is twofold:
- Refined grains lose magnesium — the outer layers of wheat, rice, and millet, where most magnesium lives, are stripped away during milling.
- Phytate interference — plant foods like dal, rajma, and leafy greens contain phytates that bind to magnesium and block absorption.
- PCOS connection — up to 60% of women with PCOS have low magnesium, which worsens insulin resistance and irregular periods.
The symptom pattern
| Symptom | Why it happens | Who it affects most |
|---|---|---|
| Period cramps, heavy flow | Magnesium helps uterine muscles relax; deficiency leads to stronger cramps | All menstruating women |
| Leg cramps at night | Muscle relaxation impaired, common in pregnancy | Pregnant and postpartum women |
| Restless sleep, anxiety | Nervous system overactive; magnesium calms neurotransmitters | Women with PCOS, stress |
| Palpitations, headaches | Blood vessels tighten; magnesium helps them dilate | Perimenopausal women |
| Constipation | Smooth muscles in intestines slow down | Anyone, but worse with low fibre |
Why periods hurt
When your period starts, the lining of your uterus breaks down and your body releases prostaglandins — chemicals that make the uterus contract. These contractions squeeze out the lining, but they can also cause pain, nausea, and bloating. Magnesium helps these muscles relax, so low levels can make cramps worse.
Indian food sources, ranked
Highest (3–4 servings/week)
| Food | Magnesium per 100 g | Notes |
|---|---|---|
| Pumpkin seeds (roasted) | ~250 mg | Best single source; soak to remove phytates |
| Flaxseeds (ground) | ~390 mg | Also provides omega-3 ALA for PCOS |
| Cashews (20 pieces) | ~240 mg | Also provides healthy fats |
| Almonds (10–12 pieces) | ~130 mg | Soak overnight for better absorption |
| Spinach, cooked (1 cup) | ~150 mg | Also provides iron and folate |
Good (daily)
| Food | Magnesium per serving | Notes |
|---|---|---|
| Sattu (½ cup) | ~95 mg | Mix with lemon for vitamin C |
| Makhana / fox nuts (1 cup, dry) | ~90 mg | Good pregnancy-friendly snack |
| Ragi roti (1 medium) | ~80 mg | Better than refined wheat |
| Bajra roti (1 medium) | ~70 mg | Keep the bran in |
| Peanuts (¼ cup) | ~65 mg | Prefer roasted, unsalted |
| Dark chocolate (70%, 30 g) | ~65 mg | Small amounts satisfy cravings |
Daily target: Aim for 300–400 mg from food across the day.
Absorption tips
- Soak nuts and seeds for 2–8 hours before eating — this activates enzymes that reduce phytate levels.
- Ferment grains when possible — idli, dosa, and sourdough reduce phytates significantly.
- Cook leafy greens — boiling removes some oxalates that would otherwise bind magnesium.
- Pair with vitamin B6-rich foods — banana, sabut, and whole grains help magnesium convert to its active form.
When to supplement
Food-first is best, but supplementation becomes important when:
- You have PCOS with insulin resistance (needs higher magnesium)
- You’re pregnant and cramping badly
- You have chronic stress or poor sleep despite diet changes
How much to take:
- For period cramps: 350–400 mg magnesium glycinate daily, starting 2 days before your period
- For sleep and PCOS: 200–300 mg magnesium glycinate at bedtime
- For leg cramps in pregnancy: 350–400 mg until cramps resolve; stop after birth
Avoid magnesium oxide (poor absorption, laxative effect). Choose glycinate, citrate, or malate.
Interaction warning: Magnesium enhances the effect of some blood pressure medications. If you take BP drugs, get your levels monitored.
For anxiety or stress: If magnesium alone isn’t enough, call Tele MANAS (14416) — India’s free, 24/7 mental health helpline.
Magnesium and seed cycling
If you’re already eating flaxseeds and pumpkin seeds as part of seed cycling, you’re getting magnesium along with omega-3s and zinc. To boost the benefit, soak the seeds overnight and grind your flaxseed fresh.
Magnesium forms: which supplement to choose
Not all magnesium supplements are created equal. The form determines how well it’s absorbed and which symptoms it targets:
| Form | Absorption | Best for | Notes |
|---|---|---|---|
| Magnesium glycinate | Excellent | Sleep, anxiety, cramps | Calming; least likely to cause loose stools |
| Magnesium citrate | Very good | Constipation, general deficiency | May cause loose stools at higher doses |
| Magnesium malate | Good | Muscle pain, fatigue | Often used for fibromyalgia |
| Magnesium oxide | Poor (10–20%) | Constipation only | Cheap but poorly absorbed; laxative effect |
| Magnesium threonate | Excellent for brain | Memory, mood | Crosses blood-brain barrier; most expensive |
For Indian women: Magnesium glycinate is the best starting point for cramps, sleep, and PCOS-related anxiety. If cost is a concern, magnesium citrate works almost as well at half the price — just start with a lower dose and increase gradually.
Magnesium and blood pressure in pregnancy
Magnesium helps relax blood vessels, which is why it’s crucial for preventing and managing pregnancy-induced hypertension. However, if you’re taking blood pressure medication, work with your doctor:
- Labetalol, nifedipine, or methyldopa — magnesium supplements can enhance their effect, lowering BP too much
- ACE inhibitors — avoid in pregnancy anyway, but if prescribed, magnesium can interact
- Aspirin (81 mg) — often prescribed for pre-eclampsia prevention in high-risk women; magnesium and aspirin don’t interact but both affect clotting
The sweet spot for pregnancy-induced hypertension is 350–400 mg of magnesium glycinate daily, monitored by your obstetrician. This matches the dose that helps with leg cramps — so one supplement addresses two common pregnancy complaints.
Signs your cramps are magnesium-related
Not all cramps are from magnesium deficiency. Here’s how to tell:
Magnesium-responsive cramps:
- Occur when you’re tired or stressed
- Feel like tight bands or knots, not sharp spasms
- Happen at night, often between 10 p.m. and 4 a.m.
- Improve with stretching or warmth
- Are bilateral (both legs or both calves)
Non-magnesium cramps:
- Sharp, shooting, one-sided
- Occur during the day with activity
- Don’t improve with stretching
- May be from nerve compression or circulatory issues
If your cramps match the magnesium-responsive pattern, try a 2-week trial of 350 mg magnesium glycinate at bedtime. If there’s no improvement, look elsewhere — possibly iron deficiency (which can also cause restless legs) or nerve compression.
Key takeaways
- Cramps and poor sleep are classic signs — magnesium is nature’s muscle relaxant.
- Indian refined diets are low in it — soaking, fermenting, and eating nuts/seeds helps.
- PCOS worsens magnesium depletion — targeting 400 mg+ daily is often needed.
- Choose the right supplement — glycinate or citrate, not oxide.
- Start small — excess magnesium causes loose stools, which tells you to dial back.
Related: Flaxseeds and pumpkin seeds are the best Indian kitchen sources of magnesium. For sleep support, see our guide on seed cycling for hormones and PCOS.
Ingredients in this guide
Questions women ask
How much magnesium do I need daily?
Adult women need about 310–320 mg daily. Pregnant women need 350–360 mg. The tolerable upper limit for supplemental magnesium is 350 mg/day from supplements (not food).
Will magnesium help my period cramps?
Several studies show that 350–500 mg of magnesium per day reduces the severity of menstrual pain. It works by relaxing blood vessels and smooth muscle, including the uterus.
Which form of magnesium should I take?
For cramps and sleep, magnesium glycinate or magnesium citrate are best absorbed and least likely to cause loose stools. Avoid magnesium oxide, which is poorly absorbed and laxative.
Does magnesium interfere with birth control or PCOS medications?
Magnesium may lower blood pressure slightly, which can interact with some medications. If you take blood pressure drugs, check with your doctor. Otherwise, it is generally safe with PCOS medications.
Sources
Cite this article
Poshita. "Magnesium for cramps, periods, and sleep." Last reviewed 2026-10-24. Accessed 2026-11-24.
This guide is general information, not medical advice. Every pregnancy, birth and body is different. Check with your doctor or a registered dietitian before changing your diet, especially if you have diabetes, high blood pressure, a thyroid condition, allergies or a recent surgery. Read our medical disclaimer.