Reviewed by:
Dr. Patricia Núñez de Aysa — Medical expert in Longevity, specialist in Rehabilitation and Traumatology without surgery.
Dr. Joel Cuesta Gascón — Medical expert in sports medicine, rehabilitation, and nutrition.
Last updated: May 2026.
In 30 seconds
- There isn't one "best time" to take magnesium: it depends on what you're looking for and the chemical form you choose.
- Morning is better if you're using it for energy, mental focus, or physical performance.
- Night makes more sense if you're using it for rest, muscle relaxation, or recovery.
- The chemical form also matters: malate usually fits best during the day; bisglycinate at night; taurate is versatile.
- The most crucial factor isn't the exact time: it's consistency. Magnesium works as a habit, not a one-time fix.
Why timing matters when taking magnesium
Magnesium participates in over 300 bodily reactions, and depending on the time of day, its effect is noted in different systems. It's not that what it does changes, but rather that the body prioritizes different functions at different times of the day.
In the morning, the body activates energy production, glucose regulation, and muscle function. At night, cortisol decreases, parasympathetic activity increases, and the body prepares for recovery. The same mineral supports different processes.
Therefore, before choosing the time, it's worth asking yourself: what do I want to achieve with this supplement?
When to take magnesium in the morning
Taking magnesium in the morning works well if your goal is:
- Energy and fatigue reduction: Magnesium is a cofactor in the production of ATP, the energy molecule in cells.
- Mental focus and cognitive performance: It participates in neurotransmitter regulation and improves nerve signaling.
- Physical performance: It contributes to normal muscle function and energy metabolism during exercise.
- People with demanding schedules: It supports the stress response from the beginning of the day.
- Morning workouts: It helps muscle activation and prevents cramps during exertion.
Which form works best during the day: Magnesium malate. It combines magnesium with malic acid, a compound involved in the cellular energy cycle. It's a very useful form for active days or workouts.
When to take magnesium at night
Taking magnesium at night makes more sense if your goal is:
- Promoting muscle relaxation: Useful after intense workouts or physically demanding days.
- Supporting rest: It contributes to nervous system regulation and GABA activation.
- Reducing accumulated tension: It helps to wind down after a day of high cognitive load.
- Improving sleep quality: It enhances transitions between sleep stages and the depth of rest.
- Supporting sustained stress phases: It helps the nervous system to deactivate before sleep.
Which form works best at night: Magnesium bisglycinate. It binds the mineral to two glycine molecules, an amino acid with a calming effect on the nervous system. It is the most recommended form for rest.
Quick table: what time to choose based on your goal
| Goal | Best time | Recommended form |
|---|---|---|
| Energy and mental focus | Morning | Malate |
| Physical performance | Before exercise | Malate |
| Rest and relaxation | Night | Bisglycinate |
| Post-workout recovery | Night | Bisglycinate |
| Sustained stress | Night or divided doses | Bisglycinate + taurate |
| Cardiovascular and nervous health | Anytime | Taurate |
| Consistent daily intake | Anytime | Combined |
What if I don't have a specific goal?
This is a very common situation. Many people take magnesium simply because they know their diet doesn't meet the recommended 300-420 mg daily, or because they notice they live under sustained stress and want to take care of their basic health.
In that case, it's not so much a question of morning or night: it's about consistency. The important thing is:
- Maintain a daily intake without skipping days.
- Choose the time frame that best fits your routine, so it's sustainable.
- If it bothers your stomach early in the day, it's better at night.
- If your main goal is rest or relaxation, also better at night.
The most frequent mistake is not choosing the wrong time. It's thinking of magnesium as something occasional, taking it only when you "can't sleep" or when you "have cramps." Magnesium works best as a sustained routine, not as a rescue.
Practical cases: examples by profile
If you train in the morning
Magnesium in the morning, ideally in malate form or a combined formula. Supports muscle function and energy production during training.
If you train in the late afternoon/evening
Magnesium at night, preferably bisglycinate. Helps muscle recovery and relaxes the nervous system after exertion.
If you get to night with a racing mind
Magnesium at night, preferably bisglycinate. Combined with other active ingredients (like ashwagandha or 5-HTP) if the activation is significant.
If you have nocturnal cramps
Magnesium at night, bisglycinate. If cramps are very frequent, it is also advisable to review hydration, electrolytes, and activity level.
If you spend the day feeling tired or lacking spark
Magnesium in the morning, malate. And also review rest, iron, vitamin D, and general habits.
If you live under sustained stress
Magnesium divided between two doses or a combined formula. Consistency makes the most difference for this profile.
If you have menstrual cycles with marked premenstrual symptoms
Daily magnesium throughout the cycle, not just the days before. Combined with vitamin B6 and other hormonal active ingredients if PMS is intense. We discuss this here: Premenstrual Syndrome: what makes it worse and how to relieve it realistically.
Why the formula matters more than the exact time
Many people obsess over the time and forget what truly determines the supplement's effect: the quality of the formula.
A good magnesium formula should have:
- Real elemental magnesium, not just total salt weight.
- Clearly declared chemical form (bisglycinate, malate, taurate…).
- Vitamin B6, which improves mineral utilization.
- No unnecessary excipients (titanium dioxide, sweeteners, excessive stearates).
- Manufacturing with quality standards (ISO 22000, GMP).
A formula with several forms of magnesium in the same capsule is what best fits for daily and consistent use. That's what we combine in TriMagnesio: bisglycinate, malate, and taurate, plus vitamin B6. A versatile formula that works whether you take it day or night.
How long does magnesium take to work?
It depends on the goal:
- Cramps and muscle tension: sometimes a few days.
- General feeling of rest: 1-2 weeks.
- Premenstrual symptoms: 1-2 full cycles.
- Recovery of cellular magnesium levels: between 4 and 8 weeks of consistent intake.
If you take it for two days and don't notice anything, it's not that it "doesn't work." It's that you need time and consistency. Magnesium acts cumulatively, not immediately.
How to combine magnesium with other supplements
Magnesium combines well with most active ingredients. These are the most common:
- With melatonin: yes, they are compatible and complement each other to improve rest. We discuss it here: Melatonin or magnesium for sleep.
- With vitamin D3: yes, and in fact magnesium activates vitamin D3 at the cellular level. Highly recommended combination.
- With ashwagandha: compatible. One to regulate cortisol, the other for neuromuscular relaxation.
- With vitex agnus-castus (for PMS): compatible and synergistic for hormonal regulation.
- With antibiotics, diuretics, or bisphosphonates: space at least 2 hours apart to avoid affecting absorption.
Conclusion
There's no magic hour to take magnesium. There's a time that fits better with each goal, and a chemical form that enhances that effect:
- Morning if you're looking for energy, focus, or physical performance (malate).
- Night if you're looking for rest, relaxation, or recovery (bisglycinate).
- Anytime if your priority is to maintain a consistent intake (combined formula).
The decisive factor is not the exact time. It's consistency, the chemical form, and the quality of the formula.
If you're looking for a versatile option you can take at whatever time suits you, discover TriMagnesio: three forms of magnesium (bisglycinate, malate, and taurate) plus vitamin B6, formulated by doctors.
If you have questions about which one is right for you, you can take our test or contact us via WhatsApp: our doctors will guide you at no cost.
Frequently Asked Questions
What is the best time of day to take magnesium?
It depends on the goal. In the morning if you're looking for energy and focus; at night if you're looking for rest and relaxation. If your priority is consistency, the best time is the one that best fits your routine and is easiest to maintain.
Can I take magnesium on an empty stomach?
Yes, but some people experience mild digestive discomfort. If this happens, take it with some food. Bisglycinate is the best tolerated on an empty stomach.
How many times a day can magnesium be taken?
It can be taken in a single dose or divided into two. If the daily dose is high (more than 400 mg of elemental magnesium added via supplements according to EFSA), dividing it improves absorption and reduces the risk of intestinal discomfort.
Is it better to take magnesium before or after training?
Before if you're looking for support for muscle function during exertion (malate form). After if you're looking for recovery and post-workout relaxation (bisglycinate form).
Can I take magnesium every day?
Yes. At recommended doses (250-400 mg of elemental magnesium added via supplements according to EFSA), it is safe for continuous use.
Can magnesium be taken with melatonin?
Yes, they are perfectly compatible and complementary. Melatonin acts on the circadian rhythm and magnesium on neuromuscular and nervous relaxation.
Is it good to take magnesium before bed?
Yes, especially in bisglycinate form. It promotes muscle relaxation, GABA activation, and transition to rest.
Why do some people say magnesium "doesn't work" for them?
The most frequent reasons are: chemical form with low absorption (like oxide), insufficient dose of elemental magnesium, lack of consistency (they stop after a few days), or absence of cofactors like vitamin B6.
Bibliographical references
- De Baaij JH, Hoenderop JG, Bindels RJ. Magnesium in man: implications for health and disease. Physiol Rev. 2015;95(1):1-46.
- EFSA Panel on Dietetic Products, Nutrition and Allergies. Scientific Opinion on the substantiation of health claims related to magnesium. EFSA Journal 2010;8(10):1807.
- Abbasi B, Kimiagar M, Sadeghniiat K, et al. The effect of magnesium supplementation on primary insomnia in elderly. J Res Med Sci. 2012;17(12):1161-1169.
- Veronese N et al. Magnesium and health outcomes: an umbrella review. Eur J Nutr. 2020;59(1):263-272.
- Boyle NB, Lawton C, Dye L. The Effects of Magnesium Supplementation on Subjective Anxiety and Stress. Nutrients. 2017;9(5):429.
- Reno AM, Green M, Killen LG, et al. Effects of Magnesium Supplementation on Muscle Soreness and Performance. J Strength Cond Res. 2022;36(8):2198-2203.
Keep reading: