Pick the one you want most

Allows us to better understand your problem

Sleep through the nightFall asleep fasterSleep without pills
Best Magnesium-Rich Foods to Improve Sleep Naturally

Better Sleep Starts Now

Take Your Sleep Quiz
March 13, 2025

Best Magnesium-Rich Foods to Improve Sleep Naturally

Medically reviewed by: 

Dr. Shiyan Ooi

School of Medical Sciences, University of Manchester

Magnesium is an essential mineral that plays a vital role in relaxation, muscle function, and sleep quality. Consuming magnesium-rich foods can naturally support better sleep without the need for supplements.

Why Magnesium is Important for Sleep

Magnesium helps regulate neurotransmitters involved in sleep, such as GABA, and supports melatonin production. It also helps lower cortisol levels, which can contribute to stress and insomnia (National Institutes of Health).

Top Magnesium-Rich Foods

Incorporating these magnesium-rich foods into your diet can help promote restful sleep:

  • Leafy Greens: Spinach, kale, and Swiss chard are excellent sources of magnesium.
  • Nuts and Seeds: Almonds, cashews, pumpkin seeds, and sunflower seeds are rich in magnesium and healthy fats.
  • Legumes: Lentils, chickpeas, and black beans provide magnesium along with fiber and protein.
  • Whole Grains: Brown rice, quinoa, and oats contain good amounts of magnesium and aid digestion.
  • Bananas: A great bedtime snack, bananas provide magnesium along with potassium to support muscle relaxation.
  • Dark Chocolate: High-quality dark chocolate (at least 70% cocoa) is a delicious source of magnesium.
  • Avocados: Packed with magnesium and healthy fats, avocados support brain and sleep health.

How to Incorporate Magnesium into Your Diet

To maximize magnesium intake, consider:

  • Adding leafy greens to smoothies, salads, or omelets.
  • Snacking on a handful of nuts and seeds throughout the day.
  • Replacing refined grains with whole grains like quinoa and brown rice.
  • Enjoying a banana or dark chocolate as a bedtime snack.

Conclusion

Magnesium-rich foods provide a natural way to enhance sleep quality and overall well-being. By including these nutrient-dense options in your diet, you can support relaxation and improve your nightly rest.

Dr. Shiyan Ooi

Dr. Shiyan Ooi is a medical doctor with over a decade of experience treating patients with chronic conditions. She graduated from the University of Manchester with a Bachelor of Medicine and Surgery (MBChB UK) and spent several years working at the National Health Service (NHS) in the United Kingdom, several Singapore government hospitals, and private functional medicine hospitals. Dr. Ooi specializes in root cause analysis, addressing hormonal, gut health, and lifestyle factors to treat chronic conditions. Drawing from her own experiences, she is dedicated to empowering others to optimize their health. She loves traveling, exploring nature, and spending quality time with family and friends.