How Is a Refractory Peptic Ulcer Diagnosed
Refractory peptic ulcer diagnosis starts with repeat endoscopy and checking H. pylori and NSAID use, plus acid tests when needed—no referral.

A refractory peptic ulcer is an ulcer in your stomach or the first part of your small intestine that does not heal the way it should after standard treatment. The diagnosis is less about “one special test” and more about carefully proving what is keeping the sore open, because the fix depends on the reason. Most of the time, the workup focuses on three practical questions: Did the ulcer get the right acid-suppressing medicine and was it taken correctly, is the ulcer-causing germ (H. pylori) truly gone, and is something still irritating the lining such as anti-inflammatory pain medicines. If those are ruled out, your clinician may look for less common causes like unusually high acid production or another condition that can mimic an ulcer. In this guide, you will learn what symptoms tend to show up when an ulcer is not healing, what doctors check first, and what tests are used to confirm the cause. If you want help making sense of your results or planning next steps, PocketMD can walk you through questions to ask and what to do next, and VitalsVault labs can support follow-up testing when it fits your situation.
Symptoms and signs that suggest a stubborn ulcer
Burning upper-belly pain that returns
You might notice the classic gnawing or burning pain in the upper middle of your belly improves for a bit and then comes back, especially between meals or at night. That pattern can happen when acid is still reaching an open sore. The “so what” is that recurring pain often means the ulcer never fully closed, or the original trigger is still present.
Ongoing nausea, early fullness, or bloating
A non-healing ulcer can irritate your stomach lining and make eating feel uncomfortable sooner than usual. You may feel full after a few bites, or you may feel queasy in a way that is hard to pin on a specific food. This matters because persistent symptoms can also point to swelling near the outlet of the stomach, which sometimes needs a different treatment approach.
Needing more acid medicine to cope
If you find yourself increasing over-the-counter acid reducers or relying on them daily just to function, that is a clue your baseline acid exposure is still high. Sometimes the issue is timing or absorption of your prescription acid blocker, and sometimes the ulcer has a cause that needs a different fix. Either way, it is a signal to reassess rather than simply “stack” more medications.
Signs of bleeding: black stool or anemia
Slow bleeding from an ulcer can make your stool look black and tarry, or it can quietly lower your blood count so you feel tired, short of breath, or lightheaded. This is one of the most important reasons to take refractory symptoms seriously, because bleeding can become dangerous without much warning. If you vomit blood, pass maroon or black stools, faint, or feel weak and clammy, you should seek urgent care.
Unexplained weight loss or trouble swallowing
Losing weight without trying, avoiding food because it hurts, or feeling like food sticks can happen when symptoms have dragged on. These are also “pause and investigate” signs because they can overlap with conditions that mimic ulcers, including inflammation, scarring, or rarely cancer. Your clinician will usually push for repeat visualization of the area rather than assuming it is “just reflux.”
If your clinician recommends follow-up testing, you can start with a starting from $99 panel with 100+ tests, one visit to check anemia, inflammation, and medication safety.
Results in days
Clear next steps
HSA / FSA
Causes and risk factors doctors look for
H. pylori not fully cleared
The ulcer-causing germ (H. pylori) can be stubborn, especially if it is resistant to one of the antibiotics used the first time. If it is still present, your stomach lining stays inflamed and the ulcer struggles to seal. That is why confirming eradication with the right timing and the right test is a core part of diagnosing a refractory ulcer.
Hidden NSAID or aspirin exposure
Anti-inflammatory pain medicines (NSAIDs) and aspirin can keep an ulcer open by weakening your stomach’s protective coating. The tricky part is that exposure is not always obvious, because some cold medicines, headache products, and “heart protection” aspirin count too. If you are still taking them, even occasionally, your clinician may treat the ulcer as refractory until that trigger is removed or protected against.
Acid suppression not effective in real life
Prescription acid blockers (proton pump inhibitors, or PPIs) work best when taken correctly, and timing matters more than most people are told. If doses are missed, taken at the wrong time, or stopped early because you feel better, the ulcer can reopen. Some people also metabolize these medicines quickly, which can make standard dosing feel like it “does nothing.”
Smoking and ongoing stomach irritation
Smoking can slow healing by reducing blood flow to the stomach lining and by increasing acid-related injury. Even if you are on the right medicine, healing can take longer and relapse is more likely. The practical takeaway is that quitting is not just general health advice here; it directly improves the odds that the sore actually closes.
Less common causes like high-acid states
When the usual culprits are ruled out, clinicians consider conditions that drive unusually high acid, such as a rare hormone-producing tumor (Zollinger-Ellison syndrome). They also think about other diagnoses that can look like an ulcer on symptoms alone, including Crohn’s disease, certain infections, or medication injuries. This step matters because the treatment can shift from “more acid blocker” to treating the underlying condition.
How refractory peptic ulcers are diagnosed
Repeat endoscopy to confirm healing
The backbone test is a repeat camera exam of your upper digestive tract (upper endoscopy). It lets your clinician see whether the ulcer is still present, whether it looks deeper or larger, and whether there is scarring or narrowing. If the ulcer is in the stomach, repeat endoscopy also helps make sure you are not missing a different problem that needs a different plan.
Biopsy to rule out cancer or infection
During endoscopy, small samples can be taken from the ulcer edge (biopsy) because appearance alone cannot always tell the full story. This is especially important for stomach ulcers, where a non-healing lesion needs a careful look for cancer and for other causes of inflammation. The “so what” is reassurance and accuracy: you want to treat the right condition, not just the symptoms.
Confirming H. pylori the right way
Testing for H. pylori after treatment is not as simple as “any test anytime,” because acid blockers and recent antibiotics can cause false negatives. Your clinician may use a breath test, stool antigen test, or biopsy-based testing, and they will often ask you to stop certain medicines for a period first. If H. pylori is still there, the diagnosis becomes “persistent infection,” and treatment usually changes to a different antibiotic combination.
Medication and acid evaluation when needed
A detailed medication review is part of the diagnostic workup, because ongoing NSAID or aspirin exposure can be the whole explanation. If the ulcer persists despite good adherence and no irritants, your clinician may check for high-acid conditions with fasting gastrin testing and related studies, sometimes paired with stomach acid measurements. These tests are usually targeted, because they are most useful when the clinical picture truly suggests excess acid rather than simple under-treatment.
Treatment options after the workup
Optimize your acid-blocking regimen
If the issue is incomplete acid control, treatment often starts by adjusting how you take your acid blocker and sometimes increasing the dose or switching agents. The goal is to give the ulcer a quiet environment long enough to seal and strengthen. You will usually be told exactly when to take it relative to meals, because that detail can be the difference between “no change” and real relief.
Second-line H. pylori eradication therapy
If H. pylori persists, your clinician will choose a different antibiotic plan that accounts for likely resistance and prior exposure. This can feel frustrating, but it is common, and success rates improve when the regimen is tailored. After treatment, confirming eradication again is part of finishing the job, not an optional extra.
Stop NSAIDs or add protection if unavoidable
When NSAIDs or aspirin are contributing, the best fix is stopping them, but sometimes you need them for another condition. In those cases, your clinician may add protective strategies and coordinate with the prescriber who manages your pain or heart risk. The key point is that “treating the ulcer” without addressing ongoing injury often leads to a cycle of temporary improvement and relapse.
Treat complications like narrowing or bleeding
If the ulcer has caused swelling or scarring that narrows the outlet of the stomach, endoscopic treatments can sometimes widen the area so food passes normally again. Active bleeding can also be treated during endoscopy with targeted therapies to stop it. These are not everyday scenarios, but they are exactly why persistent symptoms and anemia deserve a real evaluation.
Address rare causes and mimic conditions
When testing points to a high-acid condition, treatment may include higher-intensity acid suppression and care aimed at the underlying driver. If the ulcer-like symptoms are actually from another disease, such as inflammatory bowel disease or an unusual infection, the treatment shifts accordingly. This is the payoff of a thorough diagnosis: you stop guessing and start targeting what is truly keeping you sick.
Living with symptoms while you investigate
Eat in a way that reduces flare-ups
You do not need a perfect “ulcer diet,” but you do need a plan that keeps you comfortable enough to function. Smaller meals can reduce stretching and pressure in your stomach, which often eases pain and nausea. If certain foods reliably trigger burning, treat that as useful data rather than a personal failure.
Protect your sleep and night symptoms
Ulcer pain often shows up at night, which can make you exhausted and more sensitive to discomfort the next day. Elevating your head slightly and avoiding late heavy meals can reduce nighttime acid exposure for some people. If you are waking with pain despite treatment, that detail is worth telling your clinician because it can signal inadequate acid control.
Track meds and symptoms like a detective
A simple log that connects symptoms to medication timing can reveal problems you would otherwise miss, like a dose taken after breakfast instead of before. It also helps you remember exactly what changed when symptoms improved or worsened. That record makes follow-up visits faster and more productive, especially if you have tried multiple regimens.
Know when to stop waiting it out
Persistent vomiting, inability to keep fluids down, worsening weakness, or new black stools are not “normal ulcer discomfort.” They can signal bleeding or blockage, which needs prompt evaluation. If you feel suddenly very ill or faint, it is safer to get urgent care than to hope it passes.
Prevention and lowering your recurrence risk
Confirm H. pylori is truly gone
The most preventable reason ulcers come back is that H. pylori was never fully cleared. Doing a properly timed confirmation test after treatment closes that loop. It also gives you peace of mind that you are not carrying an ongoing trigger you cannot feel.
Use NSAIDs carefully and intentionally
If you have had an ulcer, “as needed” NSAID use can still be risky, even if it is only a few times a month. Talk with your clinician about safer pain strategies and whether you need protective medication if NSAIDs are unavoidable. Prevention here is about planning, not willpower.
Quit smoking to improve healing resilience
Stopping smoking reduces ongoing irritation and improves the stomach lining’s ability to repair itself. It also lowers the chance that symptoms will return when you eventually step down acid suppression. If quitting feels overwhelming, even reducing while you build a plan can help your body heal.
Take acid blockers exactly as directed
These medicines are sensitive to timing, and “close enough” sometimes is not close enough when you are trying to heal an open sore. Setting an alarm or linking the dose to a daily routine can prevent accidental under-treatment. If you keep needing long-term therapy, ask what the step-down plan is and what symptoms should prompt re-checking.
Frequently Asked Questions
What does “refractory peptic ulcer” actually mean?
It means the ulcer has not healed after an appropriate course of standard therapy, usually including strong acid suppression and treatment of H. pylori when present. In practice, it triggers a check for ongoing causes like NSAID exposure, persistent infection, or inadequate acid control. The goal is to find the reason it is stuck, not to label you as “treatment resistant.”
How long should an ulcer take to heal with treatment?
Many ulcers improve within weeks, but complete healing can take longer depending on size, location, and what caused it. If symptoms are not improving or they return quickly after stopping therapy, your clinician may consider it “not healing as expected” and reassess. A repeat endoscopy is often used to confirm what is happening rather than guessing.
Can I have H. pylori even after antibiotics?
Yes, because the bacteria can survive if it is resistant to an antibiotic in the regimen or if the course was not completed. That is why confirmation testing matters, and why timing around acid blockers and antibiotics is important to avoid a false negative. If it is still present, a different treatment plan is usually chosen.
Do all non-healing ulcers need a biopsy?
Not all, but many stomach ulcers are biopsied because a persistent lesion needs to be distinguished from cancer or other causes of inflammation. Biopsy is done during endoscopy and usually adds only a small amount of time to the procedure. For ulcers in the first part of the small intestine, biopsy decisions depend on the appearance and your overall risk factors.
What blood tests are helpful when an ulcer won’t heal?
Blood work can help check for anemia from slow bleeding and can assess overall inflammation and medication safety, especially if you have been vomiting or not eating well. If a high-acid condition is suspected, targeted hormone testing such as fasting gastrin may be ordered, but it is not routine for everyone. If you need follow-up labs, VitalsVault can support a starting from $99 panel with 100+ tests, one visit when it fits your clinician’s plan.
