Magnesium works the same at 7 a.m. as it does at 10 p.m., so the best time to take it is the time you will actually keep. The NIH Office of Dietary Supplements (ODS) magnesium fact sheet never mentions a time of day. What changes the answer is your form, your dose, and what else sits in your pill organizer.

Is it better to take magnesium in the morning or at night?
Neither slot wins for magnesium on absorption; a steady daily habit and a sensible dose matter far more than the clock. Your kidneys hold more magnesium back when levels run low, ODS explains, so one skipped dose is not a crisis. Timing only starts to matter in a few situations:
| Your situation | Best time | Why |
|---|---|---|
| Glycinate for a wind-down routine | Dinner or bedtime | Gentle on the gut |
| Citrate, oxide or chloride | Breakfast or lunch | Most likely to loosen stools |
| Two or more capsules a day | Split: breakfast and dinner | You absorb a smaller share of one big dose |
| Morning levothyroxine | Evening | Its label wants a 4-hour gap from antacids |
| You keep forgetting | Same meal, every day | Consistency beats the clock |
How much magnesium do you need a day?
Most adults need 310 to 420 mg of magnesium a day from food and supplements combined, per the recommended dietary allowances (RDAs) published by ODS. Supplements have their own ceiling: 350 mg a day for anyone 9 or older.
| Group | Daily need, all sources | Supplement ceiling |
|---|---|---|
| Men 19-30 / 31+ | 400 mg / 420 mg | 350 mg |
| Women 19-30 / 31+ | 310 mg / 320 mg | 350 mg |
| Pregnancy 19-30 / 31-50 | 350 mg / 360 mg | 350 mg |
| Teens 14-18 | 410 mg boys, 360 mg girls | 350 mg |
| Children 4-8 | 130 mg | 110 mg |
| Children 1-3 | 80 mg | 65 mg |
Source: NIH Office of Dietary Supplements. Download this table as a CSV file.
The ceiling can sit below the need, and that is not a typo. ODS counts only supplements and medicines toward it, because healthy kidneys clear extra magnesium from food.
Now the math labels skip. An older NHANES analysis cited by ODS (2003 to 2006 data) found adults who skipped supplements still averaged 268 mg (men) and 234 mg (women) of magnesium from food. For a woman over 30, that leaves a gap near 90 mg a day. For a man, about 150 mg. A 100 to 200 mg capsule covers it. A 500 mg tablet overshoots the ceiling before you have counted your multivitamin.
Low magnesium intake is still common: ODS reports that 48% of Americans eat less than their estimated average requirement (NHANES 2013 to 2016), with men over 70 and teenagers the most likely to fall short.
When is night the better time for magnesium?
Night suits magnesium glycinate best, mainly because it is gentle on the stomach and fits an evening routine. That is a practical reason, not a pharmacological one. The sleep evidence is a few small trials in older adults, covered in our magnesium citrate guide. Still choosing a form? See magnesium glycinate vs citrate and how to pick a magnesium glycinate. For sleep itself, read our melatonin dosage guide.
When is morning the better time for magnesium?
Morning or lunchtime is the smarter slot for magnesium forms that loosen stools, because you want a bathroom nearby. ODS names carbonate, chloride, gluconate and oxide as the forms most often linked to diarrhea, since unabsorbed salts pull water into the gut. Citrate doubles as a saline laxative, as our citrate explainer shows. Found this out at 2 a.m.? Move the dose to breakfast. Shopping for regularity instead? Browse our Gut & Digestive Health range.
Should you split your magnesium dose?
Splitting a larger magnesium dose is worth it, because your gut absorbs a smaller share as a single dose grows. In a 1991 Journal of Clinical Investigation study, Fine and colleagues gave healthy volunteers a meal with rising amounts of magnesium. The share absorbed fell from 65% at the lowest intake to 11% at the highest, close to 1,000 mg.

So 150 mg at breakfast and 150 mg at dinner beats 300 mg at once, and it leaves less unabsorbed magnesium in your gut, the thing ODS blames for diarrhea. A bonus from the same study: magnesium from almonds absorbed as well as the soluble supplement form. Food counts. Blends are trickier, and our magnesium complex breakdown shows how to read them.
How should you time magnesium around your medicines?
Magnesium binds a few common medicines in the gut, so spacing matters more than morning versus night. The rules from ODS and the FDA-approved Synthroid label:
- Alendronate (Fosamax) and other oral osteoporosis pills: keep magnesium at least 2 hours apart.
- Doxycycline, ciprofloxacin, levofloxacin: take the antibiotic 2 hours before or 4 to 6 hours after magnesium.
- Levothyroxine (Synthroid): the label wants 4 hours from iron, calcium and antacids, magnesium hydroxide included. Supplements are not named, so ask your pharmacist. An evening magnesium dose usually settles it.
- Proton pump inhibitors such as esomeprazole (Nexium), taken for over a year, can lower magnesium, per ODS. Ask about a blood test.
- Kidney disease: ask your doctor first, since ODS says weakened kidneys cannot clear the excess.
More clashes live in which vitamins and supplements should not be taken together. Timing vitamin D too? See the best time to take vitamin D.
Frequently asked questions
Can I take 400 mg of magnesium at night?
Not as a routine supplement unless your doctor says so. 400 mg is above the 350 mg adult ceiling ODS lists for supplements, and the excess is what causes diarrhea. If it was prescribed, split it across two meals.
What are the signs of low magnesium?
ODS lists loss of appetite, nausea, fatigue and weakness as early signs, then numbness, tingling, cramps and abnormal heart rhythms. They overlap with many other conditions, so get a blood test, not a guess.
Does magnesium from food count toward the 350 mg limit?
No. The 350 mg limit covers magnesium from supplements and medicines only, per ODS. Healthy kidneys handle the magnesium in your spinach and almonds.
Is it safe to take magnesium every day?
For most healthy adults, yes, as long as supplements stay within the 350 mg daily ceiling ODS lists. With kidney disease, ask your doctor first.
This article is general information, not medical advice. Talk to your doctor or pharmacist about your own situation.