Food Protocol library
ArticleMagnesium-rich foods9/26/2026

Magnesium, sleep and children: a careful look at the evidence

What magnesium does, why it comes up so often in ADHD and sleep conversations, which everyday foods contain it, and when supplements might be considered.

  • #Nutrition
  • #Evidence
  • #ADHD

Magnesium has become something of a wellness favourite. It's recommended for sleep, calm, cramps and focus, often in the same breath. For parents of children who struggle to settle at night, it's easy to see the appeal. So what does the evidence actually say?

What magnesium does

Magnesium is a mineral involved in hundreds of processes in the body. It helps muscles and nerves work, supports energy production, and is needed for healthy bones. It also plays a role in how nerve cells send signals, which is part of why it gets linked to sleep and mood.

Why it comes up with ADHD and sleep

Some studies have found lower magnesium levels in children with ADHD compared with other children. Small trials have tested magnesium supplements, sometimes combined with vitamin B6 or vitamin D, and a few have reported improvements in behaviour or sleep.

But these studies are generally small, short and not always well controlled. The evidence is not strong enough to say that magnesium improves ADHD symptoms or reliably helps children sleep. Researchers are still investigating the question.

What we can say with confidence is that magnesium is an essential nutrient, and children who eat a narrow range of foods, particularly few wholegrains, beans, nuts and vegetables, may not be getting as much as they need.

Where magnesium comes from

The good news is that magnesium is spread across many everyday foods (NIH):

  • wholegrains: oats, wholemeal bread, brown rice, whole-wheat pasta
  • beans and lentils: black beans, kidney beans, chickpeas, edamame
  • nuts and seeds: almonds, cashews, pumpkin seeds, peanut butter (whole nuts aren't safe for under-fives)
  • green leafy vegetables: spinach, kale
  • potatoes with their skins
  • bananas and avocados
  • yoghurt and milk
  • dark chocolate (in small amounts)
  • tofu

Many traditional meals are naturally rich in it: black beans and rice, oat porridge, dal with wholemeal chapati, peanut stew, or a potato and spinach curry.

Easy ways to add more

  • swap white bread for wholemeal, or try half-and-half if a full switch is refused
  • stir a spoon of peanut or almond butter into porridge
  • offer a banana with yoghurt as an evening snack
  • add a handful of pumpkin seeds to a snack mix for older children
  • roast potato wedges with their skins on
  • blend spinach into a fruit smoothie (a small amount is often undetectable)

If your child eats mostly plain, white foods

Start small. A banana, a wholemeal cracker that looks similar to their usual one, or peanut butter on familiar toast are gentle steps. Our selective eating guide has more ideas for moving from accepted foods towards new ones.

About supplements

It's reasonable to ask your child's doctor about magnesium, especially if their diet is very limited. But please don't give supplements without advice. Too much magnesium from supplements can cause diarrhoea, tummy cramps and nausea, and it can interact with some medications (NIH). Children's needs are much lower than adults', so adult products are often too strong. Magnesium from food doesn't carry the same risk, because the kidneys remove any excess.

If sleep is the main concern, a consistent bedtime routine, a dim and quiet bedroom, and less screen time before bed are the best-supported first steps. For children with ADHD or autism who have persistent sleep problems, talk to your doctor; there are effective, evidence-based options.

When to get professional advice

Speak to your GP if your child has ongoing sleep difficulties, muscle cramps, very low energy, or eats very few wholegrains, beans or vegetables. A dietitian can help check whether your child's diet is covering their needs.

Related reading: magnesium-friendly meal ideas, the gut–brain connection and our nutrition overview.

Neurobite

Sponsored · Paid partnership

Nourish the brain. Empower life.

Personalised nutrition and feeding support for children with autism and ADHD — meal plans, sensory-friendly recipes and progress tracking in one place.

neurobite.org

Nourish the brain. Empower life.

Learn more

References

Educational content only. Always discuss dietary changes with your child's clinician.