balncBalnc home
Get early access
Guide

When to take supplements: timing for vitamin D, magnesium, iron, B12 and calcium

Updated · 7 sources

Supplement timing is the practice of taking each nutrient when your body absorbs it well and away from things that block it. Take vitamin D and calcium carbonate with food, keep iron apart from calcium, and space magnesium, iron and calcium from certain medicines. Vitamin B12 has no specific meal-timing rule.

Does it matter when you take supplements?

Yes, for some nutrients. Timing matters when food changes absorption, as with vitamin D and calcium carbonate, or when two nutrients compete, like calcium and iron [1][3][5]. The strictest timing rules involve medicines, because magnesium, calcium and iron can interfere with certain drugs and need to be taken hours apart [2][3][5].

Vitamin D is fat-soluble, and having fat in your gut at the same time improves its absorption [1]. Vitamin B12 is water-soluble [4]. Magnesium, iron and calcium are minerals, so those labels do not apply to them [2][3][5].

Adult daily targets and timing at a glance (ages 19 and older, from NIH fact sheets)
NutrientAdult RDA (men / women)Upper limit (UL)Take withAvoid taking with
Vitamin D15 mcg (600 IU) / 15 mcg (600 IU) to age 70; 20 mcg (800 IU) after 70 [1]100 mcg (4,000 IU) [1]A meal with some fat [1]Orlistat; ask your doctor about statins, steroids or thiazide diuretics [1]
Magnesium400-420 mg / 310-320 mg, by age [2]350 mg from supplements and medicines only [2]No meal or time-of-day rule [2]Bisphosphonates (2 hours apart); tetracycline or quinolone antibiotics (2 hours before or 4-6 hours after) [2]
Iron8 mg / 18 mg (19-50), 8 mg (51+); 27 mg in pregnancy [3]45 mg [3]Empty stomach, or a little food if needed; vitamin C may help [3][6]Calcium, milk, antacids (wait 2 hours); levothyroxine (4 hours apart); caffeine, high-fiber foods [3][6]
Vitamin B122.4 mcg / 2.4 mcg [4]None set [4]No meal-timing rule [4]No spacing rule; acid reducers and metformin can lower absorption [4]
Calcium1,000 mg / 1,000 mg (19-50); 1,000 mg / 1,200 mg (51-70); 1,200 mg after 70 [5]2,500 mg (19-50); 2,000 mg (51+) [5]Carbonate with food; citrate with or without; 500 mg or less per dose [5]Iron supplements; levothyroxine (4 hours apart); quinolone antibiotics (2 hours apart) [3][5]

When should you take vitamin D?

Take vitamin D with a meal or snack that contains some fat. Vitamin D is fat-soluble, and fat in the gut enhances its absorption, although some is absorbed even without it. Adults need 15 mcg (600 IU) a day through age 70 and 20 mcg (800 IU) after that, with an upper limit of 100 mcg (4,000 IU) [1].

Supplements contain either vitamin D2 or D3. Both raise blood levels, but D3 raises them more and keeps them higher for longer [1].

Vitamin D toxicity is almost always caused by supplements, and it can lead to high blood calcium (hypercalcemia). Taking calcium supplements together with vitamin D may increase the risk of some side effects [1].

The weight-loss drug orlistat reduces vitamin D absorption, and corticosteroids such as prednisone impair vitamin D metabolism. High vitamin D intakes might reduce the potency of some statins. Thiazide diuretics combined with vitamin D might raise blood calcium, especially in older adults [1].

When is the best time to take magnesium?

The NIH fact sheet sets no meal or time-of-day rule for magnesium. What matters more is the form, the dose, and spacing it from certain medicines. Adult men need 400 to 420 mg a day and women 310 to 320 mg. The 350 mg upper limit counts supplements and medicines only, not magnesium from food [2].

Forms that dissolve well in liquid are absorbed better. Magnesium aspartate, citrate, lactate and chloride tend to be more bioavailable than magnesium oxide and sulfate [2].

High supplement doses often cause diarrhea, nausea and cramping, most commonly with the carbonate, chloride, gluconate and oxide forms. The risk of toxicity rises with poor kidney function [2].

Take magnesium at least 2 hours before or after oral bisphosphonates such as alendronate. Take tetracycline or quinolone antibiotics at least 2 hours before, or 4 to 6 hours after, a magnesium supplement. Long-term use of proton pump inhibitors, and some diuretics, can lower magnesium levels [2].

How should you take iron and calcium, and can you take them together?

Take them at different times. Calcium might reduce the absorption of iron, so experts suggest taking calcium and iron supplements at different times of day. Iron is best absorbed on an empty stomach, while calcium carbonate works best with food and calcium citrate can be taken either way [3][5][6].

Iron can cause cramps, nausea and diarrhea, so you may need to take it with a small amount of food [6]. Vitamin C enhances absorption of nonheme iron, the form in plants and fortified foods, and some providers suggest taking iron with vitamin C or orange juice [3][6]. Wait at least 2 hours after milk, calcium or antacids before taking iron, and avoid taking it with caffeine or high-fiber foods [6].

Adult men need 8 mg of iron a day, and women need 18 mg from ages 19 to 50, then 8 mg. The upper limit is 45 mg, and vegetarians need 1.8 times more because plant iron is less bioavailable [3]. Iron can reduce levothyroxine absorption, so labels advise keeping them 4 hours apart. Keep iron away from children, since accidental iron overdose is a leading cause of fatal poisoning in children under 6 [3].

