
Omeprazole
Omeprazole heals erosive esophagitis and ulcers faster than older acid reducers and relieves frequent heartburn. It is sold over the counter and on prescription. Long-term use is linked to low magnesium, low vitamin B12, iron deficiency and fractures, and St. John's wort can make it work less well.
Over-the-counter medication: not a dietary supplement
This is an FDA-approved drug sold without a prescription (some strengths are prescription only). It is not a supplement. The information below is for education only. Ask your doctor or pharmacist before combining it with supplements or other medicines.
Quick decision guide
May help most
Adults with frequent heartburn (OTC, 14-day courses) or a diagnosed condition such as GERD, erosive esophagitis or an ulcer, treated for the time their doctor recommends
Common dosing range
OTC: 20 mg once a day before eating in the morning for 14 days, no more than one course every 4 months unless a doctor directs. Prescription: usually 20 to 40 mg once daily for 4 to 8 weeks depending on the condition, as set by the prescriber
When to expect effects
1 to 4 days for full heartburn effect; 4 to 8 weeks to heal esophagitis or ulcers
Watch out for
Long-term use (more than a year in most cases) is linked to low magnesium and to fractures, and use for more than about 3 years to low vitamin B12; ask your doctor whether to check your levels. The label advises the lowest dose for the shortest time that fits the condition
What is it
Omeprazole is a proton pump inhibitor (PPI), a medicine that strongly reduces stomach acid. It is sold both over the counter (for example Prilosec OTC 20 mg, as a 14-day course for frequent heartburn) and on prescription (Prilosec and generics) for reflux disease (GERD), erosive esophagitis, stomach and duodenal ulcers, and, with antibiotics, H. pylori infection. Zegerid combines omeprazole with sodium bicarbonate. Because stomach acid helps absorb some nutrients and supplements, long-term users often ask about magnesium, vitamin B12, calcium and iron.
Is it worth it for you?
Use this as a quick fit check, not a diagnosis.
Worth considering if…
Probably skip if…
Evidence at a glance
| Goal | Effect | Best fit | Time |
|---|---|---|---|
healing erosive esophagitis and relieving reflux heartburn Strong Evidence | About 84 percent healed with PPIs vs 52 percent with H2 blockers and 28 percent with placebo | Adults with erosive esophagitis or frequent reflux heartburn | 4 to 8 weeks for healing; heartburn eases within days |
healing and preventing ulcers in people who must keep taking NSAIDs Good Evidence | 61 vs 27 percent in remission at 6 months versus placebo; 80 vs 63 percent healed versus ranitidine | People who must continue NSAIDs and have had NSAID-related ulcers or erosions | 4 to 8 weeks for healing |
duodenal ulcers caused by H. pylori (with antibiotics) Limited Evidence | Duodenal ulcer recurrence 12.9 vs 64.4 percent versus no treatment (risk ratio 0.20) | Adults with H. pylori-positive duodenal ulcers | 10 to 14 day antibiotic course, then healing over weeks |
healing erosive esophagitis and relieving reflux heartburn
- Effect
- About 84 percent healed with PPIs vs 52 percent with H2 blockers and 28 percent with placebo
- Best fit
- Adults with erosive esophagitis or frequent reflux heartburn
- Time
- 4 to 8 weeks for healing; heartburn eases within days
healing and preventing ulcers in people who must keep taking NSAIDs
- Effect
- 61 vs 27 percent in remission at 6 months versus placebo; 80 vs 63 percent healed versus ranitidine
- Best fit
- People who must continue NSAIDs and have had NSAID-related ulcers or erosions
- Time
- 4 to 8 weeks for healing
duodenal ulcers caused by H. pylori (with antibiotics)
- Effect
- Duodenal ulcer recurrence 12.9 vs 64.4 percent versus no treatment (risk ratio 0.20)
- Best fit
- Adults with H. pylori-positive duodenal ulcers
- Time
- 10 to 14 day antibiotic course, then healing over weeks
Evidence for 3 uses
AI-assisted evidence assessment. Talk to your doctor before relying on any single supplement.
healing erosive esophagitis and relieving reflux heartburn
Disease adjunctA 1997 meta-analysis of 43 randomized trials (7,635 adults with endoscopy-confirmed erosive esophagitis) found that proton pump inhibitors, the class omeprazole belongs to, healed esophagitis in 83.6 percent of patients on average, compared with 51.9 percent with H2 blockers such as ranitidine and 28.2 percent with placebo. Healing happened about twice as fast (11.7 percent of patients per week versus 5.9 percent), and heartburn relief was faster and more complete (77.4 versus 47.6 percent heartburn-free). The label describes 4 to 8 week courses for erosive esophagitis and says efficacy beyond 8 weeks has not been established; if it has not healed by 8 weeks an extra 4 weeks may be given, repeat 4 to 8 week courses may be considered if it comes back, and the label separately approves maintenance treatment to keep it healed (studied for up to 12 months).
Bottom line: Heals reflux damage to the esophagus faster and more often than older acid reducers.
healing and preventing ulcers in people who must keep taking NSAIDs
Disease adjunctTwo 1998 double-blind trials enrolled people who needed ongoing NSAIDs (such as ibuprofen or naproxen) and had ulcers or many erosions. In ASTRONAUT (541 patients), treatment succeeded at 8 weeks in 80 percent on omeprazole 20 mg versus 63 percent on ranitidine, and 72 versus 59 percent stayed in remission over 6 months. In OMNIUM (935 patients), omeprazole 20 mg succeeded in 76 percent versus 71 percent with misoprostol; during 6 months of maintenance, 61 percent on omeprazole stayed in remission versus 48 percent on misoprostol and 27 percent on placebo, and omeprazole caused fewer side effects.
Bottom line: Heals NSAID ulcers and keeps more people ulcer-free while they continue NSAIDs.
duodenal ulcers caused by H. pylori (with antibiotics)
Disease adjunctOmeprazole is approved with clarithromycin and amoxicillin to clear H. pylori in people with duodenal ulcers. A 2016 Cochrane review of 55 trials found that adding a 1- to 2-week eradication course to an ulcer-healing drug left fewer duodenal ulcers unhealed (12.4 vs 18.7 percent) and, compared with no treatment, sharply cut duodenal ulcer recurrence (12.9 vs 64.4 percent). The review rated this evidence low to very low quality, and found no clear benefit for healing gastric ulcers. The benefit comes from the whole regimen, not omeprazole alone.
Bottom line: Part of the antibiotic regimen that clears H. pylori and keeps duodenal ulcers from coming back.
How it works
How to take it
What to track
Bottom line: Before breakfast, for the shortest course that works, with a doctor's plan for anything long term.
Safety
Know the common side effects, key cautions, and who should avoid it.
Common side effects
Serious risks
Low magnesium: reported rarely after at least 3 months, in most cases after a year of use. Serious cases involved muscle spasms (tetany), abnormal heart rhythms and seizures, and can lower calcium and potassium too. A community study of 95,205 people found PPI use linked to about 1.7 times the odds of low magnesium and 3.8 times the odds of severe low magnesium (an association, not proof of cause).
Fractures of the hip, wrist or spine: observational studies link high-dose (several doses a day) and long-term (a year or more) PPI use to higher fracture risk.
Clostridioides difficile diarrhea, especially in hospitalized patients; persistent watery diarrhea needs medical attention.
Kidney inflammation (acute tubulointerstitial nephritis), which can occur at any point during use.
Severe skin reactions (such as Stevens-Johnson syndrome and DRESS) and drug-induced lupus, mostly skin lupus, which usually improves within 4 to 12 weeks after the PPI is stopped by the doctor.
Fundic gland polyps (usually harmless stomach polyps), more likely with use beyond a year.
Who should avoid it
- People allergic to omeprazole or other benzimidazole PPIs
- People taking rilpivirine-containing HIV medicines (label contraindication)
- Anyone with trouble swallowing, vomiting blood, bloody or black stools, chest pain with shortness of breath or sweating, or heartburn for more than 3 months should see a doctor rather than self-treat with the OTC product
Pregnancy & breastfeeding
The prescription label says there are no adequate controlled studies in pregnant women, but available epidemiologic data have not shown a higher risk of major birth defects or other adverse outcomes with first-trimester use. The OTC label says to ask a health professional before use if you are pregnant or breastfeeding.
Interactions
Lower stomach acid reduces rilpivirine absorption, which can weaken HIV treatment and encourage resistance. The label lists this combination as a contraindication; talk to your HIV prescriber before taking any PPI, including OTC omeprazole.
Here the issue is depletion: long-term omeprazole can lower blood magnesium, rarely enough to cause cramps, heart rhythm problems or seizures. The label says most cases needed magnesium replacement and stopping the PPI, and that doctors may check magnesium before and during long-term use, especially with digoxin or diuretics. Ask your doctor whether to check your level before adding a supplement.
St. John's wort speeds up the liver enzymes that break down omeprazole. In 12 healthy men, 14 days of St. John's wort cut omeprazole blood levels (AUC) by about 38 to 44 percent, which can weaken acid control. The label says to avoid using them together; talk to your doctor or pharmacist before combining them.
Omeprazole blocks CYP2C19, the enzyme that turns clopidogrel into its active form, which reduces its anti-clotting effect even when doses are taken 12 hours apart. The label says to avoid the combination and to consider other options; your prescriber decides.
PPIs may raise and prolong methotrexate levels, possibly leading to toxicity. The label suggests prescribers consider pausing the PPI around high-dose methotrexate in some patients; that is a decision for your care team.
Stomach acid helps release B12 from food, so long-term acid suppression can lower absorption. The label says daily use for a long time (for example more than 3 years) may lead to B12 deficiency, and in a large US study 2 or more years of PPI supply was linked to 1.65 times the odds of deficiency (an association). Ask your doctor whether to check your level.
Calcium carbonate needs acid to dissolve. In a small study of fasting people who make no stomach acid (achlorhydria, not omeprazole users), absorption from calcium carbonate was very low while calcium citrate absorbed well, and carbonate absorbed normally when taken with breakfast. In a trial of omeprazole 40 mg a day for 30 days in 21 postmenopausal women eating their usual meals, calcium absorption did not fall. Long-term, high-dose PPI use is also linked to fractures in observational studies, which the label warns about. Ask your doctor or pharmacist which calcium form and timing suit you.
The label lists iron salts among products whose absorption depends on stomach acid, so omeprazole can reduce how much iron you absorb. In a UK study of 26,806 people with iron deficiency, continuous PPI use for a year or more was linked to 3.6 times the odds of deficiency (an association). If you take iron, ask your doctor whether to check your iron level.
Omeprazole lowers stomach acid, and a week of it significantly reduced absorption of a zinc sulfate dose in 14 healthy volunteers; long-term PPI users absorbed far less supplemental zinc than healthy controls. Zinc from a meal was not affected in a short-term study, so if you take omeprazole long term and rely on zinc, ask your doctor whether your zinc status should be checked.
In 18 healthy Chinese adults, 12 days of ginkgo lowered omeprazole blood levels, apparently by speeding up CYP2C19, the enzyme that clears it, but a manufacturer-sponsored study of a standardized extract in 18 healthy adults with no slow CYP2C19 metabolizers found no relevant change. The label warns that stronger CYP2C19 inducers can substantially lower omeprazole levels, so ask your doctor or pharmacist before combining and report any return of reflux symptoms.
Documented interactions
Evidence-graded pair pages with sources, dosing notes, and timing guidance, a complement to the narrative section above.
Warnings (7)
+ magnesium
highLong-term omeprazole use (typically more than a year, occasionally sooner) can lower body magnesium, likely by impairing active intestinal magnesium transport through the TRPM6/TRPM7 channels. The FDA issued a formal Drug Safety Communication in 2011 warning that prescription proton pump inhibitors can cause hypomagnesemia, with serious cases involving abnormal heart rhythm, muscle spasm (tetany), and seizures. Esomeprazole (Nexium) carries the same label warning.
+ st. john's wort
highSt. John's wort induces the liver enzymes CYP3A4 and CYP2C19 that break down omeprazole. Taking the two together speeds up omeprazole clearance, lowers its blood levels, and can weaken its acid-suppressing effect, potentially undermining treatment of GERD, ulcers, or H. pylori eradication. The Prilosec and Nexium labels both say St. John's wort can substantially decrease omeprazole or esomeprazole levels and to avoid the combination; the measured study used omeprazole.
+ calcium
moderateOmeprazole strongly suppresses stomach acid, and calcium carbonate (the most common supplemental form) needs acid to dissolve. In people who make no stomach acid at all (achlorhydria, not omeprazole users), calcium carbonate taken on an empty stomach was poorly absorbed while calcium citrate was absorbed well, and carbonate was absorbed normally with breakfast. In a trial of omeprazole 40 mg a day for 30 days in 21 postmenopausal women eating their usual meals, calcium absorption did not fall. Long-term, high-dose proton pump inhibitor use is linked in observational studies to hip, wrist and spine fractures, which the FDA label warns about. Esomeprazole (Nexium), the S-isomer of omeprazole, carries the same fracture warning on its label; the absorption studies did not test it.
+ ginkgo
moderateGinkgo may speed up CYP2C19, the liver enzyme that breaks down omeprazole, which would lower omeprazole blood levels. In 18 healthy Chinese adults, 12 days of ginkgo significantly lowered omeprazole levels and raised its breakdown product, with the largest shift in people whose CYP2C19 works slowly. A later study sponsored by the maker of a standardized extract, in 18 healthy Caucasian adults with no slow CYP2C19 metabolizers, found no relevant change in CYP2C19 activity, and no study has checked whether acid control or symptoms change. No study has tested ginkgo with esomeprazole (Nexium), which is also cleared mainly by CYP2C19.
Choosing a product
What to look for on the label, and what to be skeptical of.
Look for…
Be skeptical of…
Frequently asked questions
Does omeprazole lower magnesium?⌄
It can, rarely, after at least 3 months and usually after a year or more. Serious low magnesium can cause muscle spasms, irregular heartbeat or seizures. If you take omeprazole long term, especially with a diuretic or digoxin, ask your doctor whether to check your magnesium level.
Can omeprazole cause vitamin B12 deficiency?⌄
Long-term daily use (for example more than 3 years, per the label) may reduce B12 absorption from food, and a large study linked 2 or more years of PPI use to a higher risk of deficiency. Ask your doctor whether to check your B12 level, especially if you are older, vegetarian or also take metformin.
Can I take St. John's wort with omeprazole?⌄
The label says to avoid the combination. In a study of healthy men, St. John's wort lowered omeprazole blood levels by about 40 percent, which can make it work less well. Talk to your doctor or pharmacist before combining them.
Which calcium supplement works best if I take omeprazole?⌄
Calcium carbonate needs stomach acid; in a small study of people who make no stomach acid, it absorbed poorly on an empty stomach but normally with breakfast, while calcium citrate absorbed well even on an empty stomach. Ask your doctor or pharmacist which form and timing suit you, and talk about bone health if you use omeprazole long term.
How long can I take Prilosec OTC?⌄
The OTC label says one tablet a day for 14 days, with no more than one 14-day course every 4 months unless a doctor directs. If you need it more often, or heartburn continues, see a doctor; frequent heartburn can have causes that need checking.
References by claim
healing erosive esophagitis and relieving reflux heartburn
Chiba et al., 1997 · PubMed (1997) link
healing and preventing ulcers in people who must keep taking NSAIDs
duodenal ulcers caused by H. pylori (with antibiotics)
Ford et al., 2016 · PMC (2016) link
Safety
Interaction: St. John's wort
Wang et al., 2004 · PubMed (2004) link
Interaction: Calcium (especially calcium carbonate)
Interaction: Iron
Tran-Duy et al., 2019 · PubMed (2019) link
Interaction: Zinc (supplements, lozenges and multivitamins with zinc)
Track Omeprazole with Pilora
Set up dose reminders, check interactions, and join the community in the Pilora app.
Disclaimer: This page summarizes published research and FDA labeling for educational purposes and is not medical advice. Follow the label, and ask your doctor or pharmacist before combining this medicine with supplements or other medicines.
