Most people take omeprazole 40 mg for 4 to 8 weeks, depending on the condition being treated. This is a higher dose typically reserved for more serious acid-related problems, and it’s not meant to be taken indefinitely without a clear medical reason. How long you stay on it depends entirely on why you’re taking it.
Treatment Timelines by Condition
The 40 mg dose is most commonly prescribed for active gastric ulcers and severe erosive esophagitis, where the lining of the stomach or esophagus has visible damage. For gastric ulcers, the standard course is 4 to 8 weeks. Severe esophagitis usually heals within 8 weeks at this dose.
If you’re taking omeprazole as part of a combination therapy to clear an H. pylori bacterial infection (a common cause of ulcers), the timeline is much shorter. That course typically runs just 1 to 2 weeks, after which the omeprazole may continue alone for several more weeks to allow the ulcer to finish healing.
There is one scenario where long-term use at 40 mg or higher is expected: rare conditions that cause the stomach to overproduce acid, such as Zollinger-Ellison syndrome. In these cases, patients have safely taken omeprazole for years. A study following 116 patients with Zollinger-Ellison syndrome found the drug remained effective and safe for up to nine years of continuous use with no loss of effectiveness over time. But this is the exception, not the rule.
Why 40 mg Is Usually Temporary
Once your ulcer or esophagitis heals, there’s rarely a reason to stay at 40 mg. The typical next step is either stopping the medication or stepping down to a lower maintenance dose of 20 mg. UK clinical guidelines from NICE specifically reserve the 40 mg dose for severe esophagitis and short-term healing, not for ongoing use in most patients.
If you’ve been on 40 mg for longer than 8 weeks without anyone revisiting the plan, it’s worth bringing that up. Many people end up on high-dose PPIs (proton pump inhibitors, the drug class omeprazole belongs to) longer than necessary simply because no one reassessed whether the original problem has resolved.
Risks of Staying on It Too Long
Omeprazole is safe for its intended treatment courses, but the risk profile changes with prolonged use. The FDA has flagged several concerns tied to long-term PPI therapy, particularly at high doses taken for a year or more.
- Bone fractures: Observational studies link long-term, high-dose PPI use to increased risk of fractures in the hip, wrist, and spine. The risk rises with both higher doses and longer duration.
- Kidney problems: A type of kidney inflammation called acute tubulointerstitial nephritis can develop at any point during PPI therapy, though it’s uncommon.
- Gut infections: PPIs are associated with a higher risk of C. difficile infections, a type of severe diarrhea, especially in hospitalized patients.
- Stomach polyps: Small, generally benign growths called fundic gland polyps become more likely with PPI use beyond one year.
That said, the American Gastroenterological Association (AGA) has an important nuance in its guidelines: the decision to stop a PPI should be based on whether you still have a valid reason to take it, not on fear of side effects alone. If you have a condition that genuinely requires ongoing acid suppression, the benefits of staying on it typically outweigh these risks.
How to Stop Safely
You shouldn’t stop omeprazole 40 mg abruptly after weeks or months of use without a plan. When you suppress stomach acid for an extended period, your body compensates by ramping up its acid-producing machinery. If you quit cold turkey, that machinery overshoots, producing more acid than you had before you started the drug. This is called rebound acid hypersecretion, and it can cause heartburn, reflux, and stomach pain that feel like your original problem coming back, even when the underlying issue has healed.
The recommended approach is a gradual taper over 2 to 4 weeks. At the 40 mg dose, you’re generally looking at the longer end of that range. A common strategy is to drop from 40 mg to 20 mg daily for a couple of weeks, then move to 20 mg every other day before stopping. The AGA notes that both tapering and abrupt discontinuation are options, but tapering tends to cause fewer rebound symptoms.
During the transition, some people find it helpful to use an antacid or an H2 blocker (a milder type of acid reducer) as needed to manage any breakthrough symptoms. These rebound symptoms are temporary, typically lasting a few weeks at most, and they don’t mean you need to go back on the PPI.
The Bottom Line on Duration
For most conditions treated with omeprazole 40 mg, you’re looking at 4 to 8 weeks. After that, the goal is either to stop or to step down to the lowest effective dose for maintenance if your condition requires ongoing treatment. Staying on a high dose indefinitely without periodic reassessment isn’t the standard of care for the vast majority of people taking this drug.