Our Services
Medical Information
Helpful Resources
Published on: 9/13/2026
Yes, long-term daily omeprazole use can lower both magnesium and vitamin B12, though the risk depends on how long you have been taking it, your dose, your diet, and other medications such as diuretics. Low magnesium (hypomagnesemia) usually appears after a year or more of use and may cause muscle cramps, tremors, irregular heartbeat, fatigue, or dizziness, while B12 deficiency develops more slowly and can cause numbness, tingling, weakness, memory changes, or a sore tongue. Because stomach acid is needed to absorb both nutrients, reduced acid production is the underlying reason these levels can fall. Several important factors, warning signs, and monitoring recommendations are outlined below, so review the complete answer rather than the summary alone before making any changes to your medication.
If you have been on omeprazole daily and are noticing cramps, tingling, unusual fatigue, or heart palpitations, it is worth clarifying whether a nutrient deficiency, your reflux itself, or something unrelated is driving your symptoms, since each points to a very different next step. A free, instant, online symptom check can help you organize what you are experiencing, see which possibilities fit best, and understand whether you should ask your doctor for magnesium or B12 blood testing.
Last reviewed for medical accuracy: 09/12/2026
Does daily omeprazole use lower my magnesium or vitamin B12?
Omeprazole is one of the most prescribed proton pump inhibitors (PPIs), commonly used to treat heartburn, gastroesophageal reflux disease (GERD) and stomach ulcers. Like all medications, it carries potential omeprazole side effects—among them, concerns about low magnesium (hypomagnesemia) and vitamin B12 deficiency when taken long-term. This guide reviews what the research shows, who’s most at risk, and practical steps you can take.
Omeprazole works by blocking acid production in your stomach. Less acid can ease reflux symptoms, but stomach acid is also part of how your body:
When acid production is suppressed over months or years, some people develop deficiencies.
Mild hypomagnesemia may be symptom-free. More significant drops can cause:
B12 deficiency can be subtle at first, then progress to:
Discuss duration and dose
• Review with your doctor whether you need continuous omeprazole or if stepping down to a lower dose/alternative therapy is possible.
Periodic blood tests
• Serum magnesium and serum B12 levels can identify subclinical deficiencies before severe symptoms occur.
• Your healthcare provider can recommend how often to test based on your risk factors.
Dietary sources
Supplements when needed
• If tests show low magnesium or B12, your doctor may recommend:
Lifestyle considerations
• Avoid excessive alcohol—can worsen magnesium loss.
• Maintain a balanced diet rich in fruits, vegetables and lean proteins.
• Stay hydrated; adequate water intake supports overall mineral balance.
If you experience any of the following, speak to a healthcare professional promptly:
For non-urgent concerns or symptom guidance, consider a free, online symptom check, using the doctor approved Ubie Symptom Checker.
Omeprazole can be a highly effective way to manage acid-related conditions. For most people, short-term use (weeks to a few months) carries minimal risk of nutrient deficiencies. Risks increase with higher doses and long-term therapy:
Work with your doctor to find the lowest effective dose and duration. If long-term therapy is unavoidable, plan a strategy for monitoring and nutritional support.
Always speak to your doctor about any serious or life-threatening concerns. They can tailor testing and treatment to your individual needs and ensure safe, effective management of your condition.
(References)
* Puri PK, Lountzis NI, Tyler W, Ferringer T. Hydroxychloroquine-induced hyperpigmentation: the staining pattern. J Cutan Pathol. 2008 Dec;35(12):1134-7. doi: 10.1111/j.1600-0560.2008.01004.x. Epub 2008 Aug 23. PMID: 18727667.
* Shrimanker I, Bhattarai S. Electrolytes. 2026 Jan. PMID: 31082167.
* Koyyada A. Long-term use of proton pump inhibitors as a risk factor for various adverse manifestations. Therapie. 2021 Jan-Feb;76(1):13-21. doi: 10.1016/j.therap.2020.06.019. Epub 2020 Jul 9. PMID: 32718584.
* Dries LS, Haefliger R, Seibert BS, de Lima AG, Cardoso CO, Perassolo MS. Cognition, oxidative stress and vitamin B12 levels evaluation on patients under long-term omeprazole use. J Pharm Pharmacol. 2022 Apr 20;74(4):547-555. doi: 10.1093/jpp/rgab001. PMID: 33793790.
* Nightingale JMD. How to manage a high-output stoma. Frontline Gastroenterol. 2022;13(2):140-151. doi: 10.1136/flgastro-2018-101108. Epub 2021 Mar 22. PMID: 35300464; PMCID: PMC8862462.
* Gommers LMM, Hoenderop JGJ, de Baaij JHF. Mechanisms of proton pump inhibitor-induced hypomagnesemia. Acta Physiol (Oxf). 2022 Aug;235(4):e13846. doi: 10.1111/apha.13846. Epub 2022 Jun 14. PMID: 35652564; PMCID: PMC9539870.
* Su J, Chen L, Song N, Li X, Huang J, Duan P. Auricular Point-Pressing With Bean Plus Esomeprazole Magnesium in Relieving Gastrointestinal Dysfunction. Altern Ther Health Med. 2022 Nov;28(8):16-22. PMID: 35839117.
* Choudhury A, Jena A, Jearth V, Dutta AK, Makharia G, Dutta U, Goenka M, Kochhar R, Sharma V. Vitamin B12 deficiency and use of proton pump inhibitors: a systematic review and meta-analysis. Expert Rev Gastroenterol Hepatol. 2023 May;17(5):479-487. doi: 10.1080/17474124.2023.2204229. Epub 2023 Apr 19. PMID: 37060552.
* Teixeira RA, Thue PS, Lima ÉC, Grimm A, Naushad M, Dotto GL, Dos Reis GS. Adsorption of Omeprazole on Biobased Adsorbents Doped with Si/Mg: Kinetic, Equilibrium, and Thermodynamic Studies. Molecules. 2023 Jun 6;28(12). doi: 10.3390/molecules28124591. Epub 2023 Jun 6. PMID: 37375145; PMCID: PMC10302240.
* Xiao Y, Fang J, Zhou Y, Zhou T. Detection and warning of drug-induced hypomagnesemia: a pharmacovigilance study of the FDA Adverse Event Reporting System. Magnes Res. 2024 Nov 1;38(2):56-69. doi: 10.1684/mrh.2025.0546. PMID: 41003544.
We would love to help them too.
For First Time Users
We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.
Was this page helpful?
Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.