Article of Interest

Evidence-based insights on nutrition, wellness, and healthy living.

Magnesium for Kids: Sleep, Muscles, Nerves & Healthy Growth

Magnesium helps children's muscles, nerves, bones and energy metabolism work normally. But what about all those claims about magnesium and sleep? Here's what parents should know before adding another supplement.

Magnesium seems to be everywhere right now.

It's in powders, gummies, drink mixes and bedtime products.

Parents hear that magnesium can help children relax, sleep better, support their muscles and maybe even settle down at night.

Some of those conversations begin with something very real:

Magnesium is an essential mineral, and children absolutely need it.

But that doesn't mean every child who tosses and turns at night is low in magnesium—or that a magnesium supplement is automatically the answer.

Magnesium matters throughout the body. The smart question isn't “Is magnesium good?” It's “Is my child getting enough—and is there actually a reason to supplement?”

Quick Answer

Magnesium supports normal muscle and nerve function, energy production, protein and DNA production, and healthy bone development.

Children can get magnesium from foods such as beans, nuts, seeds, whole grains, leafy green vegetables and dairy foods. Magnesium is sometimes promoted for sleep, but parents shouldn't assume poor sleep means magnesium deficiency or that every child needs a bedtime magnesium supplement.

What Does Magnesium Actually Do for a Child?

Magnesium isn't a one-job mineral.

It's involved in hundreds of biochemical reactions throughout the body.

Children need magnesium to help support:

  • Normal muscle function
  • Normal nerve function
  • Energy production
  • Protein synthesis
  • DNA production
  • Healthy bone development
  • Normal movement of calcium and potassium across cell membranes
  • Many other everyday cellular processes

So while magnesium is often marketed today as a “sleep mineral,” that's only a small part of the conversation.

Magnesium is a basic nutritional requirement for a growing body.

How Much Magnesium Do Kids Need?

Magnesium requirements rise considerably as children grow.

Age Magnesium Per Day
Birth–6 months 30 mg*
7–12 months 75 mg*
1–3 years 80 mg
4–8 years 130 mg
9–13 years 240 mg
Teen boys 14–18 years 410 mg
Teen girls 14–18 years 360 mg

*For infants, these are Adequate Intake (AI) levels rather than Recommended Dietary Allowances.

The jump during adolescence is significant.

That's not surprising when you consider how much growth and development occurs during those years.

Teenagers aren't finished growing just because they're starting to look like adults.

Our guide Teen Nutrition: Vitamins & Nutrients Growing Bodies Need looks at their broader nutritional needs.

Which Foods Give Kids Magnesium?

Magnesium is naturally present in many nutritious foods.

Good sources include:

  • Beans and lentils
  • Nuts and nut butters
  • Seeds
  • Whole grains
  • Spinach and other leafy green vegetables
  • Fortified breakfast cereals
  • Milk and yogurt
  • Other magnesium-containing foods

For younger children, nuts and seeds should always be served in an age-appropriate form to reduce choking risk.

One thing you'll notice about that list:

Many magnesium-rich foods are foods we already want children eating for other reasons.

Beans bring protein and fiber.

Whole grains bring fiber and other nutrients.

Nuts and seeds provide healthy fats and other minerals.

Leafy greens provide an entire package of nutrients.

Magnesium Is Another Reason Food Variety Matters

A child doesn't need to eat spinach every day to get magnesium. Beans, whole grains, nuts, seeds, dairy foods and other foods can all contribute. Variety lets those contributions add up across the day.

Magnesium & Growing Bones

Calcium gets most of the attention when parents think about bone health.

But magnesium is also involved in the structural development of bone.

That doesn't mean parents should choose between calcium and magnesium.

Growing bones need an overall nutritional foundation.

That includes adequate calcium, magnesium, vitamin D, protein and other nutrients, along with physical activity.

For the calcium side of the equation, see Calcium for Kids: Building Strong Bones During Childhood.

Magnesium, Muscles & Nerves

Magnesium plays an important role in normal muscle and nerve function.

It helps regulate the movement of minerals such as calcium and potassium across cell membranes—part of the process involved in nerve impulses and muscle contraction.

That's one reason magnesium often gets associated with muscles.

But a child complaining of a sore muscle, twitch or occasional leg discomfort doesn't automatically have a magnesium deficiency.

Muscle complaints can have many causes, including activity, growth, injury, hydration and other factors.

Don't diagnose a mineral deficiency from one symptom.

The Big Question: Does Magnesium Help Kids Sleep?

This is probably why many parents are reading this article.

Your child won't settle down.

Bedtime turns into an hour-long negotiation.

They wake during the night.

