Can I take Esomeprazole and Magnesium together?
Drug interaction guide
Originally published 25 Jan 2026
Meets Patient’s editorial guidelines
- DownloadDownload
- Share
- Language
- Discussion
Taking esomeprazole for a long time (usually more than three months) can lower the levels of magnesium in your blood. This can lead to symptoms like tiredness, muscle spasms, or an irregular heartbeat. Additionally, if you take magnesium as an antacid or supplement at the same time as esomeprazole, it might slightly interfere with how well the medicine is absorbed.
In this article:
Continue reading below
Why this happens
Esomeprazole reduces stomach acid. The body needs a certain level of acidity to absorb magnesium from food and supplements efficiently. Over time, this reduced absorption can deplete the body's magnesium stores. Furthermore, magnesium-containing antacids can physically bind to or change the environment for esomeprazole, potentially reducing its effectiveness if taken at the exact same time.
What you should do
If you are taking esomeprazole long-term, your doctor may want to check your magnesium levels with a blood test. If you are taking a magnesium supplement or antacid, try to leave a gap of at least 2 hours between taking it and your esomeprazole dose. Seek medical advice if you experience muscle twitches, tremors, or a racing heart.
Continue reading below
Important precautions
Severe diarrhoea
Esomeprazole can increase your risk of serious bowel infections, such as C. difficile. If you develop severe or persistent watery diarrhoea, fever, or stomach pain, contact your doctor immediately.
Long-term use (over 1 year)
Taking this medicine for a long time can lead to weakened bones (osteoporosis) and increased risk of fractures, as well as low magnesium levels in your blood. Your doctor may need to monitor your mineral levels.
Kidney disease
If you have kidney problems, you must not take magnesium supplements without medical supervision, as your kidneys may not be able to clear excess magnesium from your blood, leading to toxic levels.
Food and drink warnings
Alcohol
While alcohol does not directly interact with esomeprazole, it can increase stomach acid production and irritate the stomach lining, which may worsen the symptoms you are taking esomeprazole to treat.
Dairy products and high-calcium foods
Large amounts of calcium (found in milk, cheese, and yoghurt) can interfere with how your body absorbs magnesium. If you are taking a magnesium supplement, try to avoid taking it at the same time as a high-calcium meal or calcium supplement.
Continue reading below
Using other medicines
Taking 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

Treatment and medication
Can I take Idapamide and Ramipril together?
Taking indapamide and ramipril together can cause your blood pressure to drop too low, especially when you first start the combination. This can make you feel dizzy, lightheaded, or faint. It can also put extra strain on your kidneys.

Treatment and medication
Can I take Evana heavy period relief and Mefenamic acid together?
Taking these two medicines together significantly increases your risk of serious stomach problems, such as stomach ulcers, bleeding, or irritation of the stomach lining. It can also put extra strain on your kidneys.
Continue reading below
Article history
The information on this page is written and peer reviewed by qualified clinicians.
25 Jan 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.