Best time to take iron, magnesium and vitamin D
When to take iron, magnesium and vitamin D, what to keep apart, and why taking them consistently beats perfect timing.

Reviewed by Emma Carter, Senior Health & Nutrition Editor
Most supplement timing advice is either overblown or invented outright. So here is the honest version: of iron, magnesium and vitamin D, only one is genuinely fussy about when you take it.
Iron is that one. It absorbs better on an empty stomach and gets blocked by ordinary things like tea and calcium tablets. Vitamin D asks for one thing only: some fat in your stomach. Magnesium is close to indifferent, whatever the label promises about bedtime. Everything past that is preference, and preference is fine, because the best time to take a supplement is the time you will still be taking it in six months.
The short answer
| Nutrient | Best time | Take with | Keep away from |
|---|---|---|---|
| Iron | Empty stomach, about an hour before food | Water, or a vitamin C source such as orange juice | Tea, coffee, milk, calcium supplements, antacids |
| Magnesium | Any time you will actually remember; evening if you take it to wind down | Food, if it upsets your stomach | Nothing routine, but check the leaflet of any antibiotic or bone medicine you take |
| Vitamin D | With your largest meal | A meal containing some fat | Nothing in particular |
Iron: the one where timing changes the result
Iron absorbs best when there is no food competing with it. NHS guidance on ferrous fumarate says you can take it on an empty stomach, and lists tea, eggs and milk among the things that affect how the medicine works. Antacids and supplements containing calcium, magnesium or zinc are on the same list.
Vitamin C pulls in the other direction. A systematic review of dietary interventions in women with iron-deficiency anemia describes vitamin C as the most powerful promoter of iron absorption, and the same review names calcium and polyphenols, the compounds in tea and coffee, among the inhibitors. That gives you a simple routine: iron with a glass of orange juice, an hour before breakfast, with your coffee saved for later.
If iron makes you feel sick
Plenty of women cannot take iron on an empty stomach without nausea. Take it with a little food instead. You will absorb somewhat less, and you will also keep taking it, which beats a technically perfect dose you abandon in week two.
Food is the compromise. Tea, coffee and a calcium tablet at the same moment are not, so shift those regardless.
What about alternate-day dosing?
The absorption evidence is real. In women with iron-deficiency anemia, fractional iron absorption on alternate days ran 40 to 50 percent higher than on consecutive days, because a dose of iron raises the hormone hepcidin for about 24 hours and hepcidin shuts absorption down (Am J Clin Nutr, 2017).
Better absorption per dose has not clearly translated into faster recovery. An 8-week randomized trial in 200 adults with iron-deficiency anemia compared 120 mg every other day against 60 mg daily (RCT, 2023). Hemoglobin rose 1.05 g/dL on alternate days and 1.36 g/dL on daily dosing, a difference too small to call real. Nausea at week 4 was reported more often in the alternate-day group, not less.
So treat alternate-day iron as a legitimate option to raise with your doctor, especially if daily tablets upset you, rather than a shortcut. Do not rewrite a prescribed regimen on your own. Our iron supplement guide covers forms and doses, and iron-rich foods covers the part of your intake that arrives at dinner.
Magnesium: pick a time you will remember
There is no absorption argument for taking magnesium at a particular hour. Morning, lunch, bedtime: pick one and keep it.
Evening is the common preference, and it is a preference rather than a proven advantage. Women who take magnesium to relax or sleep tend to want it working at night, which is reasonable, though the evidence that timing changes that effect is thin. If mornings are the only thing you reliably remember, mornings win.
Two practical notes. If magnesium loosens your stools or gives you cramps, take it with food and look at your dose: the US upper limit for supplemental magnesium was set at 350 mg a day back in 1997 precisely because diarrhea appears above that in some people. That limit covers supplements, not the magnesium in your food, which does not carry the same problem. Second, forms differ in how gentle they are, which our magnesium guide goes through.
Vitamin D: take it with fat
Vitamin D is fat-soluble. Cleveland Clinic puts it plainly: your body needs fat and oil to dissolve it, and you absorb it more easily with a full meal.
The trial evidence backs the instruction. Thirty-two healthy doctors took a single 50,000 IU dose of vitamin D3, half with a meal containing 25.6 g of fat and half with a meal containing 1.7 g. Blood 25(OH)D was higher in the high-fat group at both 7 and 14 days (J Acad Nutr Diet, 2010).
Morning or evening barely matters. Whether the capsule lands with a real meal does. The common failure is not the hour, it is taking vitamin D with your bedtime medicines, hours after you last ate anything. Your largest meal of the day, whichever one that is, is the safe default. How much you need is a separate question, covered in our vitamin D guide.
What to keep apart from what
- Iron and calcium supplements. Different times of day. Morning iron, evening calcium is the easiest split. Dairy foods are a smaller issue than a calcium tablet swallowed alongside iron, so there is no reason to cut back on yogurt. Details are in our calcium guide.
- Iron and tea or coffee. An hour or two either side of the dose.
- Iron and antacids. Antacids are on the NHS list of medicines that affect ferrous fumarate. Space them, and ask your pharmacist how far apart.
- Magnesium, calcium or iron and certain medicines. Some antibiotics and bone medicines bind to these minerals in the gut. NHS guidance on alendronic acid tells you to take it on an empty stomach, wait at least 30 minutes before any other medicine by mouth, and tell your doctor if you take supplements containing calcium, iron, magnesium or zinc.
That last one deserves a rule rather than a number. Spacing requirements vary by drug, so follow the leaflet that came with your medicine, or ask your pharmacist, instead of applying a figure you read in an article. This is a five-minute question with a definite answer, and worth asking.
Consistency beats clever timing
Here is the part supplement marketing leaves out. The gains from perfect timing are modest, and they only exist if you take the thing at all.
A woman who takes vitamin D with dinner every night does better than one who takes it flawlessly on an empty stomach twice a month. An iron tablet taken with breakfast because that is the only way it stays down does more than a perfect empty-stomach dose you quit after a fortnight. Build the routine around your actual life, then apply the timing rules that fit.
And timing does not answer the prior question. If you have not tested, you are guessing about whether you need the supplement at all, and no schedule fixes that. Test before you supplement, particularly with iron, where taking it when you do not need it brings side effects and no benefit.
The bottom line
Consistency does more for your levels than any timing trick. The rules below are worth following, but they only pay off on top of a routine you can actually keep. A dose taken at an imperfect hour every day beats a flawlessly timed one you take when you remember.
- Iron: empty stomach, roughly an hour before food, with vitamin C. Keep tea, coffee, milk, calcium tablets and antacids away from the dose.
- Take iron with a little food if nausea is the alternative to not taking it.
- Alternate-day iron absorbs better per dose but has not clearly beaten daily dosing on hemoglobin. Ask your doctor rather than switching yourself.
- Magnesium: any consistent time. Evening if you like. With food if your stomach objects.
- Vitamin D: with your largest meal, and one containing some fat.
- Check the leaflet of any antibiotic or bone medicine for spacing, rather than guessing.
- Consistency matters more than any of the above.
If you are taking iron, magnesium or vitamin D and something feels off, whether that is ongoing nausea, loose stools, or no improvement in how you feel after a few months, that is a conversation with your doctor rather than a timing problem to solve alone.
Frequently asked questions
Can I take iron, magnesium and vitamin D at the same time?
Vitamin D and magnesium are fine together, ideally with a meal. Iron is the awkward one, because it absorbs best away from food and away from calcium supplements and antacids. A practical split is iron in the morning before breakfast with a vitamin C drink, and vitamin D with your largest meal, and magnesium whenever suits you.
Should I take magnesium at night?
You can, and many women prefer to, because they take it to wind down or sleep better. There is no absorption reason to choose the evening, so if mornings are easier to remember, take it then. If magnesium upsets your stomach, take it with food.
Does vitamin D have to be taken with food?
It absorbs better that way. Vitamin D is fat-soluble, so your body needs some fat to take it up. In one randomized trial, a single 50,000 IU dose taken with a meal containing 25.6 g of fat produced higher blood 25(OH)D at 7 and 14 days than the same dose with a 1.7 g fat meal. Take it with your largest meal rather than at bedtime.
How long should I leave between iron and tea or coffee?
An hour or two on either side of the dose is the usual advice. NHS guidance on ferrous fumarate notes that tea, eggs and milk can affect how well iron works. You do not need to give up tea or coffee, only move it away from the tablet.
Is alternate-day iron better than taking it daily?
Absorption per dose is better. In women with iron-deficiency anemia, fractional absorption was 40 to 50 percent higher on alternate days than on consecutive days. But an 8-week trial in 200 adults found hemoglobin rose by a similar amount either way. It is a reasonable option to raise with your doctor, particularly if daily iron upsets you, not a change to make alone.
References
- How and when to take ferrous fumarate · NHS
- Iron absorption from supplements is greater with alternate day than with consecutive day dosing in iron-deficient anemic women · PMC / NIH
- Alternate day versus daily oral iron for treatment of iron deficiency anemia: a randomized controlled trial · PMC / NIH
- Effectiveness of Dietary Interventions to Treat Iron-Deficiency Anemia in Women: A Systematic Review of Randomized Controlled Trials · PMC / NIH
- The Best Time of Day To Take Vitamin D · Cleveland Clinic
- Effect of High- versus Low-Fat Meal on Serum 25-Hydroxyvitamin D Levels after a Single Oral Dose of Vitamin D: A Single-Blind, Parallel, Randomized Trial · PMC / NIH
- Perspective: Call for Re-evaluation of the Tolerable Upper Intake Level for Magnesium Supplementation in Adults · PMC / NIH
- Taking alendronic acid with other medicines and herbal supplements · NHS