Vitaminico
ENES
Symptom

Why won't my legs settle at night?

By Vita · fact-checked against NIH ODS

Vita is Vitaminico's AI nutrition coach. The nutrients below are mapped from the Vitaminico check, and every dose is checked against the NIH Office of Dietary Supplements.

That crawling, tingling, can't-keep-them-still feeling in your legs at night is usually restless legs syndrome (RLS) — and its most common, checkable nutritional driver is low iron stores, which can be low even when a routine blood count looks normal; low magnesium, and sometimes low B12, can add to it. It is a symptom, not a diagnosis: a blood test — above all serum ferritin — is the only way to know whether a nutrient gap is really part of your picture.

Likely nutrient gaps

These are the nutrients most often worth looking at first for this — not a diagnosis, just where the Vitaminico check starts. Read any one to see what it does, the best foods, and how much is too much.

Iron

8 mg/day

Low iron is the most established nutritional link to restless legs syndrome: the brain uses iron to make dopamine, and too little iron in the brain is thought to be a core driver of the urge to move. Crucially, iron can run low in the brain and in your body's stores (ferritin) even when a standard blood count and hemoglobin look normal — so being told you're "not anemic" does not rule it out. Because of this, clinicians often use a higher ferritin target for RLS than the usual "normal," commonly aiming above roughly 50-75 ng/mL, and topping up a low level can ease symptoms. Risk is highest in menstruating women, during pregnancy, in people who don't eat meat, poultry, or seafood, and with any blood loss or gut-absorption problem.

Vitamin B12

2.4 mcg/day

Low B12 (and folate) can trigger or worsen restless-legs symptoms, partly because a shortage damages the nerves in the legs (peripheral neuropathy) that can mimic or aggravate RLS. The link is clearest in pregnancy and in people who are genuinely deficient, so it is worth checking rather than assuming. Risk rises with age, vegan or vegetarian diets, pernicious anemia, and long-term metformin or acid-reducing drugs.

Vitamin D

15 mcg/day

Low vitamin D rarely causes restless legs on its own, but observational studies link lower levels to more RLS symptoms, and it is one of the most common deficiencies — so it is cheap and worth checking at the same time as your iron. Deficiency is most likely with little sun exposure, darker or covered skin, older age, or winter at higher latitudes.

Magnesium

420 mg/day

Magnesium helps quiet nerve-to-muscle signaling and relax muscles, so a shortfall may worsen the twitchy, restless feeling and the periodic leg movements that fragment sleep. The evidence is modest — magnesium is not a proven cure for RLS — but a genuine shortfall is worth closing anyway, because many adults fall short of the recommended amount and the food sources are easy.

What to eat

Food first is the safest place to start. Build your plate around a few of these everyday sources of the nutrients above:

  • Iron: lean red meat, oysters, clams, or fortified breakfast cereal — and pair plant iron (lentils, beans, spinach, tofu) with a vitamin-C food (peppers, citrus, strawberries) at the same meal to absorb much more
  • Magnesium: pumpkin seeds, almonds and cashews, cooked spinach, black beans, and whole grains like oats or brown rice
  • B12: eggs, dairy, fish, and shellfish; if you eat plant-based, rely on fortified nutritional yeast, fortified plant milks, or a B12 supplement, since B12 is found reliably only in animal foods and fortified products
  • Folate and plant iron together: dark leafy greens, lentils and chickpeas, and asparagus — the greens double as a folate and magnesium source
  • A practical settle-your-legs plate: a spinach-and-lentil salad with grilled salmon and a good squeeze of lemon covers iron, folate, magnesium, and vitamin D, with the vitamin C to absorb the plant iron, all in one bowl
  • Keep strong coffee and tea between meals rather than with them — their tannins blunt iron absorption — and go easy on caffeine and alcohol in the evening, since both can make restless legs and the broken sleep worse

How to confirm it (ask your clinician)

Restless legs is a symptom pattern, not a nutritional diagnosis, so find the cause before treating it. It is often primary (it runs in families) or secondary to something other than diet — pregnancy, kidney disease, and nerve problems such as peripheral neuropathy (including from diabetes) — and it is commonly triggered or worsened by certain medications, which can include some antidepressants, antihistamines, and anti-nausea drugs, as well as by caffeine, alcohol, and nicotine. See a clinician and ask for blood tests rather than guessing: serum ferritin plus an iron panel (transferrin saturation) are the key ones — for RLS many clinicians treat when ferritin is low-to-borderline, higher than the usual cutoff — along with a complete blood count, and vitamin B12 and folate if a nerve problem is suspected; kidney function and thyroid are often checked too. Don't start iron on your own: unneeded iron can build up to harmful levels and iron overload has to be ruled out with a test first, and taking folate can mask a B12 deficiency. If the sensations are severe, wreck your sleep most nights, or come with numbness or weakness, get a proper medical workup rather than guessing.

Not sure which gap is yours?

The free 2-minute Vitaminico check reads your symptoms across 9 body systems and names your most likely gap — food-first, no pills pushed.

FAQ

What vitamin or mineral deficiency causes restless legs?

Low iron is the deficiency most strongly linked to restless legs syndrome — specifically low iron stores (ferritin) and too little iron in the brain, which the brain needs to make dopamine. Low magnesium and, less often, low B12 or folate can add to it. But RLS also has non-nutritional causes, so a blood test — above all serum ferritin — is the only way to know whether a gap is really part of your picture.

Can low iron cause restless legs even if my blood count is normal?

Yes. In restless legs, iron can be low in the brain and in your body's stores (ferritin) while your hemoglobin and standard blood count still look normal — so being told you're "not anemic" doesn't rule iron out. That's why the key test is serum ferritin (with transferrin saturation), and why clinicians often use a higher ferritin target for RLS than for the general population. Ask specifically for a ferritin level, not just a routine blood count.

Does magnesium help restless legs?

Possibly a little, and mainly if you were low to begin with — magnesium is not a proven cure for restless legs. The studies are small, mixed, and low quality, so it's best to get magnesium from food (nuts, seeds, leafy greens, beans, whole grains) rather than rely on high-dose supplements, which can cause diarrhea. Sorting out caffeine, alcohol, and your iron level matters more.

What helps restless legs at night without medication?

Non-drug steps can genuinely calm mild restless legs: get up and walk, stretch or massage the legs, try a warm bath or a warm or cool pack, and get moderate regular exercise earlier in the day. Cut caffeine, alcohol, and nicotine in the evening, since all three make it worse. If it still disrupts your sleep, ask a doctor to check your ferritin and iron — correcting a low level is one of the most effective fixes.

When should I see a doctor about restless legs?

See a clinician if the sensations disrupt your sleep most nights, are getting worse, start during pregnancy, or come with numbness, weakness, or leg swelling. Ask for a ferritin and iron panel (and often kidney and thyroid tests), because restless legs can be secondary to iron deficiency, pregnancy, kidney disease, a nerve problem, or a medication you're taking — each of which is treated differently. Don't self-dose iron before the test.

Vitaminico for iPhone

Get your full picture in the app

  • A free 2-minute chat with Vita reads your symptoms — no food-logging, no needles
  • Your top 3 likely nutrient gaps across the vitamins and minerals that matter
  • A food-first plan: what to eat, where to get it, and what to skip
  • No signup wall — the full check works the moment you open the app

Free · iPhone · no email to start

The Vitaminico app showing Dr. Vita's chat and a food-first plan

Educational, not medical advice. This page does not diagnose a deficiency or any condition. Symptoms can have many causes, nutritional and otherwise — only a clinician and, where needed, a blood test can confirm a real gap. Talk to your doctor before starting any high-dose supplement.