Best Time to Take Magnesium: Morning, Night, or With Meals?
There's no single best hour. Magnesium works by keeping your levels topped up over time, so consistency matters more than timing. Taking it with a meal reduces stomach upset. Many people prefer the evening, especially if they use it for relaxation or sleep. Keep it at least 2 hours away from certain antibiotics and osteoporosis drugs, and 4 hours from thyroid medication.
Search for the best time to take magnesium and you'll find confident claims for morning, night and everything in between. In reality, magnesium isn't a fast-acting pill. Its benefits come from keeping your body's levels steady over weeks, so the most important factor is taking it every day.
Morning vs night
Evening works well if:
- You take magnesium for relaxation or sleep
- Dinner is your largest meal
- You take a laxative form such as citrate and prefer its effect in the morning
Morning works well if:
- That's when you take your other supplements and won't forget
- You take a form that occasionally gives you loose stools and want to keep nights undisturbed
Either way, the total daily dose matters more than the clock.
With food or without?
Take magnesium with food. Meals reduce the chance of nausea, cramping and diarrhea, which are the most common side effects. If you take more than about 200 mg, splitting it into two doses with different meals is easier on the gut.
Timing around medications
Magnesium binds to some medicines and stops them being absorbed properly:
| Medicine | How to space it |
|---|---|
| Tetracycline antibiotics (doxycycline, minocycline) | Take the antibiotic 2 hours before or 4โ6 hours after magnesium |
| Quinolone antibiotics (ciprofloxacin, levofloxacin) | Same as above |
| Bisphosphonates (alendronate) | At least 2 hours apart |
| Levothyroxine (thyroid hormone) | At least 4 hours apart |
| Gabapentin | Take gabapentin 2 hours after magnesium-containing antacids |
Check other combinations with our interaction checker, and ask your pharmacist if you're unsure.
Timing with other supplements
- Calcium: very high doses compete with magnesium. If you take more than 500 mg of calcium, take it at a different time.
- Zinc: fine together at normal doses. See magnesium and zinc together.
- Vitamin D: no need to separate. Take vitamin D with a meal containing fat.
Does the form change the timing?
Not much. Glycinate is the easiest to take at night because it rarely has a laxative effect. Citrate and oxide can loosen stools, so some people take them in the morning. Compare the forms in magnesium glycinate vs citrate.
The bottom line
The best time to take magnesium is the time you'll stick to, ideally with a meal. Evening suits most people, especially for sleep. What really matters is the daily total (check how much magnesium per day you need) and keeping it away from antibiotics, bisphosphonates and thyroid medication.
Frequently asked questions
Is it better to take magnesium at night?
Evening is popular and convenient, especially for people taking it for sleep. There's no strong evidence that night-time absorption is better.
Can I take magnesium on an empty stomach?
You can, but it's more likely to cause stomach upset or loose stools. Taking it with food is easier on the gut.
Can I take magnesium with coffee?
Yes. Caffeine slightly increases magnesium loss in urine, but at normal coffee intake this isn't a reason to separate them.
Sources
This page is for education and is not a substitute for advice from your doctor. Read our medical disclaimer.