Prilosec is one of the most familiar medicines in the world. You can buy it next to the toothpaste at any pharmacy, millions of people take it every day, and many of them have been taking it for years without anyone asking whether they still need it. It works very well for what it was designed to do. But it is also a powerful drug that changes how your whole digestive system works, and that has consequences most people never hear about.
This guide pulls together what the research actually shows about Prilosec, also sold as generic omeprazole. It covers how it works, what it is meant to treat, the common and serious side effects, the long-term risks (and how strong the evidence is for each one), the rebound heartburn many people get when they stop, who genuinely needs to stay on it, and how to use it as safely as possible. Every claim is linked to its source so you can check it yourself.
The short version
- Prilosec is a proton pump inhibitor (PPI). It switches off the tiny pumps in your stomach lining that make acid. It is the strongest type of acid reducer you can buy without a prescription.
- It is very effective for real acid problems such as frequent heartburn, reflux damage to the food pipe and stomach ulcers.
- It is overused. Many people take it for years without a clear reason, and the over-the-counter version is only meant for 14-day courses.
- Long-term use is linked with real risks, including low vitamin B12, low iron, low magnesium, gut infections, changes to gut bacteria and fractures. Most of these links come from observational studies, and the risk is mainly with long-term or high-dose use.
- The largest randomized trial was reassuring about many feared harms, but it still found a possible increase in gut infections.
- Stopping can cause rebound heartburn for a few weeks, even in people who never had heartburn before.
- Some people truly need it long term. Never stop a prescription PPI without talking to your doctor.
What is Prilosec?
Prilosec is the brand name for omeprazole, the first drug in a class called proton pump inhibitors. It was first approved in the United States in 1989, according to its prescribing information. Other PPIs work the same way, including esomeprazole (Nexium), lansoprazole (Prevacid) and pantoprazole (Protonix).
Omeprazole comes in two main forms:
- Prilosec OTC and store brands. These are 20 mg delayed-release tablets sold without a prescription for frequent heartburn, which the Drug Facts label defines as heartburn on 2 or more days a week.
- Prescription omeprazole. These come in several strengths and are used for a wider range of conditions, sometimes for months or years, under a doctor's supervision.
We compare the two in detail in Prilosec OTC vs prescription omeprazole.
How Prilosec works
Your stomach lining contains millions of parietal cells. Each one is packed with proton pumps that push acid into your stomach. That acid makes the stomach very acidic, which helps break down food and kill many of the germs you swallow.
Omeprazole blocks those pumps directly. Because the pumps are the last step in making acid, blocking them is more powerful than blocking just one of the signals that turn them on (which is what H2 blockers like Pepcid do). That is why PPIs are significantly more effective and longer-acting than H2 blockers, as a review in Clinical Drug Investigation explains.
Two practical things follow from this:
- It is not instant. The OTC label says Prilosec is not for immediate relief and may take 1 to 4 days for full effect.
- The effect is big. A once-daily PPI dose keeps the stomach above pH 4 for roughly 10 to 16 hours a day, according to an analysis of PPI potency by Graham and Tansel. For a large part of every day, your stomach is far less acidic than nature designed it to be.
What Prilosec is meant to treat
Omeprazole is approved for conditions where stomach acid is doing damage or causing persistent symptoms. According to the prescribing information, these include:
- Gastroesophageal reflux disease (GERD), including healing and maintaining healing of erosive esophagitis (acid damage to the food pipe)
- Duodenal and gastric (stomach) ulcers
- Helicobacter pylori infection, as part of a combination with antibiotics
- Rare conditions where the stomach makes far too much acid, such as Zollinger-Ellison syndrome
- Frequent heartburn, for the OTC version, in 14-day courses
For these conditions, the benefit is real and often large. The American College of Gastroenterology's 2022 GERD guideline still recommends PPIs as a cornerstone of treatment, including an 8-week trial for typical reflux symptoms.
The overuse problem
The issue is not that Prilosec is useless. The issue is that it is often taken far longer than needed, or for symptoms it does not treat. Researchers writing in JAMA Internal Medicine noted estimates that between 25% and 70% of PPI prescriptions have no appropriate indication, and that use frequently continues longer than intended.
The American Gastroenterological Association (AGA) agrees. Its 2022 clinical practice update says every patient on a PPI should have a regular review of why they are taking it, and anyone without a definite reason for long-term use should be considered for a trial of stopping.
The American College of Gastroenterology's 2022 reflux guideline goes further: it recommends attempting to stop the PPI in patients whose classic reflux symptoms respond to an 8-week trial (ACG GERD Guideline). In other words, the official recommendation is not to stay on it forever by default.
Common side effects
Most people tolerate omeprazole well in the short term. In clinical trials listed on the prescribing information, the most common side effects were:
- Headache (7%)
- Abdominal pain (5%)
- Nausea (4%)
- Diarrhea (4%)
- Vomiting (3%)
- Gas (3%)
For people with IBS, those gut side effects matter because they overlap with the symptoms you may already have. We cover them in depth in Omeprazole side effects and Does omeprazole cause diarrhea, bloating or gas?
Serious warnings on the label
The FDA-approved label for omeprazole lists several serious warnings that most people never read. According to the current prescribing information, these include:
- Acute tubulointerstitial nephritis, a type of kidney inflammation that can happen at any point during treatment
- Clostridioides difficile (C. diff) diarrhea
- Bone fractures of the hip, wrist and spine, mainly with high doses or use for a year or longer
- Severe skin reactions
- Cutaneous and systemic lupus, either new or a flare of existing disease
- Vitamin B12 deficiency with long-term use
- Low magnesium, which can cause muscle spasms, irregular heartbeat and seizures
- Fundic gland polyps in the stomach, with risk rising with use beyond one year
- Masking stomach cancer: the label notes that feeling better on omeprazole does not rule out a stomach cancer
The label also flags drug interactions. The most important is with the blood thinner clopidogrel (Plavix). The FDA warns against taking omeprazole with clopidogrel because it can significantly reduce clopidogrel's active form. The label also advises considering a temporary stop of omeprazole during high-dose methotrexate treatment.
Long-term risks: what the research shows
Here is where it gets important for anyone who has been on Prilosec for months or years. Below is a summary of the main long-term concerns, with the strength of the evidence for each.
Low vitamin B12
Stomach acid is needed to free vitamin B12 from the protein in food, as the NIH Office of Dietary Supplements explains. In a study of more than 25,000 people with B12 deficiency published in JAMA in 2013, taking a PPI for 2 years or more was linked with 65% higher odds of deficiency. Full details: Omeprazole and vitamin B12 deficiency.
Low iron
Acid also helps you absorb iron from food. A study of 77,046 people with iron deficiency in Gastroenterology (2017) found that 2 or more years of PPI use was linked with about 2.5 times the odds of iron deficiency, and the risk fell after people stopped. See Can Prilosec cause low iron or anemia?
Low magnesium
The FDA warned in 2011 that prescription PPIs may cause low magnesium when taken for long periods, in most cases longer than one year. In about a quarter of the cases it reviewed, magnesium supplements alone did not fix the problem and the PPI had to be stopped. See Omeprazole and low magnesium.
Bone fractures
The FDA added a fracture warning in 2010. A 2019 meta-analysis of 24 studies with over 2 million people found PPI users had about a 20% higher risk of hip fracture (Poly et al.). See Does Prilosec weaken your bones?
Gut infections
This is the risk with the strongest overall support. The FDA warned in 2012 that PPIs may increase the risk of C. diff diarrhea. A meta-analysis of community infections found about 4.8 times the odds of Salmonella and 5.1 times the odds of Campylobacter in PPI users (Hafiz et al., 2018). Even the large randomized trial that found few other harms reported a possible increase in enteric infections. See Omeprazole and C. diff.
Changes to gut bacteria and SIBO
Two large studies in the journal Gut found that PPI users have less diverse gut bacteria and more bacteria from the mouth living in their gut. In one, about 20% of bacterial groups were changed (Imhann et al., 2016). A meta-analysis also linked PPIs with higher odds of small intestinal bacterial overgrowth (Su et al., 2018). These are especially relevant if you have IBS. See How Prilosec changes your gut bacteria and Can omeprazole cause SIBO?
Kidney disease and dementia
These are the scariest headlines, and the evidence is the most mixed. Some observational studies found links, but a large randomized trial and a careful dementia study did not. We break it down in Does Prilosec cause dementia or kidney disease?
How strong is the evidence?
It is important to be honest about this. Most of the long-term risks above come from observational studies. These compare people who happen to take PPIs with people who do not. They can show a link, but they cannot prove the drug caused the problem, because people who take PPIs are often older or sicker to begin with.
The strongest test is a randomized trial. The biggest one ever done on PPI safety, the COMPASS trial, randomly assigned 17,598 people to the PPI pantoprazole or a placebo for about 3 years. It found no significant increase in most of the feared harms, with the possible exception of enteric (gut) infections, according to the results published in Gastroenterology.
So the fair summary is this: PPIs are not the poison some websites claim, and they are not as harmless as their place on the pharmacy shelf suggests. Several risks are on the official label. Others are likely but not proven. The safest approach is to take the lowest dose for the shortest time that controls a real problem. We go deeper in Taking Prilosec for years: what the research really shows.
The rebound effect: why it can be hard to stop
When you block acid for weeks, your stomach adapts by building up its acid-making capacity. When you stop, acid can come back stronger than before for a while. In a randomized trial of 120 healthy volunteers with no heartburn, 44% of those who took esomeprazole for 8 weeks developed heartburn or acid symptoms after stopping, compared with 15% of those on placebo (Reimer et al., 2009).
This is a big reason people get stuck on Prilosec. They stop, the heartburn comes roaring back, and they assume they still need the drug. In reality, rebound is temporary, and the AGA advises warning patients about it before they stop. See Rebound heartburn after stopping Prilosec and How to stop taking omeprazole safely.
Who should stay on it
For some people, the benefits clearly outweigh the risks. The AGA says long-term PPI therapy should generally not be stopped in people with:
- Complicated GERD, such as severe erosive esophagitis, an esophageal ulcer or a narrowing (stricture)
- Barrett's esophagus
- Eosinophilic esophagitis
- Idiopathic pulmonary fibrosis
- A high risk of upper gut bleeding, such as people on aspirin or blood thinners with other risk factors
The AGA also makes a key point: the decision to stop a PPI should be based on whether you still need it, not on fear of side effects alone. Read more in Who should NOT stop taking Prilosec.
How to use Prilosec more safely
- Know your reason. Ask your doctor what condition you are treating and how long you should take it.
- Follow the 14-day rule for OTC use. The Prilosec OTC label says not to use it for more than 14 days or more often than every 4 months unless a doctor directs. See How long can you take Prilosec OTC?
- Take it at the right time. The ACG recommends taking a PPI 30 to 60 minutes before a meal. See Best time to take omeprazole.
- Use the lowest dose that works. The ACG and AGA both support stepping down, such as from twice a day to once a day, when possible.
- Get checked if you are on it long term. Ask about magnesium, vitamin B12 and iron levels, especially if you are tired, numb, crampy or weak.
- Tell every doctor and pharmacist. Mention your PPI, including OTC use, because of drug interactions like clopidogrel and methotrexate.
- Work on the root causes. Weight loss, meal timing and head-of-bed elevation are guideline-backed. See How to reduce reflux without Prilosec.
Prilosec and IBS
Prilosec does not treat IBS. IBS is a disorder of gut-brain communication, not of stomach acid. Yet many people with IBS also take PPIs, sometimes for upper gut symptoms that are not actually acid-related. Because PPIs are linked with bloating, diarrhea, changes in gut bacteria and SIBO, it is worth asking whether yours is still helping. Read Omeprazole and IBS: can acid reducers make symptoms worse?
When to see a doctor
Heartburn medicine can hide warning signs. MedlinePlus advises seeing a doctor if you need antacids on most days, or if you have:
- Trouble swallowing or pain when swallowing
- Weight loss you cannot explain
- Black, tarry or bloody stools
- Vomiting, especially vomiting blood
- Chest pain or shortness of breath
- Fever with belly pain
Chest pain can be a heart problem, not heartburn. If in doubt, get it checked urgently. See also our guide to red flag symptoms.
Frequently asked questions
Is Prilosec bad for you?
Not for everyone. It is an effective, generally well-tolerated drug for real acid problems. The risks rise with long-term and high-dose use, especially for people who take it without a clear reason. The goal is the right person, the right dose and the right duration.
Is it safe to take Prilosec every day?
Prilosec OTC is designed to be taken every day for 14 days, then stopped. Daily use beyond that should be supervised by a doctor who can confirm you still need it and check for side effects.
Can I just stop taking Prilosec?
If you have been on it for more than a few weeks, stopping suddenly can trigger rebound heartburn. The AGA says either tapering or stopping at once can be reasonable, but talk to your doctor first, especially if your PPI is a prescription.
Is omeprazole the same as Prilosec?
Yes. Omeprazole is the active ingredient, and Prilosec is a brand name. Store-brand omeprazole works the same way.
Is Nexium safer than Prilosec?
Not meaningfully. Nexium (esomeprazole) is a close chemical cousin of omeprazole, and both carry the same class warnings. See Prilosec vs Nexium vs Pepcid vs Tums.
The full Prilosec series
- Omeprazole side effects: common, serious and long-term
- Taking Prilosec for years: what the research shows
- Omeprazole withdrawal symptoms
- Omeprazole and alcohol
- Common reflux trigger foods, and how to find yours
Sources
- Omeprazole delayed-release capsules prescribing information. DailyMed.
- Prilosec OTC Drug Facts label. DailyMed.
- Katz PO, et al. ACG Clinical Guideline for GERD. Am J Gastroenterol. 2022. PMC.
- Targownik LE, et al. AGA Clinical Practice Update on De-Prescribing of PPIs. Gastroenterology. 2022. PubMed.
- Moayyedi P, et al. Safety of PPIs based on a large, multi-year randomized trial (COMPASS). Gastroenterology. 2019. PubMed.
- Lam JR, et al. PPI use and vitamin B12 deficiency. JAMA. 2013. PubMed.
- Lam JR, et al. PPI use and iron deficiency. Gastroenterology. 2017. PubMed.
- FDA Drug Safety Communications, as summarized: low magnesium (2011); fractures (2010); C. diff (2012).
- Poly TN, et al. PPIs and risk of hip fracture: meta-analysis. Osteoporos Int. 2019. PubMed.
- Hafiz RA, et al. Community-acquired enteric infection in PPI therapy. Ann Pharmacother. 2018. PubMed.
- Imhann F, et al. PPIs affect the gut microbiome. Gut. 2016. PubMed. Su T, et al. PPIs and SIBO meta-analysis. J Gastroenterol. 2018. PubMed.
- Reimer C, et al. PPI therapy induces acid-related symptoms in healthy volunteers after withdrawal. Gastroenterology. 2009. PubMed.
- Graham DY, Tansel A. Interchangeable use of PPIs based on relative potency. Clin Gastroenterol Hepatol. 2018. PubMed.
- Lazarus B, et al. PPI use and the risk of chronic kidney disease. JAMA Intern Med. 2016. PMC.
- FDA reminder to avoid concomitant use of Plavix and omeprazole. FDA (archived).
- NIH Office of Dietary Supplements. Vitamin B12 fact sheet. MedlinePlus. Taking antacids.
Medical note: This article is for education and does not replace advice from your doctor or pharmacist. Do not stop or change a prescription medicine without talking to your doctor. Trouble swallowing, vomiting blood, black stools, unexplained weight loss or chest pain need prompt medical attention.