Adults need 1,000 mg of calcium a day, and women over 50 and everyone over 70 need 1,200 mg. The upper limit is 2,500 mg through age 50 and 2,000 mg after [5]. Absorption is highest at 500 mg or less per dose, so split larger amounts. Calcium can interfere with levothyroxine (keep calcium carbonate 4 hours apart), quinolone antibiotics (2 hours apart) and the HIV drug dolutegravir (take it 2 hours before or 6 hours after calcium) [5].

When should you take vitamin B12?

Take vitamin B12 whenever it is easiest to remember. It is water-soluble, the NIH fact sheet gives no meal-timing rule, and no upper limit has been set because it has low potential for toxicity. Adults need 2.4 mcg a day, rising to 2.6 mcg in pregnancy and 2.8 mcg while breastfeeding [4].

Absorption is about 50% at small doses, but only about 2% of a 500 mcg dose and 1.3% of a 1,000 mcg dose [4]. Absorption does not appear to vary by form, and oral and under-the-tongue products seem equally effective [4].

B12 in food is bound to protein and needs stomach acid to be released, while B12 in supplements and fortified foods is already free [4]. Vegans and vegetarians are at higher risk of deficiency, and fortified foods or supplements can substantially reduce that risk. Acid reducers such as omeprazole or cimetidine can interfere with B12 absorption from food, and the diabetes drug metformin might lower B12 levels [4].

How do you build a daily supplement schedule?

Group supplements by what they need: vitamin D and calcium carbonate with meals, iron on its own and away from calcium, and anything that interacts with your medicines spaced by the recommended hours. Then check the plan with your doctor or pharmacist, especially if you take prescription drugs [1][3][5].

If you log supplements in Balnc, it reads their labels from the NIH Dietary Supplement Label Database, which captures the information printed on supplement labels sold in the United States [7], and tracks your intake against the RDA values in the NIH fact sheets. Either way, this guide is general information, not medical advice. Talk to your doctor or pharmacist before starting a supplement, especially if you are pregnant, have a chronic condition or take prescription medicine.

  1. Iron: take it on an empty stomach or with a little food, at least 2 hours away from calcium, milk and antacids [6].
  2. Vitamin D: take it with a meal that contains some fat [1].
  3. Calcium: take carbonate with meals or citrate at any time, in doses of 500 mg or less [5].
  4. Magnesium: keep it at least 2 hours from bisphosphonates, and follow the 2-hour-before or 4-to-6-hours-after rule for certain antibiotics [2].
  5. Vitamin B12: take it at any convenient time [4].
  6. Thyroid medicine (levothyroxine): keep iron and calcium carbonate at least 4 hours away [3][5].

Quick answers

Can I take calcium and iron at the same time?

It is better not to. Calcium might reduce the absorption of iron, so experts suggest taking calcium and iron supplements at different times of day. MedlinePlus advises waiting at least 2 hours after milk, calcium or antacids before taking an iron supplement, which also keeps iron on a fairly empty stomach.

Should vitamin D be taken with food?

Yes, ideally with a meal that contains some fat. Vitamin D is fat-soluble, and fat in the gut enhances its absorption, although some is absorbed without it. The adult RDA is 15 mcg (600 IU) through age 70 and 20 mcg (800 IU) after that, with an upper limit of 100 mcg (4,000 IU).

Is it better to take iron on an empty stomach?

Iron is best absorbed on an empty stomach, but it can cause cramps, nausea and diarrhea. If that happens, taking it with a small amount of food can help. Vitamin C or orange juice may improve absorption, while milk, calcium, antacids, caffeine and high-fiber foods should be kept apart from your dose.

Can you take too much vitamin B12?

No upper limit has been set for vitamin B12 because it has low potential for toxicity, and the body does not store excess amounts. Absorption also falls at high doses, to about 2% of a 500 mcg dose and 1.3% of a 1,000 mcg dose. Most adults need 2.4 mcg a day.

What is the upper limit for magnesium supplements?

For adults, the upper limit is 350 mg a day from supplements and medicines combined. It does not include magnesium from food, which is why it can be lower than the RDA of 310 to 420 mg. High supplement doses commonly cause diarrhea, nausea and abdominal cramping.

Sources

  1. NIH Office of Dietary Supplements. Vitamin D: Fact Sheet for Health Professionals.
  2. NIH Office of Dietary Supplements. Magnesium: Fact Sheet for Health Professionals.
  3. NIH Office of Dietary Supplements. Iron: Fact Sheet for Health Professionals.
  4. NIH Office of Dietary Supplements. Vitamin B12: Fact Sheet for Health Professionals.
  5. NIH Office of Dietary Supplements. Calcium: Fact Sheet for Health Professionals.
  6. MedlinePlus Medical Encyclopedia. Taking iron supplements. Reviewed July 3, 2025.
  7. NIH Office of Dietary Supplements. Dietary Supplement Label Database (DSLD): About.

This guide is general information, not medical advice. Talk to your doctor or a registered dietitian before changing how you eat, fast or supplement, especially if you are pregnant, take medication or manage a medical condition.

More guides

Start with what you already track.

Balnc is in private beta. The free plan needs no card.

Get early access