Can I take Ibuprofen and Magnesium together?
Drug interaction guide
Originally published 12 May 2026
Meets Patient’s editorial guidelines
- DownloadDownload
- Share
- Language
- Discussion
- Audio Version
Taking magnesium and ibuprofen together is generally safe, but magnesium may slightly speed up how quickly your body absorbs ibuprofen. This could mean the painkiller starts working a little faster, but it does not change the overall amount of medicine in your system.
In this article:
Video picks for Drug interactions
Continue reading below
Why this happens
Magnesium acts as an antacid or buffering agent. By slightly increasing the pH (reducing acidity) in the stomach, it can help ibuprofen dissolve more quickly, leading to faster absorption into the bloodstream.
What you should do
Back to contentsYou can take these two together. There is no need to change your dose or timing. However, if you have kidney problems, you should speak to your doctor before taking either of these regularly, as both can affect kidney function.
Continue reading below
Important precautions
Back to contentsAsthma
Do not take ibuprofen if you have asthma, as it can trigger a severe or life-threatening asthma attack.
Pregnancy (Third Trimester)
Avoid ibuprofen if you are more than 20 weeks pregnant, as it can cause serious heart and kidney problems in the unborn baby and reduce amniotic fluid levels.
Kidney Disease
If you have kidney problems, avoid these medicines unless prescribed; magnesium can build up to toxic levels, and ibuprofen can further damage kidney function.
Food and drink warnings
Back to contentsAlcohol
Drinking alcohol while taking ibuprofen can increase the risk of stomach irritation and bleeding. It is best to limit alcohol intake or avoid it if you have a history of stomach issues.
Large meals or high-fibre foods
Taking magnesium supplements with a very large meal or foods very high in fibre may reduce how much magnesium your body absorbs. However, taking it with a small snack can help prevent stomach upset.
Continue reading below
Using other medicines
Back to contentsTaking multiple medicines? Our Medicines Interaction Checker helps you check whether your prescriptions, over-the-counter medicines, and supplements are safe to take together. Simply search for your medicines to see potential interactions and what to do about them.
Disclaimer
This information is for general educational purposes only and should not be relied upon as a substitute for professional medical advice. Always consult your GP, pharmacist, or another qualified healthcare professional before making decisions about your medications. Individual circumstances may vary, and only a healthcare professional who knows your medical history can provide personalised guidance.
Patient picks for Drug interactions

Drug interactions checker
Can I take Atorvastatin and Metformin together?
There is no significant direct interaction between atorvastatin and metformin. Both medications are commonly prescribed together to manage cholesterol and blood sugar levels in patients with type 2 diabetes.

Drug interactions checker
Can I take Lisinopril and Potassium together?
Taking lisinopril and potassium supplements together can cause the levels of potassium in your blood to become dangerously high (a condition called hyperkalaemia). While your body needs potassium for your heart and muscles to work, too much of it can lead to serious heart rhythm problems or even cause the heart to stop. Symptoms of high potassium can include muscle weakness, tingling sensations, or palpitations, but often there are no symptoms until the level is very high.
Continue reading below
Article history
The information on this page is written and peer reviewed by qualified clinicians.
12 May 2026 | Originally published

Ask, share, connect.
Browse discussions, ask questions, and share experiences across hundreds of health topics.

Feeling unwell?
Assess your symptoms online for free
Sign up to the Patient newsletter
Your weekly dose of clear, trustworthy health advice - written to help you feel informed, confident and in control.
By subscribing you accept our Privacy Policy. You can unsubscribe at any time. We never sell your data.