Or your teenager seems exhausted but still doesn't sleep well.

Then someone recommends magnesium.

Magnesium does participate in normal nervous-system function, but that doesn't automatically mean supplemental magnesium is an established treatment for routine childhood sleep problems.

The evidence for using magnesium specifically to improve sleep in otherwise healthy children remains limited.

That matters because sleep problems have many possible causes.

Magnesium & Sleep: Don't Jump From “Possible” to “Proven”

Magnesium is necessary for normal nervous-system function, and researchers continue to study its relationship with sleep.

But there isn't strong evidence that every child who has trouble sleeping should take magnesium. Before reaching for a supplement, look at bedtime routine, sleep schedule, screens, stress, caffeine and possible medical causes.

For the bigger sleep picture, see Healthy Sleep for Kids: How Much Do They Need & What Actually Helps? and Kids Who Don't Sleep Well: Common Causes & What Parents Can Try.

Before Blaming Magnesium, Look at the Child's Sleep Habits

A supplement can't fix every bedtime problem.

Ask some basic questions first:

  • Is bedtime consistent?
  • Is the child actually getting enough time in bed?
  • Are phones, tablets, gaming or television pushing bedtime later?
  • Is caffeine entering the picture, especially with teenagers?
  • Is the bedroom dark, quiet and comfortable?
  • Is the child anxious or worried at bedtime?
  • Is snoring, gasping or unusual breathing occurring during sleep?

If the problem is a phone in bed until midnight, magnesium isn't the first problem to solve.

Fix what you can identify before assuming a nutrient is responsible.

Which Children Might Be More Likely to Fall Short?

Some children may have a greater chance of inadequate magnesium intake or low magnesium status.

These can include children who:

  • Eat a very limited diet
  • Rarely eat whole grains, beans, nuts, seeds or vegetables
  • Have certain gastrointestinal conditions that affect nutrient absorption
  • Have certain medical conditions affecting magnesium balance
  • Use certain medications that affect magnesium levels

A picky eater can certainly fall short—but again, the label “picky eater” doesn't tell you enough.

A child may refuse vegetables yet eat peanut butter, whole-grain cereal, yogurt and beans.

Another may live on a much narrower selection.

Look at the actual diet.

Does My Child Need a Magnesium Supplement?

Not necessarily.

Many children can obtain magnesium through food.

And magnesium may already be present in a multivitamin/mineral supplement, although the amount can vary significantly among products.

A magnesium supplement may deserve discussion when:

  • The child's diet is consistently low in magnesium-rich foods
  • A deficiency or increased need has been identified
  • A medical condition affects magnesium absorption or balance
  • A healthcare professional recommends supplementation for a specific reason

If you're considering a supplement simply because your child doesn't sleep well, look at the sleep problem itself before assuming magnesium is the missing piece.

Magnesium Supplements Can Cause Diarrhea

This is one of the most practical things parents should know.

Too much magnesium from supplements or magnesium-containing medications can cause:

  • Diarrhea
  • Nausea
  • Abdominal cramping

Very high magnesium intakes can cause much more serious toxicity.

For healthy children, magnesium naturally present in food isn't the concern.

The upper limits below apply specifically to magnesium from dietary supplements and medications—not magnesium naturally occurring in food and beverages.

Age Upper Limit From Supplements & Medications
Birth–12 months No upper limit established
1–3 years 65 mg
4–8 years 110 mg
9–18 years 350 mg

Why Can the Upper Limit Be Lower Than the Recommended Amount?

This confuses parents—and understandably so.

The recommended daily amount includes magnesium from all sources. The upper limit listed here applies only to magnesium from supplements and medications. Magnesium naturally present in food doesn't count toward this supplemental upper limit.

Check Medicines Too—not Just Vitamin Bottles

Magnesium can be found in more than dietary supplements.

It's also an ingredient in some:

  • Laxatives
  • Antacids
  • Products for indigestion or heartburn

That means a parent looking only at the vitamin cabinet could miss another source.

Magnesium supplements can also interfere with certain medications, including the absorption of some antibiotics.

Tell your child's pediatrician or pharmacist about supplements and over-the-counter products as well as prescription medicines.

A Parent's Magnesium Checklist

  • Look at food first: Beans, whole grains, nuts, seeds and leafy greens can provide magnesium.
  • Know the age requirement: Magnesium needs rise substantially during adolescence.
  • Think beyond sleep: Magnesium supports muscles, nerves, bones and energy metabolism.
  • Don't diagnose from one symptom: Poor sleep or muscle discomfort doesn't automatically mean magnesium deficiency.
  • Check the multivitamin: Your child may already be getting supplemental magnesium.
  • Check medications too: Some laxatives and antacids contain magnesium.
  • Watch for diarrhea: It's a common sign of excessive supplemental magnesium.
  • Understand the upper limit: For magnesium, it applies to supplements and medications—not naturally occurring food magnesium.

