A gastric bypass reroutes your food through a small new stomach pouch joined directly to your small intestine. That join is where most of the long-term trouble after a bypass starts. A marginal ulcer after gastric bypass is a sore that forms at or near that connection, and it's one of the more common late complications of the operation: across 41 studies and 16,987 patients, 4.6% developed one.1 In a 2026 study that followed 2,106 bypass patients for up to five years, the figure was 11.4%.4
This guide explains it before you need it: why the connection is vulnerable, how common ulcers really are and when they appear, the risk factors you can change, the symptoms that need a call and the ones that need an emergency room, and how ulcers are treated. You'll finish with questions for your team and a free workbook to keep your risks, medicines and symptoms in one place.
- Marginal ulcers form where the stomach pouch joins the small intestine. Reported rates range from 0.6% to 25%, depending on the study.1
- They are usually a late problem: in one large cohort, about 9% of patients had one by two years and about 11% by four years.4
- Smoking is the most consistent risk factor across studies. NSAID pain relievers and steroids have also been linked to ulcers.123
- Acid-reducing medicine after surgery was linked to fewer ulcers, and 90 days of it to about half as many as 30 days in one center.47
- Most ulcers heal with medicine. A perforated ulcer, which almost always shows up as abdominal pain, is a surgical emergency.18
What a marginal ulcer is, and why the join is vulnerable
In a Roux-en-Y gastric bypass, the surgeon creates a small stomach pouch and connects it to a loop of small intestine called the jejunum. The connection is the gastrojejunal anastomosis. Marginal ulcers typically develop at that anastomosis, along the staple line, or in the lining around it, especially on the intestinal side.4 Our guide to gastric bypass surgery explained shows the anatomy step by step.
The exact cause is still debated, and researchers describe the mechanism as unclear or complex.14 The pattern that emerges is a lining under attack from acid on one side and short of blood supply on the other. The position and size of the pouch matter too: a systematic review linked both to ulcer formation, along with smoking and NSAID use.1 Pouch design is your surgeon's job. Most of the other factors are yours.
How common is a marginal ulcer after gastric bypass?
The honest answer is "it depends on how hard you look." Reported rates vary widely because studies differ in size, follow-up and how they define an ulcer.4 Three well-documented figures give a fair picture.
The highest of these, 11.4%, comes from the study with the longest follow-up, and its authors think even that is an undercount. Endoscopy was done only when patients had symptoms, so ulcers that caused no symptoms were missed.4 The practical message: this is common enough that every bypass patient should know the signs and the risk factors.
When ulcers appear
That timing matters. By year two or three you may have stopped seeing your surgical team, and an old habit or a new prescription can slip back in, just when ulcers are most likely.
Thinking about weight-loss surgery?
Find out if you qualify in about 5 minutes. Board-certified surgeons at Hospital Bellas Artes in Tijuana, all-inclusive pricing, free surgical approval — and nothing is paid until you arrive at the hospital.
See if I qualify — free, 5 minutes See how much weight you’d lose →
Risk factors: what raises your chances
Large reviews agree on some factors and disagree on others. Both are worth knowing.
| Factor | What the studies found | Strength of evidence |
|---|---|---|
| Smoking | About 2.5 times the odds in a meta-analysis of 344,829 patients. Smoking within a year before surgery raised the risk in the 2026 cohort. | Consistent |
| NSAID pain relievers | Linked to ulcers in a systematic review and a 350-patient series. A later meta-analysis found a trend that didn't reach significance. | Likely |
| Steroid medicines | Significantly linked to ulcers in the 350-patient series. | Moderate |
| Reflux (GERD) before surgery | Raised the hazard 2.36 times in the 2026 cohort. | Moderate |
| Diabetes | 1.8 times the odds in the meta-analysis. The 2026 cohort found no link. | Mixed |
| H. pylori infection | About 5 times the odds in one meta-analysis. A 2025 meta-analysis of seven studies found no significant link. | Mixed |
| Aspirin | 1.33 times the odds in a meta-analysis of 24,770 patients. The 2026 cohort found no effect of dose or long-term use. | Mixed |
Smoking: the factor that keeps coming back
Every major source here names smoking.123 In the 2026 cohort, smoking within a year of the operation raised the hazard of an ulcer by 87%, even though the center already required patients to stop at least six weeks before surgery. The authors suggest that quitting for longer than six weeks may be warranted, while noting there's no consensus yet.4 Smoking also turned up in 41% of patients at the time a perforated ulcer was found.8 If you smoke or vape nicotine, our guide to smoking and bariatric surgery is worth reading next.
Pain relievers: read every label
NSAIDs are anti-inflammatory pain relievers. Common ones include ibuprofen and naproxen, so check the active ingredients of any combination product too. A systematic review and a 350-patient series both linked them to marginal ulcers, and the series linked steroid medicines too.12 In the review of perforated ulcers, 23% of patients were taking NSAIDs when the ulcer broke through.8 Ask your team which pain reliever is safe for you before you need one. Our guide to pain management after bariatric surgery covers the options.
Aspirin is a special case, because many people take it on a doctor's advice to protect the heart. A meta-analysis found 1.33 times the odds of an ulcer with aspirin,5 while the 2026 cohort found no difference by dose or by long-term use, possibly because most aspirin users there were also on acid-reducing medicine.4 If you take aspirin for your heart, don't stop it on your own. Tell your surgical team before surgery so they can plan around it.
The rest: reflux, diabetes and H. pylori
Reflux before surgery more than doubled the hazard of an ulcer in the 2026 cohort.4 Diabetes raised the odds in a meta-analysis, but the 2026 cohort didn't confirm it.34 H. pylori, the stomach bacterium behind many ordinary ulcers, is the most contested: one meta-analysis found about five times the odds,3 while a 2025 meta-analysis of seven studies found no significant link, with very different results between studies.6 Testing and treatment before surgery vary by center, so ask your team what they do. If you have diabetes, good glucose control is worth it for many reasons; the meta-analysis authors list it with quitting smoking and treating H. pylori as ways to reduce ulcer risk.3 See type 2 diabetes and bariatric surgery.
Risk factors add up
The same cohort found that risk rose with each extra risk factor, and patients who developed an ulcer had a median of two.4 You can't change your history of reflux, but you can remove smoking and NSAIDs from the list.
Acid-reducing medicine after surgery
Many centers prescribe a proton pump inhibitor (PPI), a medicine that lowers stomach acid, for a period after a bypass. The evidence that it helps is encouraging. In the 2026 cohort, taking a PPI for at least 14 days after surgery was linked to a much lower hazard of an ulcer.4 A Canadian center that lengthened its routine course from 30 to 90 days saw symptomatic ulcers fall from 12.4% to 6.5%.7
Two cautions: both are observational studies, not randomized trials, and a meta-analysis found only a trend toward fewer ulcers with PPIs that didn't reach statistical significance.3 And in the review of perforated ulcers, only 15% of patients were taking a PPI or similar acid reducer at the time.8 The sensible step: if your team prescribes acid-reducing medicine, take it for the full course they set, and ask before you stop. If you're on aspirin, steroids or another medicine your team considers risky, ask whether you need it for longer. Dose and duration are your team's call. If reflux is part of your history, our guide to acid reflux and bariatric surgery has more.
Symptoms: what to watch for
In the 350-patient series, researchers looked for abdominal pain, heartburn (pyrosis), nausea and other signs of ulcer disease, and separately for acute signs of a complicated or perforated ulcer: severe abdominal pain, vomiting, black stools and vomiting blood.2 That split is a useful guide for you too.
- Pain in the upper belly
- Heartburn that's new or getting worse
- Nausea that keeps coming back
- Any belly pain that returns again and again
- Sudden, severe belly pain
- Vomiting blood
- Black, tarry stools
- Repeated vomiting, or you can't keep fluids down
The emergency column exists because ulcers can bleed or perforate. In that series, 4 of 350 bypass patients (1.1%) had a perforated ulcer.2 In the review of 610 perforations, abdominal pain was the presenting symptom in 99.5% of patients.8 If a blood test ever shows unexplained low iron, mention any stomach symptoms to your doctor too; see iron deficiency after bariatric surgery.
How marginal ulcers are diagnosed and treated
An ulcer is confirmed by upper endoscopy, a camera passed through the mouth to look directly at the connection.4 When a perforation is suspected, a CT scan is the most-used test; it was used in 72% of patients in the perforation review.8
The good news is that most ulcers heal without an operation. A systematic review found that most are adequately treated with proton pump inhibitors, with reoperation sometimes needed.1 In the 2026 cohort, 75.5% of ulcers needed only medicine, 11.6% needed an endoscopic procedure and 12.9% needed surgery.4 Treatment also means removing the cause: stopping smoking, and stopping NSAIDs or other irritants when your doctors say it's safe.
A perforated ulcer is different: it's a surgical emergency. In the 610 cases reviewed, the most common repair was a laparoscopic patch over the hole (59%), 18% had open surgery and 20% were managed without surgery. The 30-day mortality was 0.97%, and ulcers came back in 5% of patients.8
Lowering your ulcer risk before and after surgery with Pompeii Surgical Center, Mexico
Pompeii Surgical Center in Tijuana, Mexico performs Roux-en-Y gastric bypass, with operations by board-certified surgeons, 24/7 nursing and on-site nutritionists. If you're planning a bypass with Pompeii in Tijuana, the most useful thing you can do is bring a complete picture to your consultation: whether you smoke or vape, every medicine and supplement you take (especially aspirin, NSAIDs and steroids), any history of reflux, ulcers or H. pylori, and whether you have diabetes. Those are the factors in this guide, and your team can only plan around what they know.
Before you fly home, ask for your acid-reducing medicine plan in writing: what it is, how long to take it and who to call with stomach pain. Then share it with your primary care doctor, who will usually be the one you see first if symptoms start in year two or three. Our guide to your doctor back home after bariatric surgery in Mexico explains how to set up that handoff. The free workbook below includes a medicine safety list, a symptom guide, a quit-smoking tracker and a letter for your doctor back home.
Questions to bring to your next appointment:
- Which pain relievers are safe for me, now and for life?
- Will I take acid-reducing medicine after surgery, and for how long?
- Should I be tested for H. pylori before surgery?
- How long before surgery do I need to be smoke-free, and what support is there?
- What should I do about my aspirin or steroid medicine around surgery?
- Who do I call first if I get upper belly pain after I'm home?
Frequently asked questions
How common are marginal ulcers after gastric bypass?
Across 41 studies and 16,987 patients, 4.6% developed one, with individual studies reporting 0.6% to 25%.1 A 2026 cohort of 2,106 patients followed for up to five years found 11.4%.4
What does a marginal ulcer feel like?
Common signs include abdominal pain, heartburn and nausea.2 Sudden severe pain, vomiting blood or black stools can mean a bleeding or perforated ulcer and need emergency care.28
What causes a marginal ulcer after gastric bypass?
Acid from the pouch meets an intestinal lining that lacks the stomach's defenses, and poor blood supply makes it worse.4 Smoking and NSAID pain relievers are the best-known risk factors, along with pouch size and position.1
Can a marginal ulcer heal on its own?
Most heal with medical treatment, usually acid-reducing medicine plus removing causes such as smoking and NSAIDs.1 In one cohort, 75.5% needed only medicine.4 Don't wait it out without seeing a doctor.
How can I prevent a marginal ulcer?
Don't smoke, avoid NSAIDs unless your team approves them, and take any acid-reducing medicine for the full course prescribed.147 Tell your team about aspirin, steroids, reflux and diabetes.34
Key takeaway
A marginal ulcer after gastric bypass is common enough that every bypass patient should know about it, and it tends to arrive after the first year, when follow-up has thinned out. Its best-known causes are things you control: smoking, NSAID pain relievers and stopping acid-reducing medicine early. Tell your team about every medicine, quit nicotine for good, check every pain reliever label, and treat sudden belly pain, vomiting blood or black stools as an emergency. Download the free Ulcer Shield Workbook below to keep your medicines, symptoms and questions in one place for every appointment.
Coblijn UK, Goucham AB, Lagarde SM, Kuiken SD, van Wagensveld BA. Development of ulcer disease after Roux-en-Y gastric bypass, incidence, risk factors, and patient presentation: a systematic review. Obes Surg. 2014;24(2):299-309. https://doi.org/10.1007/s11695-013-1118-5 ↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩
Coblijn UK, Lagarde SM, de Castro SM, Kuiken SD, van Wagensveld BA. Symptomatic marginal ulcer disease after Roux-en-Y gastric bypass: incidence, risk factors and management. Obes Surg. 2015;25(5):805-811. https://doi.org/10.1007/s11695-014-1482-9 ↩↩↩↩↩↩↩↩↩↩
Beran A, Shaear M, Al-Mudares S, et al. Predictors of marginal ulcer after gastric bypass: a systematic review and meta-analysis. J Gastrointest Surg. 2023;27(6):1066-1077. https://doi.org/10.1007/s11605-023-05619-7 ↩↩↩↩↩↩↩↩
Abedalqader T, Migliorini A, Cerecedo LG, et al. A Comprehensive Analysis of Predictors of Marginal Ulcers After Roux-en-Y Gastric Bypass: A Cohort Review of 2106 Patients. Medicina (Kaunas). 2026;62(5):838. https://doi.org/10.3390/medicina62050838 ↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩↩
Portela RC, Sharma I, Vahibe A, et al. Aspirin Use as a Risk Factor for Marginal Ulceration in Roux-en-Y Gastric Bypass Patients: A Meta-Analysis of 24,770 Patients. Am Surg. 2023;89(6):2537-2544. https://doi.org/10.1177/00031348221103647 ↩↩
Rahman A, Mushtaq M, Nadeem F, Kabir SA. The Impact of Helicobacter pylori on Marginal Ulcer Formation Following Gastric Bypass: A Systematic Review and Meta-Analysis. Cureus. 2025;17(11):e96787. https://doi.org/10.7759/cureus.96787 ↩↩
Kang X, Zurita-Macias L, Hong D, Cadeddu M, Anvari M, Gmora S. A comparison of 30-day versus 90-day proton pump inhibitor therapy in prevention of marginal ulcers after laparoscopic Roux-en-Y gastric bypass. Surg Obes Relat Dis. 2016;12(5):1003-1007. https://doi.org/10.1016/j.soard.2015.11.010 ↩↩↩↩↩
Martinino A, Bhandari M, Abouelazayem M, Abdellatif A, Koshy RM, Mahawar K. Perforated marginal ulcer after gastric bypass for obesity: a systematic review. Surg Obes Relat Dis. 2022;18(9):1168-1175. https://doi.org/10.1016/j.soard.2022.05.024 ↩↩↩↩↩↩↩↩↩↩