
© Purvesh Photography
May 23, 2026
Marianne Waldenfels
Coffee can affect how well your body absorbs iron, magnesium, and vitamin D. Here’s what to know about taking these supplements
For many people, coffee and supplements are part of their morning routine—often taken one right after the other. But this combination can be problematic, especially when it comes to iron, magnesium, and vitamin D.
Coffee can affect how well the body absorbs certain minerals, particularly iron. Studies show that coffee may significantly reduce iron absorption, while magnesium and vitamin D can also be indirectly affected.
The good news: You don’t have to give up either coffee or supplements. The key is timing.
In short:
Coffee contains caffeine as well as so-called polyphenols and chlorogenic acids. These substances can in the intestine interact with minerals and hinder their absorption. This is particularly relevant for iron.
With magnesium, it is more about increased excretion via the kidneys. Vitamin D, in turn, is mainly absorbed poorly when taken only with black coffee and without a meal.
It's important that:
For iron, the relationship is best documented. In a classic human study reduced a cup coffee iron absorption from a meal by about 39%. With tea, the inhibition was even 64%. The effect is mainly due to the polyphenols in coffee, which bind iron and make it less available in the intestine.

Matcha vs. Oolong: Which tea is healthier, provides more energy — and what does the research say?
Marianne Waldenfels
Still relevant for daily supplementation practice is a study with iron-deficient women: Coffee reduced the absorption of an oral iron supplement by about 54%, and when coffee was consumed with breakfast, the absorption decreased by 66%. This shows that people with low ferritin, menorrhagia, or vegetarian diets should be cautious.
If you can't tolerate iron on an empty stomach, a small meal may be appropriate – best after consulting a doctor.
With magnesium, the mechanism is different than with iron. Caffeine has a slight diuretic effect and can increase renal excretion of magnesium. In a study Studies show that higher doses of caffeine increase magnesium excretion in urine for adult women - the effect can last for several hours after consumption.
This doesn’t automatically mean that every coffee drinker will have a magnesium deficiency. With a normal diet, the effect is usually small. However, with high coffee consumption (several cups daily) and simultaneous insufficient magnesium intake, a small but persistent 'leak' can add up.
Many people tolerate magnesium best in the evening.
This has several advantages:
Additionally, foods rich in magnesium help, such as:
Vitamin D is absorbed differently than iron or magnesium.
Since it is fat-soluble, the body needs some fat to absorb it optimally. Taking it only with black coffee and an empty stomach is therefore not ideal.
Coffee is not considered a strong direct blocker here. Nevertheless, some studies indicate that high caffeine levels could affect vitamin D signaling pathways.
In practice, this means:
If you don't want to give up coffee in the morning, these options work particularly well:
Coffee and Dietary supplements can generally be combined well. The crucial factor is primarily the correct timing.
Iron is the most sensitive, as its absorption can significantly decrease with coffee. In the case of magnesium, it's more about a possible increased excretion, while vitamin D is better absorbed, especially with a meal.
Anyone who follows these simple rules can continue to enjoy coffee – without unnecessarily diminishing the effects of important supplements.
Ideally, 1–2 hours apart. Coffee can significantly reduce iron absorption if taken at the same time.
In principle, yes. However, caffeine can slightly increase magnesium excretion. Many people prefer to take magnesium in the evening.
Directly only slightly. Vitamin D is better absorbed with a fatty meal than with just black coffee.
Iron is particularly sensitive to coffee. Magnesium and vitamin D are less critical but also benefit from some distance.
No. The timing of intake is crucial. With a bit of time in between, coffee and dietary supplement mostly combine without issues.