Doctors Note Logo

Published on: 9/15/2026

Could acid reflux that omeprazole doesn't fix be an ulcer, H. pylori, or cancer?

Reflux that keeps burning through several weeks of omeprazole is not always ordinary GERD, and a peptic ulcer, H. pylori infection, or, less often, esophageal or stomach cancer can all present this way. Other explanations are common too, including incorrect dosing or timing of the medication, non-acid or bile reflux, eosinophilic esophagitis, gastroparesis, functional dyspepsia, or a different acid-suppressing drug being needed, so there are several factors to weigh; the important details are below. Features that call for prompt evaluation include difficulty or pain with swallowing, vomiting blood, black or tarry stools, unexplained weight loss, persistent vomiting, anemia, or new symptoms starting after age 50, since these raise concern for ulcer complications or malignancy and typically prompt H. pylori testing, endoscopy, or biopsy rather than another refill. Because the same stubborn heartburn can come from something easily corrected or from something that should not wait, it helps to map your exact symptoms, timing, and risk factors before spending more weeks guessing. Take a free, instant, online symptom check

answer background

Explanation

Acid reflux—also known as gastroesophageal reflux disease (GERD)—is common, and many people find relief with proton-pump inhibitors (PPIs) such as omeprazole. But what if acid reflux symptoms persist despite taking omeprazole as directed? While in most cases it’s due to lifestyle factors or a different kind of reflux, persistent symptoms can sometimes signal more serious issues such as peptic ulcers, Helicobacter pylori (H. pylori) infection, or, rarely, cancer. This article explains when to consider these possibilities, what symptoms to watch for, and how to move forward safely.

Why omeprazole sometimes doesn’t fix acid reflux

Omeprazole works by reducing the stomach’s acid production, which usually relieves burning, regurgitation, and irritation in the esophagus. If acid reflux symptoms continue:

• Incomplete acid suppression
• Non-acid reflux (bile or food)
• Functional heartburn (sensitivity without actual reflux)
• Incorrect dosing or timing of omeprazole
• Lifestyle or dietary triggers (spicy foods, alcohol, smoking)
• Poor esophageal motility

Before assuming a serious condition, review PPI use and lifestyle factors with your healthcare provider. If symptoms remain despite optimized therapy and lifestyle changes, further evaluation may be needed.


Peptic ulcers

A peptic ulcer is a sore on the lining of the stomach (gastric ulcer) or the first part of the small intestine (duodenal ulcer). Although acid reflux and ulcers share some symptoms, ulcers can be more serious if left untreated.

Key symptoms of peptic ulcers:

  • Burning or gnawing pain in upper abdomen
  • Pain that improves or worsens with eating
  • Bloating, burping, or feeling full quickly
  • Nausea or occasional vomiting
  • Dark, tarry stools (sign of bleeding)
  • Unexplained weight loss

Why ulcers resist PPI therapy

  • H. pylori infection: A bacterial cause that often requires antibiotics plus a PPI.
  • NSAID use: Regular ibuprofen or aspirin can damage the stomach lining, counteracting omeprazole’s benefit.
  • Stress and smoking: Both impair healing and can perpetuate ulcer pain.

Next steps if you suspect an ulcer

  1. Discuss with your doctor whether you need:
    • A breath or stool test for H. pylori
    • Endoscopy (camera exam) to visualize the ulcer
  2. If H. pylori is present, a combination of two antibiotics plus omeprazole for 10–14 days is standard.
  3. Avoid NSAIDs, spicy foods, caffeine, and smoking to promote healing.

H. pylori infection

Helicobacter pylori is a spiral-shaped bacterium that lives in the stomach lining. It affects about half the world’s population but only some develop symptoms or complications.

Symptoms linked to H. pylori:

  • Burning upper-abdominal pain
  • Bloating and frequent burping
  • Nausea or reduced appetite
  • Unexplained weight loss
  • Occasional dark stools (if bleeding)

Why H. pylori matters

  • Resistant reflux: Acid suppression alone won’t eradicate the bacteria.
  • Ulcer risk: H. pylori is the most common cause of peptic ulcers.
  • Long-term risk: Chronic infection slightly increases risk of gastric cancer.

Testing and treatment

  • Non-invasive: breath test, blood test, or stool antigen test.
  • Invasive: endoscopy with biopsy (if other red-flag symptoms present).
  • Treatment: “triple therapy” (two antibiotics + omeprazole) or “quadruple therapy” (bismuth plus three other drugs).

When to consider cancer

Gastric (stomach) and esophageal cancers are uncommon in people under 60 without risk factors, but they can present similarly to refractory reflux.

Warning signs (“red-flag” symptoms)

  • Difficulty swallowing (dysphagia)
  • Unintentional weight loss
  • Persistent vomiting or vomiting blood
  • Black or bloody stools
  • Anemia (feeling weak or fatigued)
  • Persistent pain waking you at night

Risk factors

  • Long history of untreated GERD or Barrett’s esophagus
  • Smoking and heavy alcohol use
  • Family history of gastric or esophageal cancer
  • Chronic H. pylori infection

Evaluation steps

  1. Endoscopy: Direct visualization and biopsy of abnormal tissue.
  2. Imaging: CT scans if cancer is suspected or confirmed.
  3. Referral: Gastroenterologist and, if needed, oncology.

Other causes of persistent reflux-like symptoms

