You can take magnesium at any time of day. No study has shown that morning or night absorbs better. Most people take it in the evening because the sleep studies dosed it then and it fits a wind-down routine, especially magnesium glycinate. Take magnesium citrate or oxide when a laxative effect will not be a problem, and take any form with food if it upsets your stomach. Consistency matters more than the hour.
Key takeaways
- There is no proven best time of day to take magnesium. Pick the time you will keep.
- Evening is a sensible default for sleep and relaxation, mostly because that is how trials gave it.
- Citrate and oxide pull water into the gut. Time them away from long commutes or meetings.
- Food is optional but helps if magnesium causes nausea or loose stools.
- The US upper limit for magnesium from supplements is 350 mg a day; the EU limit is 250 mg.
Magnesium has become the supplement people recommend to each other for everything from poor sleep to leg cramps to a stressful week. It is also one of the most argued-about when it comes to timing. Some swear by a morning dose for energy, others by a bedtime dose for sleep.
Both camps are a little right, for reasons that have nothing to do with the clock. Your body absorbs magnesium the same way at 8 a.m. and 10 p.m. What changes is how each form behaves in your gut and what you are taking it for.
Morning or night: what the research says
No trial has compared morning and evening magnesium head to head. What we do have are studies on magnesium for sleep, and those gave it in the evening:
- A 2012 trial in 46 older adults with insomnia gave 500 mg of magnesium daily for eight weeks. Compared with placebo, people fell asleep faster, slept more efficiently and had higher melatonin levels.
- A 2021 meta-analysis pooled three small trials with 151 older adults. Magnesium shortened the time to fall asleep by about 17 minutes on average, but the authors rated the evidence as low quality.
- A 2025 placebo-controlled trial of magnesium bisglycinate, 250 mg of elemental magnesium taken before bed for four weeks, found a modest improvement in insomnia symptoms.
So evening is a reasonable default if sleep is your reason for taking it. For which form, how much and how to combine it with melatonin, see magnesium for sleep. It is not proof that magnesium works better at night, and if you take it for any other reason, the best time is the one you will remember.
Taking magnesium daily. Taking it with food if it upsets your stomach. Choosing a gentler form if you get loose stools.
Evening dosing for sleep, because that is how trials gave it. Splitting a larger dose between two meals.
Claims that morning magnesium gives energy or that night dosing absorbs better.
The best time to take magnesium by goal
| Your goal | Good time | Form people usually choose | Why |
|---|---|---|---|
| Sleep and relaxation | 30 to 60 min before bed | Glycinate | Gentle on the gut; matches how sleep trials dosed it |
| Constipation | When you will be near a bathroom, often evening or morning | Citrate or oxide | Draws water into the bowel; effect can start within hours |
| Leg cramps | Evening | Any well-tolerated form | Cramps often strike at night, though evidence for benefit is weak |
| Topping up a low diet | With any meal | Citrate, glycinate or a multivitamin | Absorption is what matters, not the hour |
| Taking it with other supplements | Wherever it fits | Any | It combines well with vitamin D and calcium at normal doses |
A word on cramps: a 2020 Cochrane review concluded that magnesium is unlikely to help typical night-time cramps in older adults. It may still be worth trying in specific situations, such as pregnancy, but go in with modest expectations.
The best time by form
Different magnesium salts carry different amounts of magnesium and behave differently in the gut. That, more than timing, is what to plan around.
| Form | Elemental magnesium (approx.) | Gut effect | Typical timing |
|---|---|---|---|
| Glycinate (bisglycinate) | 14% | Gentle | Evening |
| Citrate | 16% | Mild laxative | Morning or whenever a bathroom is near |
| Oxide | 60% | Stronger laxative, lower absorption | With food, away from bedtime if it disturbs sleep |
| Malate | 15% | Gentle | Morning or midday |
| Chloride | 12% | Moderate | With food |
| L-threonate | 7 to 8% | Gentle | Evening, sometimes split |
| Taurate | 9% | Gentle | Any time |
Percentages are approximate and vary with the exact salt and water content. Always check the label for the amount of elemental magnesium, which is the number that counts toward daily intake. For a deeper comparison, read magnesium glycinate vs citrate.
With food or on an empty stomach?
Magnesium absorbs with or without food. The reason to take it with a meal is comfort: the most common side effects are diarrhea, nausea and cramping, and food softens them. NIH notes that the upper limit for supplemental magnesium exists mainly because of these digestive effects, which are more likely with forms such as carbonate, chloride, gluconate and oxide.
If you take magnesium at bedtime and it sits badly, have it with a small snack or move it to dinner.
How much is too much?
This guide does not recommend a dose, but the reference numbers are useful context. Note that the upper limit applies only to magnesium from supplements and medicines, not food.
| Men | Women | |
|---|---|---|
| US RDA, ages 19 to 30 | 400 mg | 310 mg |
| US RDA, 31 and older | 420 mg | 320 mg |
| US upper limit from supplements | 350 mg | 350 mg |
| EU upper limit from supplements | 250 mg | 250 mg |
Germany's Federal Institute for Risk Assessment goes a step further and suggests splitting supplements above 250 mg into at least two doses. That is a good tip anyway: two smaller doses at lunch and bedtime are easier on the gut than one large one.
Taking magnesium with other supplements
- Vitamin D: fine together. Magnesium is involved in converting vitamin D to its active forms.
- Calcium: fine at normal doses. Evidence that they compete is mixed.
- Zinc: fine at normal doses. Only very high zinc, around 142 mg a day, reduces magnesium absorption.
- Iron: many planners, including ours, keep minerals away from iron as a precaution. Iron in the morning and magnesium at night does this automatically.
Magnesium also binds some medicines. NIH notes that tetracycline and fluoroquinolone antibiotics should be taken at least 2 hours before or 4 to 6 hours after magnesium, and bisphosphonates for osteoporosis at least 2 hours apart. If you take either, ask your pharmacist to fit magnesium into your schedule.
An evening magnesium routine
For someone taking magnesium for sleep alongside a basic stack
How long until magnesium works?
It depends on why you take it. A citrate or oxide dose for constipation can work within hours. Sleep trials ran for four to eight weeks before measuring results, so give it at least a month before judging. If you were low in magnesium, refilling body stores takes longer still. Our guide to how long supplements take to work compares magnesium with other common supplements.
Who should be careful
People with kidney disease should not take magnesium supplements without medical advice, because healthy kidneys are what clear the excess. Very high intakes, usually above 5,000 mg a day from laxatives or antacids, can cause magnesium toxicity. That will not happen with a normal supplement, but it is another reason to add up what you take across products.

