Insomnia: magnesium and zinc, the duo that helps you fall asleep

  • Magnesium and zinc act in a complementary manner: they relax the nervous system and support melatonin synthesis to improve sleep quality.
  • Evidence with magnesium (225–500 mg) and zinc (~11 mg), often together with melatonin, shows improvements in sleep latency and duration.
  • Pumpkin seeds provide tryptophan, magnesium, and zinc; consuming them in the evening can help you sleep better.
  • Paying attention to doses and timing (chrononutrition) and prioritizing foods rich in these minerals reduces risks and enhances benefits.

Insomnia: magnesium and zinc

When insomnia takes hold, it's worth looking beyond the classic sleep hygiene recommendations. Two key players that are gaining prominence are magnesium and zinc , essential minerals that play a role in neurological, hormonal, and metabolic pathways related to nighttime rest.

The available evidence suggests that both minerals can promote relaxation of the nervous system , optimize melatonin synthesis, and improve sleep quality. Below, you'll find a comprehensive guide —based on studies and the best available information—to understand why their combination is so beneficial, how to take them, which foods contain them, and what precautions to take.

Why does magnesium promote rest?

Magnesium participates in more than 300 enzymatic reactions and plays a key role in neuronal excitability. It acts as an NMDA receptor antagonist, helping to curb hyperexcitability of the nervous system and thus facilitate the transition to a calm state conducive to deep sleep.

In addition, magnesium modulates the activity of GABA , the main inhibitory neurotransmitter, promoting muscle and mental relaxation. This dual effect—reducing excitation and enhancing inhibition—explains why adequate magnesium levels are associated with more restful sleep and a shorter sleep latency.

Some studies have described how magnesium can contribute to the regulation of the circadian rhythm , helping to synchronize sleep-wake cycles. In older adults with primary insomnia, a clinical trial showed that magnesium supplementation improved parameters such as sleep efficiency and nocturnal melatonin secretion.

In their daily lives, those who suffer from sustained stress or anxiety spikes often notice the effect of magnesium on muscle tension and mental agitation. This mineral helps to "slow down" at the end of the day, an essential step for falling asleep more easily.

Night rest and minerals

The role of zinc in sleep regulation

Zinc is essential for multiple processes, including the synthesis and activation of hormones involved in sleep. Its indirect role in the production of melatonin , the nighttime signal that marks the beginning of rest and regulates sleep architecture, is particularly noteworthy.

This mineral also plays a role in the functioning of the immune system and in tissue repair , regenerative processes that the body primarily carries out at night. Therefore, an adequate zinc level supports normal sleep physiology.

In practical nutrition, zinc enhances the utilization of tryptophan (an amino acid precursor to serotonin and melatonin). Therefore, dietary combinations rich in tryptophan with adequate sources of zinc can support better sleep quality.

For safety reasons, it's important to remember that excessive zinc can interfere with the absorption of other minerals (including magnesium and copper). Therefore, if combined supplementation is considered, the dosage and duration of use should be adjusted on an individual basis.

Scientific evidence: magnesium and zinc, together and with melatonin

Several studies have explored the impact of combining these micronutrients. In one study with older adults suffering from insomnia, the combined administration of magnesium (225 mg) , melatonin (5 mg) , and zinc (11,25 mg) was associated with a reduction in time to fall asleep and an increase in total sleep duration . These results suggest a synergistic effect in individuals vulnerable to insomnia.

A 2012 study examined the effect of 500 mg of magnesium daily for eight weeks in older adults. It observed improved sleep efficiency and increased melatonin levels, reinforcing the idea that magnesium promotes deeper sleep.

Although the combination with melatonin stands out for its physiological logic — supporting the nighttime signal and relaxation — the literature also suggests benefits of magnesium along with B complex vitamins (especially B6) to modulate mood and stress response, factors that often perpetuate insomnia.

Other nutrients linked to sleep, such as glycine or dietary tryptophan, have shown sleep-promoting effects in different models. Glycine, for example, has been associated with a slight decrease in body temperature and deeper sleep, mediated in part by NMDA receptors in the suprachiasmatic nucleus.

Chrononutrition: eating and supplementing at the right time

Insomnia: magnesium and zinc

Chrononutrition is based on a simple idea: it's not just what you eat that matters, but when you eat it . Adjusting food intake and supplementation to your biological rhythm can help optimize both metabolism and sleep.

When it comes to magnesium and zinc, it's often helpful to reserve most of the magnesium for the evening and night, taking advantage of its relaxing effect, and to take some of the zinc and certain vitamins in the morning, when metabolic demands are higher. Some commercial formulas use a " day/night " approach: a morning capsule with magnesium, hops, and vitamins B6, B12, and K to reduce fatigue and irritability; and a nighttime capsule with magnesium salts, hops, zinc, and selenium to relieve hot flashes, insomnia , and tiredness during stages such as perimenopause and menopause.

This approach respects circadian rhythms and synchronizes internal signals (hormonal and neural) with the desired effects: energy and emotional balance during the day, and relaxation with deep sleep at night.

Food sources of magnesium and zinc

A balanced diet should always be the foundation . Magnesium is abundant in spinach, chard, almonds, cashews, and pumpkin seeds . Zinc is found in lean meats, seafood, legumes (chickpeas, lentils), nuts, and dairy products.

Pumpkin seeds are of particular interest due to their triple benefit: tryptophan , magnesium, and zinc. This combination supports the synthesis of serotonin and melatonin and neuromuscular relaxation, which can promote more restful sleep.

To maximize the effect of tryptophan, it is advisable to combine them with complex carbohydrates in the late afternoon or early evening (for example, with a slice of wholemeal bread or a piece of fruit), facilitating the access of the amino acid to the brain.

Pumpkin seeds: easy ways to incorporate them

As a nighttime snack : a handful (about 30g) taken a couple of hours before going to bed, ideally with a source of healthy carbohydrates, can be a practical and filling option.

In smoothies or shakes : blended with milk or natural yogurt and fruits like banana or apple. They add texture and an interesting micronutrient profile for rest.

In salads or soups : sprinkled on the dish to add crunch and key minerals without altering the overall flavor of the preparation.

Mixed with nuts and dried fruits : a homemade combination with almonds, walnuts, raisins or cranberries works as an easy-to-prepare late-night snack.

Additional benefits: metabolism, inflammation and recovery

The combination of magnesium and zinc not only impacts sleep, but also offers benefits in glucose metabolism , protein synthesis, and tissue repair. In people with type 2 diabetes and coronary artery disease, 12 weeks of combined supplementation was associated with improvements in blood glucose and insulin levels and a reduction in markers of inflammation and oxidative stress.

Magnesium, for its part, can help improve insulin sensitivity and reduce glycated hemoglobin (A1c) when combined with a healthy diet. Clinical trials with 250–500 mg daily have reported benefits in glycemic control and insulin resistance.

At the muscular level, magnesium plays a role in contraction and relaxation , which is why it's commonly used after exercise or during periods of overuse. Evidence regarding its use for nighttime cramps is mixed: in older adults, the benefit is uncertain, while in pregnant women, some studies show a reduction in cramps with supplementation.

As a topical aid, magnesium sulfate (Epsom salts) is traditionally used in baths to relieve muscle aches and neck tension. Although conclusive clinical trials are lacking, many people report subjective relief after using it.

Insomnia: magnesium and zinc

Pumpkin seeds

Mood, stress and anxiety

Rest and emotional well-being go hand in hand. Magnesium modulates brain pathways linked to the stress response , reducing NMDA receptor activity and facilitating GABA action. This can translate into less "mental noise" at bedtime and a greater sense of calm.

A systematic review suggests that magnesium, especially when combined with vitamin B6 , may offer modest improvement in anxiety symptoms. While it doesn't replace a comprehensive approach, it can be a complementary tool for individuals with chronic stress that impacts their sleep quality.

Gastrointestinal: Why the gut also matters for sleep

Regular bowel movements are associated with a better quality of life and, in many cases, better sleep. Magnesium oxide acts as an osmotic laxative and can relieve occasional constipation, reducing discomfort that can disrupt sleep.

In a double-blind trial, 1,5 g of magnesium oxide for four weeks increased bowel movement frequency and softened stools , decreasing straining during defecation compared to placebo. Meanwhile, magnesium hydroxide (milk of magnesia) is used as an antacid for heartburn or indigestion, discomforts that also interfere with sleep.

How and when to take magnesium and zinc: guidelines and precautions

Before supplementing, it's advisable to start with the diet and consider the individual's circumstances (age, medication, medical conditions). The studies cited used doses of 225–500 mg of magnesium and around 11 mg of zinc, often combined with melatonin at night to enhance sleep signals.

Excessive zinc can reduce the absorption of magnesium and copper. Therefore, it is crucial to adhere to the correct dosage and timing. Those with kidney disease, pregnant women, or the elderly should consult their healthcare professional beforehand to adjust their supplementation strategy.

One option is to use chrononutrition regimens : magnesium in the afternoon and evening to promote relaxation; and, if appropriate, a small dose of zinc divided among meals. Day/night formulas can be useful during periods of increased hormonal demand (for example, perimenopause and menopause) and in individuals with vasomotor symptoms and sleep disturbances.

This approach respects circadian rhythms and synchronizes internal signals (hormonal and neural) with the desired effects: energy and emotional balance during the day, and relaxation with deep sleep at night.

Other nutrients of interest for sleep

Although the focus here is on magnesium and zinc, the literature mentions glycine as a sleep aid (it promotes slight nocturnal hypothermia and improves sleep architecture), and dietary tryptophan for its role as a precursor to serotonin/melatonin.

Combinations of herbal medicine have also been studied for insomnia with mixed results, and it has been observed that an evening intake of tryptophan-enriched cereals can increase melatonin markers and improve subjective sleep quality variables in the elderly population.

Herbs

Practical recommendations for your daily life

– Strengthen your diet with natural sources: leafy green vegetables, nuts , pumpkin seeds, legumes, lean meats, and seafood. A varied diet often covers your basic magnesium and zinc requirements.

– Try a slight adjustment to your schedule: concentrate your magnesium intake in the late afternoon and evening and accompany your dinner with complex carbohydrates if you want to enhance the effect of tryptophan.

– If you're considering supplementation, start with a low dose and monitor your progress: pay attention to your digestive tolerance and how well you sleep. Consult your healthcare professional, especially if you're taking medication or have chronic conditions.

– Support the routine with sleep hygiene: regular schedule, dim light at night, screens out of the bedroom and a relaxing ritual (breathing, light reading) to allow the minerals to “do their part”.

On the quality and review of content

This text is for informational purposes only and is not a substitute for professional medical advice. Many websites that cover these topics use technologies such as cookies to manage preferences and anonymous usage analysis; remember to review your privacy settings when accessing these resources.

Magnesium and zinc offer a compelling physiological basis for better sleep: magnesium calms the nervous system and promotes inhibitory GABA signaling, while zinc supports melatonin synthesis and immune-metabolic balance. With a well-planned diet, chrononutritional strategies, and, where appropriate, support with clinically proven doses (often in conjunction with melatonin), it's possible to significantly improve sleep quality , reduce sleep latency, and wake up feeling rested—something many people crave.

Related article:
What are Legumes?, Types and Characteristics

Add as preferred source in Google