Evidence-based·Updated November 14, 2026·How we grade evidence

Omeprazole

MedicationProton pump inhibitor (over the counter and prescription)

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…

You have heartburn 2 or more days a week and use it as a 14-day OTC course as the label directs, or as your doctor prescribes
A doctor diagnosed erosive esophagitis, GERD or an ulcer and prescribed it for a set course
You need long-term NSAIDs and your prescriber uses omeprazole to protect your stomach

Probably skip if…

You want instant heartburn relief: the OTC label says it can take 1 to 4 days to work fully
You have warning signs such as trouble swallowing, vomiting blood, black stools, unexplained weight loss or chest pain with sweating: the OTC label says to see a doctor, not self-treat
You take clopidogrel, a rilpivirine-containing HIV medicine, St. John's wort, rifampin or high-dose methotrexate without your prescriber's review

Evidence at a glance

healing erosive esophagitis and relieving reflux heartburn

Strong Evidence
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

Good Evidence
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)

Limited Evidence
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 adjunct
Strong Evidence

A 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).

Effect size
About 84 percent healed with PPIs vs 52 percent with H2 blockers and 28 percent with placebo
Time to effect
4 to 8 weeks for healing; heartburn eases within days
Best fit
Adults with erosive esophagitis or frequent reflux heartburn
Less likely
People whose symptoms are not caused by acid, such as some chest pain or cough

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 adjunct
Good Evidence

Two 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.

Effect size
61 vs 27 percent in remission at 6 months versus placebo; 80 vs 63 percent healed versus ranitidine
Time to effect
4 to 8 weeks for healing
Best fit
People who must continue NSAIDs and have had NSAID-related ulcers or erosions
Less likely
People who can stop the NSAID, for whom the need for long-term omeprazole is a question for their doctor

Bottom line: Heals NSAID ulcers and keeps more people ulcer-free while they continue NSAIDs.

duodenal ulcers caused by H. pylori (with antibiotics)

Disease adjunct
Limited Evidence

Omeprazole 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.

Effect size
Duodenal ulcer recurrence 12.9 vs 64.4 percent versus no treatment (risk ratio 0.20)
Time to effect
10 to 14 day antibiotic course, then healing over weeks
Best fit
Adults with H. pylori-positive duodenal ulcers
Less likely
People with gastric ulcers, where the review found no clear healing benefit

Bottom line: Part of the antibiotic regimen that clears H. pylori and keeps duodenal ulcers from coming back.

How it works

Omeprazole blocks the proton pump, the final step that cells in the stomach lining use to release acid. One dose works best taken before a meal, when the pumps are switching on, and its effect builds over 1 to 4 days, so it is not meant for instant relief. Less acid lets an inflamed esophagus or an ulcer heal and reduces heartburn. The same low-acid state has side effects. Acid helps free vitamin B12 from food, dissolve calcium carbonate and iron salts, and is part of the gut's defense against infections. The liver breaks omeprazole down mainly through the enzymes CYP2C19 and CYP3A4, which is why St. John's wort and some medicines change its levels, and why omeprazole itself affects drugs such as clopidogrel.

How to take it

1. Typical dose
OTC: one 20 mg tablet a day for 14 days. Prescription doses depend on the condition (for example 20 mg once daily for 4 to 8 weeks for erosive esophagitis, 40 mg for gastric ulcer), and your prescriber sets them. For maintenance of healed esophagitis, the label recommends 10 mg once daily for people with liver impairment and for Asian patients.
2. Higher studied dose
A starting dose of 60 mg once daily for rare acid-overproduction conditions such as Zollinger-Ellison syndrome, under specialist care; 40 mg once daily in dual therapy for H. pylori
3. Timing
Before a meal. The OTC label says to swallow it with a glass of water before eating in the morning
4. With food
Take it before eating rather than with food
5. Split dosing
Usually once daily; some H. pylori regimens use 20 mg twice daily
6. How long to try
OTC: 14 days, no more than every 4 months unless a doctor directs. Prescription courses are usually 4 to 8 weeks; longer use is a decision for your doctor, and the label advises the lowest dose and shortest duration appropriate

What to track

Whether heartburn returns or continues after a course (the OTC label says to ask a doctor)
On long-term use: magnesium, vitamin B12 and iron levels as your doctor advises
Muscle cramps, twitching, irregular heartbeat or seizures (possible low magnesium): get medical advice
Watery diarrhea that does not go away (possible C. difficile infection)
New rash, joint pain or sun-sensitive skin patches

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

HeadacheStomach pain, nausea, vomitingDiarrheaGas

Serious risks

Who should avoid it

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

Rilpivirine-containing HIV medicinesCritical

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.

MagnesiumHigh

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 wortHigh

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.

Clopidogrel (Plavix)High

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.

Methotrexate (mainly high doses)High

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.

Vitamin B12Moderate

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 (especially calcium carbonate)Moderate

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.

IronModerate

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.

Zinc (supplements, lozenges and multivitamins with zinc)Moderate

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.

Ginkgo bilobaModerate

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

high

Long-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

high

St. 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

moderate

Omeprazole 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

moderate

Ginkgo 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.

See all 7 Omeprazole interactions →

Choosing a product

What to look for on the label, and what to be skeptical of.

Look for…

Omeprazole 20 mg delayed-release tablets or capsules; the Prilosec OTC label says to swallow tablets whole and not chew, crush or suck them
OTC packs are labeled as 14-day courses for frequent heartburn (2 or more days a week)
Zegerid products also contain sodium bicarbonate, which adds sodium
On supplement labels, the form of calcium (citrate or carbonate) and of iron, which matters when stomach acid is low

Be skeptical of…

"Instant heartburn relief": the OTC label says it may take 1 to 4 days for full effect
Products or advice encouraging daily OTC use beyond 14 days without a doctor
Supplements promising to "replace your acid reducer" for diagnosed GERD, ulcers or Barrett's esophagus

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

Yeomans et al., 1998 · PubMed (1998) link

Hawkey et al., 1998 · PubMed (1998) link

duodenal ulcers caused by H. pylori (with antibiotics)

Ford et al., 2016 · PMC (2016) link

Safety

Prilosec (omeprazole magnesium) prescribing information · DailyMed (FDA label) link

Markovits et al., 2014 · PubMed (2014) link

Prilosec OTC (omeprazole magnesium delayed-release tablets) Drug Facts · DailyMed (FDA label) link

Interaction: St. John's wort

Wang et al., 2004 · PubMed (2004) link

Interaction: Vitamin B12

Lam et al., 2013 · PubMed (2013) link

Miller et al., 2018 · PMC (2018) link

Interaction: Calcium (especially calcium carbonate)

Recker et al., 1985 · PubMed (1985) link

Hansen et al., 2010 · PMC (2010) link

Interaction: Iron

Tran-Duy et al., 2019 · PubMed (2019) link

Interaction: Zinc (supplements, lozenges and multivitamins with zinc)

Ozutemiz et al., 2002 · PubMed (2002) link

Farrell et al., 2011 · PMC (2011) link

Serfaty-Lacrosniere et al., 1995 · PubMed (1995) link

Interaction: Ginkgo biloba

Yin et al., 2004 · PubMed (2004) link

Zadoyan et al., 2012 · PMC (2012) link

Track Omeprazole with Pilora

Set up dose reminders, check interactions, and join the community in the Pilora app.

Evidence-based·Updated Nov 14, 2026·Evidence current as of Nov 14, 2026·How we grade evidence

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.