Put magnesium where it fits, then forget about remembering
SuppCue places magnesium in your evening or bedtime slot, reminds you on time and shows a short guide on how to take it.
Frequently asked questions
What is the best time to take magnesium glycinate?
Most people take magnesium glycinate in the evening, often 30 to 60 minutes before bed, because it is gentle on the stomach and fits a sleep routine. A 2025 trial that found a modest improvement in insomnia symptoms gave it at that time. Morning works too if that is easier to remember.
Should I take magnesium in the morning or at night?
Either. Absorption does not depend on the time of day. Choose night if you take it for sleep or relaxation, and morning or midday if you are more likely to remember it with breakfast or lunch.
Does magnesium make you sleepy?
Not like a sleeping pill. Some people find it relaxing, but it does not cause drowsiness the way sedatives do, so morning use is fine.
Should magnesium be taken with food?
It can be taken with or without food. Taking it with a meal lowers the chance of nausea and loose stools, which are the most common side effects.
How long before bed should I take magnesium?
There is no tested optimum. Thirty to sixty minutes before bed is common and is what recent sleep trials used.
Can I take magnesium and vitamin D together?
Yes. They do not compete, and magnesium is involved in activating vitamin D in the body. Take vitamin D with a meal that has some fat.
Is it OK to take magnesium every day?
For most healthy adults, yes, within the upper limit for supplements (350 mg a day in the US). People with kidney disease should only take magnesium with medical advice, because their kidneys may not clear the excess.
Should I take magnesium citrate at night?
You can, but citrate has a mild laxative effect that can start within hours. If that disturbs your sleep, move it to the morning or switch to glycinate for evening use.
Sources
Every figure on this page comes from the sources below. We check them when we update the page.
- NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals.
- Abbasi B, et al. The effect of magnesium supplementation on primary insomnia in elderly: a double-blind placebo-controlled clinical trial. J Res Med Sci. 2012;17(12):1161-1169.
- Mah J, Pitre T. Oral magnesium supplementation for insomnia in older adults: a systematic review and meta-analysis. BMC Complement Med Ther. 2021;21:125.
- Schuster et al. Placebo-controlled trial of magnesium bisglycinate (250 mg elemental) for insomnia symptoms. Nature and Science of Sleep, 2025.
- Garrison SR, et al. Magnesium for skeletal muscle cramps. Cochrane Database Syst Rev. 2020;9:CD009402.
- EFSA. Overview on Tolerable Upper Intake Levels.
This page is general information, not medical advice. It does not replace a doctor or pharmacist, especially if you are pregnant, take prescription medicine, or have a health condition.