Before worrying about ulcers or cancer, consider:

  • Functional heartburn: Normal acid levels but heightened sensitivity.
  • Eosinophilic esophagitis: Allergic inflammation of the esophagus.
  • Bile reflux: Reflux of bile from the small intestine.
  • Medication side effects: Some drugs irritate the stomach or lower esophageal sphincter tone.

What you can do now

  1. Review your omeprazole regimen
    • Take 30–60 minutes before breakfast on an empty stomach.
    • Do not crush or chew delayed-release capsules.
  2. Adjust lifestyle factors
    • Elevate head of bed 6–8 inches.
    • Avoid late meals and trigger foods (spicy, fatty, acidic).
    • Quit smoking and limit alcohol.
  3. Track your symptoms
    • Note timing, severity, triggers, and any red-flag signs.
  4. Consider a free, online symptom check, using the doctor approved Ubie Symptom Checker to get personalized guidance.

Link: free, online symptom check, using the doctor approved Ubie Symptom Checker


When to speak to a doctor

Always consult a healthcare professional if you experience:

  • Severe or worsening pain
  • Trouble swallowing or persistent vomiting
  • Unexplained weight loss or bleeding
  • New or unusual symptoms that concern you

Even if your acid reflux initially seemed “routine,” persistent symptoms despite omeprazole could signal an ulcer, H. pylori infection, or, in rare cases, cancer. Early evaluation and treatment are key to preventing complications and restoring your quality of life.

Speak to a doctor about any persistent or severe gastrointestinal symptoms. They can guide you through testing, endoscopy, and appropriate treatment to address the root cause and help you feel better—safely and effectively.

(References)

  • * Spencer CM, Faulds D. Esomeprazole. Drugs. 2000 Aug;60(2):321-9; discussion 330-1. doi: 10.2165/00003495-200060020-00006. PMID: 10983736.

  • * Wu JC, Sung JJ. Ulcer and gastritis. Endoscopy. 2002 Feb;34(2):104-10. doi: 10.1055/s-2002-19843. PMID: 11822005.

  • * Vanderhoff BT, Tahboub RM. Proton pump inhibitors: an update. Am Fam Physician. 2002 Jul 15;66(2):273-80. PMID: 12152963.

  • * Brusselaers N, Sadr-Azodi O, Engstrand L. Long-term proton pump inhibitor usage and the association with pancreatic cancer in Sweden. J Gastroenterol. 2020 Apr;55(4):453-461. doi: 10.1007/s00535-019-01652-z. Epub 2019 Dec 6. PMID: 31811561; PMCID: PMC7080689.

  • * Maret-Ouda J, Markar SR, Lagergren J. Gastroesophageal Reflux Disease: A Review. JAMA. 2020 Dec 22;324(24):2536-2547. doi: 10.1001/jama.2020.21360. PMID: 33351048.

  • * Sharma P. Over 30 Years of Omeprazole. J Assoc Physicians India. 2023 Aug;71(8):11-12. doi: 10.59556/japi.71.0322. PMID: 37651247.

  • * Zhuang Q, Liao A, He Q, Liu C, Zheng C, Li X, Liu Y, Wang B, Liu S, Zhang Y, Lin R, Chen H, Deng M, Tang Y, He C, Dai W, Tang H, Gong L, Li L, Xu B, Yang C, Zhou B, Su D, Guo Q, Li B, Zhou Y, Wang X, Fei S, Wu H, Wei S, Peng Z, Wang J, Li Y, Wang H, Deng T, Ding S, Li F, Chen M, Xiao Y. The efficacy and safety of fexuprazan in treating erosive esophagitis: a phase III, randomized, double-blind, multicenter study. J Gastroenterol Hepatol. 2024 Apr;39(4):658-666. doi: 10.1111/jgh.16471. Epub 2024 Jan 22. PMID: 38251791.

  • * Kim BW, Park JJ, Moon HS, Lee WS, Shim KN, Baik GH, Lim YJ, Lee HL, Youn YH, Park JC, Sung IK, Chung H, Moon JS, Kim GH, Hong SJ, Choi HS. The Effect of Tegoprazan on the Treatment of Endoscopic Resection-Induced Artificial Ulcers: A Multicenter, Randomized, Active-Controlled Study. Gut Liver. 2024 Mar 15;18(2):257-264. doi: 10.5009/gnl230242. Epub 2024 Feb 22. PMID: 38384180; PMCID: PMC10938149.

  • * Scarpignato C, Hunt RH. Potassium-competitive Acid Blockers: Current Clinical Use and Future Developments. Curr Gastroenterol Rep. 2024 Nov;26(11):273-293. doi: 10.1007/s11894-024-00939-3. Epub 2024 Aug 15. PMID: 39145848; PMCID: PMC11401795.

  • * Davis TA, Gyawali CP. Potassium-competitive acid blockers. Curr Opin Gastroenterol. 2025 Nov 1;41(6):389-398. doi: 10.1097/MOG.0000000000001127. Epub 2025 Jul 23. PMID: 40923937.

Thinking about asking ChatGPT?Ask me instead

Tell your friends about us.

We would love to help them too.

smily Shiba-inu looking

For First Time Users

What is Ubie’s Doctor’s Note?

We provide a database of explanations from real doctors on a range of medical topics. Get started by exploring our library of questions and topics you want to learn more about.

Was this page helpful?

Purpose and positioning of servicesUbie Doctor's Note is a service for informational purposes. The provision of information by physicians, medical professionals, etc. is not a medical treatment. If medical treatment is required, please consult your doctor or medical institution. We strive to provide reliable and accurate information, but we do not guarantee the completeness of the content. If you find any errors in the information, please contact us.