Stomach Medicines / PPI

Omeprazole

A clear, pharmacist-written guide. Uses, safety, side effects, and common mistakes — all in plain English.

Medicine Snapshot — Omeprazole

Main use

Reducing stomach acid for acid reflux, heartburn (GERD), and stomach protection

Category

Proton Pump Inhibitor (PPI)

Biggest mistake to avoid

Taking omeprazole after eating — it works best taken 30–60 minutes before your first meal of the day

Main warning

Long-term use may reduce magnesium and B12 absorption. It is not a quick fix — it builds up over several days.

When to ask a pharmacist

If you have taken it for more than 8 weeks without a check-in with your provider, or if you have difficulty swallowing or unexplained weight loss

What is Omeprazole?

Omeprazole is a proton pump inhibitor (PPI) — one of the most prescribed medicines in the world. In the United States it is sold over the counter as Prilosec OTC, and is available by prescription as higher-dose Prilosec. It dramatically reduces the amount of acid your stomach produces. It is used both to treat the symptoms of acid reflux and GERD (gastroesophageal reflux disease), and to protect the stomach lining from damage caused by long-term NSAID use.

What is it used for?

  • GERD (gastroesophageal reflux disease) — chronic acid reflux into the esophagus
  • Frequent heartburn and acid indigestion
  • Stomach (peptic) and duodenal ulcers
  • Zollinger-Ellison syndrome — a rare condition causing the stomach to overproduce acid
  • Protecting the stomach in people taking NSAIDs (like ibuprofen or naproxen) long-term
  • As part of combination therapy (triple therapy) to eradicate H. pylori bacteria
  • Erosive esophagitis — damage to the esophagus from chronic acid exposure

How does it work?

The lining of your stomach contains millions of tiny proton pumps — specialized cells that secrete acid. Omeprazole enters these cells and shuts the pump down directly, cutting acid production dramatically. It is what is called a prodrug, meaning it only activates once it reaches the acidic environment inside the pump cells. This is why timing matters so much: taking it 30–60 minutes before a meal — when the pumps are gearing up to digest food — makes it significantly more effective than taking it after you have already eaten.

How do people commonly take it?

  • Take once daily, 30–60 minutes before your first meal of the day (breakfast)
  • Swallow tablets or capsules whole with a glass of water — do not crush or chew
  • If you have difficulty swallowing capsules, some formulations can be opened and the granules dissolved in water — check with your pharmacist
  • OTC dose (Prilosec OTC): 20mg once daily for up to 14 days
  • Prescription doses: 20–40mg daily depending on the condition being treated
  • It can take 1–4 days to feel the full benefit — it is not an antacid and does not work instantly
  • Complete the full course as directed — stopping early may allow symptoms to return

Common side effects

Most people take Omeprazole without any problems, but side effects can happen. The most common ones include:

  • Headache
  • Diarrhea
  • Nausea and stomach discomfort
  • Constipation
  • Gas and bloating

⚠️ More serious — seek help if you notice

  • Low magnesium (hypomagnesemia) — with long-term use; symptoms include muscle cramps, irregular heartbeat, and fatigue
  • Vitamin B12 deficiency — with very long-term use, because stomach acid is needed to absorb B12 from food
  • C. difficile infection — PPIs reduce stomach acid that helps guard against certain gut infections
  • Increased risk of bone fractures — associated with high doses and very long-term use
  • Acute kidney injury or chronic kidney disease — rare, but flagged in long-term observational studies

Important safety points

  • Omeprazole is very effective but should not be taken indefinitely without periodic review from your healthcare provider
  • OTC Prilosec is intended for 14-day courses (up to 3 times per year) — longer use should be supervised by a doctor
  • It is not a substitute for lifestyle changes — elevating the head of the bed, avoiding trigger foods, and weight loss can all reduce reflux
  • Long-term users should have their magnesium and B12 levels checked periodically
  • Omeprazole can interact with clopidogrel (Plavix) — if you are on blood thinners, tell your pharmacist
  • It can mask the symptoms of stomach cancer — new, worsening, or changing symptoms should always be evaluated by a doctor

🩺 Ask a pharmacist or doctor first if you…

You have difficulty swallowing, or food feels like it gets stuck in your chest or throat
You have unintentional weight loss
You have been vomiting blood or passing black or tarry stools
You are taking clopidogrel (Plavix), HIV antiretrovirals, or methotrexate
You have been taking any PPI for more than 8 weeks without a medical review
You are pregnant or breastfeeding
You are 55 or older and have new or changing heartburn symptoms

Common mistakes to avoid

  • Taking omeprazole after a meal — the proton pumps are less active post-meal, so the medicine works far less effectively
  • Expecting it to work like an antacid — it does not neutralize acid already in your stomach, and it takes days to build up fully
  • Stopping abruptly after long-term use — acid production can temporarily rebound (called rebound acid hypersecretion), making symptoms feel worse for a week or two
  • Using it indefinitely without having a doctor review whether you still need it
  • Using it to mask symptoms of a serious underlying condition without further investigation
  • Taking antacids (like Tums or Mylanta) at the exact same time — space them apart

When to get medical advice

  • If you notice difficulty swallowing or feel food sticking in your throat or chest — seek medical evaluation
  • If you experience unexplained weight loss alongside reflux symptoms
  • If you vomit blood, or your stools become black and tarry — this is a medical emergency; go to the ER or call 911
  • If reflux symptoms do not improve after 2–4 weeks of treatment
  • If you experience muscle cramps, weakness, or an irregular heartbeat while on long-term omeprazole — may indicate low magnesium

Related video: Watch the full explainer on the YouTube channel for a spoken walkthrough of Omeprazole — with practical examples and common questions answered. Watch now →

Sources & References

FDA. Omeprazole (Prilosec) Drug Label. U.S. Food and Drug Administration, 2023.

American College of Gastroenterology. GERD Treatment Guidelines. gi.org, 2022.

NIH. Proton Pump Inhibitors. National Institutes of Health, MedlinePlus, 2024.

Moayyedi P et al. Safety of proton pump inhibitors: a systematic review. Gastroenterology, 2019.

More medicine explainers

Browse our full A–Z directory of medicine guides — clear, practical, and pharmacist-written.

Browse medicines →Watch videos →

Educational information only. This website provides general medicine education and is not a substitute for personal medical advice, diagnosis, or treatment. Always consult your pharmacist, doctor, or healthcare professional before making decisions about your medicines. In a US medical emergency, call 911.