FAQ: Magnesium for Kids

How much magnesium does my child need?

Children ages 1–3 need 80 mg per day, ages 4–8 need 130 mg, and ages 9–13 need 240 mg. Teen boys ages 14–18 need 410 mg, while teen girls need 360 mg per day.

Does magnesium help kids sleep?

Magnesium is important for normal nervous-system function, but evidence isn't strong enough to assume every child with sleep problems needs a magnesium supplement. Bedtime routine, sleep schedule, screens, stress, caffeine and medical issues can all affect sleep.

What foods are high in magnesium for kids?

Beans, lentils, nuts, seeds, whole grains, leafy green vegetables, fortified cereals, milk and yogurt can all contribute magnesium.

Is magnesium important for children's bones?

Yes. Magnesium contributes to normal bone structure. Bone health also depends on calcium, vitamin D, protein, physical activity and overall nutrition.

Can too much magnesium hurt a child?

Too much magnesium from supplements or medications can cause diarrhea, nausea and abdominal cramping. Extremely high amounts can cause serious toxicity.

Why is the magnesium supplement limit lower than what some teenagers need each day?

Because they measure different things. The recommended daily amount includes magnesium from food, beverages and supplements. The upper limit applies only to magnesium from supplements and medications.

Should I give my child magnesium every night?

Not automatically. If you're considering regular magnesium supplementation—particularly for sleep—look at your child's diet and sleep habits first and discuss the appropriate product and amount with their pediatrician or qualified healthcare professional.

Key Takeaways for Parents

  • Magnesium is essential for normal muscles, nerves, bones and energy metabolism.
  • Children's magnesium requirements rise as they grow.
  • Beans, nuts, seeds, whole grains and leafy greens are good food sources.
  • Magnesium is important to the nervous system, but that doesn't make it a proven sleep solution for every child.
  • Look at sleep habits and possible causes before assuming a child needs a bedtime supplement.
  • Magnesium also contributes to normal bone development.
  • Too much supplemental magnesium can cause diarrhea, nausea and abdominal cramping.
  • The magnesium upper limit applies to supplements and medications, not magnesium naturally found in food.
  • Some antacids and laxatives contain magnesium too.
  • Supplements should fill a real nutritional need—not simply follow the latest trend.

The Parent's Bottom Line

Magnesium is important.

But it doesn't need to become another nutrient parents feel pressured to give their children just because it's popular online.

Start by looking at the child's food.

Are they eating beans, whole grains, nuts or nut butters, seeds, greens, dairy or other magnesium-containing foods?

If sleep is the concern, look at sleep too.

Is bedtime consistent?

Are screens staying on too late?

Is caffeine creeping into the teenager's afternoon?

Is there snoring, anxiety or another reason sleep is being disrupted?

And if supplementation makes sense, choose an age-appropriate amount rather than assuming an adult magnesium product belongs in a child's bedtime routine.

Magnesium should support good nutrition—not become a shortcut around figuring out what your child actually needs.

Founder Perspective

“Magnesium is a very important mineral, but I don't think every new health trend needs to become another bottle we automatically give our kids. Start with good food. Look at what the child really needs. If a supplement makes sense, use it thoughtfully and in an amount appropriate for that child. That's how I've always believed supplements should be used.”
— Bruce Brightman, Founder

The LifeSource Vitamins Standard

✅ Family-Owned Since 1992
✅ GMP-Certified Facilities
✅ 3rd-Party Tested

⭐ Trusted by over 200,000 customers with over 7,000 5-star reviews

Driven by Faith • Powered by God

Recommended Reading

Supporting Your Child's Nutrition

Magnesium is one piece of a much larger nutritional picture.

Whole grains, beans, nuts, seeds, vegetables, dairy foods and other nutrient-rich foods can help children obtain magnesium along with many other nutrients their bodies need.

If you're considering supplemental magnesium for your child—especially for sleep—look at the reason, the amount and everything else your child is already taking.

Questions About Children's Nutrition?

LifeSource Vitamins
Family-Owned Since 1992
Customer Support: 800-567-8122

FDA Disclaimer: These statements have not been evaluated by the Food and Drug Administration. This information is provided for educational purposes only and is not intended to diagnose, treat, cure, or prevent any disease. Dietary supplements are not intended to replace a varied diet or medical care. Always consult your child's pediatrician or qualified healthcare professional before giving dietary supplements to a child.