Skip to content
Sign in

Doctor said my magnesium and vitamin B12 are low and asked how long I have been on acid tablets. Is there a link?

An AskHim answer: what is known, what depends on you, and what only a clinician can decide.

From AskHim’s editorial team. The team wrote this question to open the topic. It is not anyone’s submission, and nobody’s own words are in it.

Editorially reviewed Version 1 · Last reviewed 11 November 2026 · English

The short explanation

Yes, there can be a link. Long-term use of some acid-reducing medicines, particularly proton pump inhibitors, has been associated with lower levels of magnesium and vitamin B12 in some people. Stomach acid helps release vitamin B12 from food, and these medicines can also affect how magnesium is absorbed. That is why your doctor asked how long you have used them. Your doctor may review whether you still need the acid tablets, whether a lower strength or a different medicine would work, and whether you need treatment to correct the low levels. Do not stop suddenly without advice, as acidity can rebound.

What depends on your situation

The parts of this that change from person to person. Uncertainty is stated, not hidden.

  • Low B12 can also come from a vegetarian diet, diabetes medicines such as metformin, alcohol, or conditions affecting the stomach or gut.
  • Low magnesium can cause muscle cramps, tiredness and, in more severe cases, heart rhythm problems.
  • Regular reviews of long-term medicines are a good habit, especially after fifty.

What this answer cannot determine

The boundary of online education. These need a clinician who can see you.

  • This cannot tell whether your acid tablets are the cause of your low levels. Your doctor will consider other causes too.

Questions for your clinician

Take these with you. You can add any of them to an appointment card.

  1. Are my acid tablets causing the low levels?
  2. Do I still need them, or can the dose be lowered?
  3. How will my levels be corrected?
  4. Are there other causes we should check?

When to seek help

Clinician-approved guidance for this topic. When in doubt, being seen is never the wrong choice.

Emergency — call 112 now

  • Call 112 if you have chest pain, fainting, a fit, or a very irregular heartbeat.

Book an appointment soon

  • See your doctor within a few days if you have muscle cramps, numbness or palpitations.

Raise it at a routine appointment

  • Follow up with your doctor to review your acid tablets and recheck your levels.

Sources

The evidence this explanation is built on.

  1. Acid reflux (GER and GERD) in adults National Institute of Diabetes and Digestive and Kidney Diseases (NIH)
  2. Indigestion NHS

Who wrote and reviewed this

Every AskHim answer names its author. A clinically reviewed answer also names the clinician who signed it off — if no clinician is named below, it has not been clinically reviewed.

Author
AskHim Editorial (AI-assisted)
Clinical reviewer
Nobody yet No clinician has signed this answer off. That is what the “Editorially reviewed” badge means, and why it does not say “Clinically reviewed”. It was written and checked by AskHim’s editorial team against the sources listed above, and it is queued for a clinician who works in this area.
Review status
Editorially reviewed
Last reviewed
Last reviewed 11 November 2026
Version
1

Correction history

Substantive changes are listed, not quietly edited away.

No corrections have been made since this answer was first published.

Did this answer your question?

Whatever you choose is filed against this version of the answer, never against you, and it is never shown as a count.

Explain more simply

“Explain more simply” asks which part was hard to follow, so the author knows what to rewrite. “My question is different” tells the editorial team this answer missed your point, then lets you ask your own question privately. Nothing about you is sent with either.


Saving, following up and reporting are all private. Nothing you do on this page is visible to other readers or to the doctor who wrote it, unless you ask a question.