If you bought omeprazole over the counter, the FDA-approved limit is 14 days per course, with no more than three courses per year (one every four months) unless a doctor says otherwise. Prescription omeprazole follows different rules and can be taken for weeks, months, or even indefinitely depending on the condition being treated. The answer to “how long is too long” depends entirely on why you’re taking it.
OTC Omeprazole: The 14-Day Rule
Over-the-counter omeprazole (sold as Prilosec OTC and store-brand equivalents) is a 20 mg delayed-release tablet taken once a day for 14 days. The FDA is specific: you should not take it for more than 14 days or repeat a 14-day course more often than every four months unless directed by a doctor. That means a maximum of three courses per year on your own.
This limit exists because OTC omeprazole is designed for frequent heartburn, defined as heartburn that occurs two or more days per week. It is not meant for immediate relief of occasional heartburn, and it’s not meant to be taken continuously. If you find yourself reaching for it more often than the label allows, that’s a signal to talk to a doctor about what’s driving your symptoms.
Prescription Use: Weeks to Months
When a doctor prescribes omeprazole, treatment courses are longer and doses can be higher. The most common prescription scenarios have well-established timelines.
For erosive esophagitis, where stomach acid has damaged the lining of the esophagus, a standard course runs four to eight weeks. Studies have shown that up to eight weeks of daily omeprazole is effective at healing the damage and relieving symptoms, even in cases that didn’t respond to other acid-reducing medications. Some people need a second course or ongoing lower-dose maintenance therapy to keep the esophagus healed.
For stomach ulcers caused by H. pylori bacteria, omeprazole is typically part of a combination regimen with antibiotics lasting 10 to 14 days. For ulcers caused by pain medications like ibuprofen or naproxen, treatment usually runs four to eight weeks.
When Lifelong Use Is Recommended
Some conditions genuinely require omeprazole for years or even a lifetime. The American Gastroenterological Association identifies several situations where long-term PPI therapy is appropriate.
Barrett’s esophagus is one of the clearest examples. In this condition, chronic acid exposure has changed the cells lining the lower esophagus, raising the risk of esophageal cancer. The AGA recommends that patients with Barrett’s esophagus take a long-term PPI whether or not they have active heartburn symptoms. Patients with severe erosive esophagitis or peptic strictures (narrowing of the esophagus from scarring) also benefit from ongoing therapy to maintain healing and control symptoms.
People taking daily NSAIDs like aspirin or ibuprofen who are at high risk for stomach bleeding may also be prescribed omeprazole indefinitely as a protective measure. In all of these cases, the benefits of continued acid suppression outweigh the potential risks of long-term use.
Risks of Taking It for Years
The concerns about long-term omeprazole use are real but tend to be modest in scale. They become more relevant the longer you take it, particularly beyond one year.
Kidney Damage
Research from Washington University School of Medicine found that prolonged PPI use can lead to gradual, silent kidney damage, even in people who show no warning signs. Over five years of follow-up, more than half of the chronic kidney disease cases linked to PPI use occurred in people who never had an acute kidney problem first. The damage developed slowly, with no obvious symptoms along the way. This doesn’t mean everyone who takes omeprazole will develop kidney disease, but it does mean kidney function can erode without you noticing.
Bone Fractures
Two large meta-analyses found that long-term PPI use (more than one year) increases fracture risk by 10 to 40 percent above baseline, particularly at the hip, wrist, and spine. The UK’s drug safety authority has noted that short-term OTC use at recommended doses is not expected to significantly raise fracture risk. The concern is specifically about prolonged, continuous use.
Nutrient Absorption
Omeprazole reduces stomach acid, and stomach acid plays a role in absorbing certain nutrients. Vitamin B12 and magnesium are the two most commonly affected. People on long-term therapy may need periodic blood work to check these levels, and some will need supplements. Low magnesium can cause muscle cramps, irregular heartbeat, and fatigue. Low B12 can lead to nerve problems and anemia over time.
Gut Infections
Stomach acid serves as a barrier against harmful bacteria. With less acid, there’s a possible increase in the risk of Clostridioides difficile infection, a serious gut infection that causes severe diarrhea. A recent meta-analysis found that risk increases modestly with both higher doses and longer duration of PPI therapy, though the overall absolute risk remains low for most people.
Should You Stop Taking It?
The AGA recommends that every patient on a PPI have their ongoing need for it reviewed regularly, ideally by their primary care provider. If there’s no clear, documented reason to continue, a trial of stopping should be considered. Importantly, the AGA also says the decision to stop should be based on whether you still need it, not on fear of side effects alone. If you have a legitimate indication like Barrett’s esophagus, the benefits of staying on it outweigh the risks.
For people without a strong ongoing indication, the most common reason doctors keep refilling omeprazole is simply inertia. Nobody reassessed. If you’ve been taking it for months or years without a conversation about why, that conversation is worth having.
How to Stop Safely
If you and your doctor decide to discontinue omeprazole, there are two approaches: tapering gradually or stopping abruptly. Both are considered acceptable. Some doctors prefer stepping down from twice-daily dosing to once daily before stopping, while others move directly to discontinuation.
Either way, you should expect a temporary rebound in acid production. Your stomach has been suppressed for a while, and when the medication stops, it tends to overcompensate by producing more acid than it did before you started. This rebound effect is temporary, typically lasting a few weeks, but it can feel like your original symptoms are coming back with a vengeance. That surge of acid doesn’t mean you need to restart the medication. Over-the-counter antacids or an H2 blocker (like famotidine) can help bridge the gap while your stomach recalibrates.

