Does spicy food cause stomach ulcers?

No. Ulcers are mostly caused by a stomach bug called H. pylori or by painkillers like ibuprofen and aspirin. Spicy food doesn't cause them.
Most stomach ulcers are caused by a stomach infection (H. pylori) or by painkillers like ibuprofen and aspirin, not by spicy food. In a small trial, spicy meals left the stomach lining undamaged, while aspirin did not. Ulcers used to be blamed on acid, diet and stress. In 1984, doctors found a curved bacterium, later named H. pylori, in the stomachs of almost all patients with ulcers. Today, H. pylori infection and the use of painkillers called NSAIDs (such as ibuprofen, naproxen and aspirin) are recognised as the main causes. When researchers looked inside the stomachs of 12 volunteers with a camera, spicy Mexican food and pepperoni pizza caused no visible damage, but aspirin caused small sores in 11 of them. Spicy food can still give some people heartburn or an upset stomach, but it isn't what causes ulcers.
Who this applies to: Adults in general. This isn't medical advice. If you have burning stomach pain that keeps coming back, black or tarry stools, or you vomit blood, see a doctor; bleeding needs immediate medical attention.
Moderate evidenceStrong, long-standing evidence that H. pylori and painkillers cause most ulcers, from expert reviews, guidelines and a large pooled analysis of painkiller studies. The direct evidence that spicy food is harmless is weaker: one small camera study and one case-control study. Nothing in the research points to spicy food as a cause.
Ask a doctor about an H. pylori test if you have ulcer-type pain
H. pylori infection is one of the two main causes of ulcers, and current guidelines say every infection should be treated.
Strong evidence · Lanas & Chan 2017, Malfertheiner et al. 2022 Free full text, Marshall & Warren 1984Be careful with regular NSAID painkillers and aspirin, and ask a doctor if you take them often
Every NSAID studied raised the risk of stomach bleeding, and high doses carried 2 to 3 times the risk of low doses. In a camera study, aspirin caused stomach erosions in 11 of 12 people.
Some evidence · Castellsague et al. 2012 Free full text, Graham et al. 1988, Malfertheiner et al. 2022 Free full text
What are the key numbers?
Which studies is this answer based on?
- Lanas, A., & Chan, F. K. L. (2017). Peptic ulcer disease. The Lancet. doi:10.1016/s0140-6736(16)32404-7
What does this mean for you?
- The old idea that ulcers come from spicy food, stress and too much acid was replaced once H. pylori was discovered.
- Painkillers in the NSAID family, and aspirin, are the other big cause. Every NSAID studied raised the risk of stomach bleeding.
- When spicy food was tested directly, it didn't damage the stomach lining. One study even found ulcer patients ate chili less often than people without ulcers, but that kind of study can't prove chili protects you.
- Spicy food can still trigger heartburn or discomfort in some people. That's different from causing an ulcer.
What did the studies find?
- Lanas 2017 (Lancet review): ulcers were traditionally blamed on acid, diet and stress; H. pylori infection and NSAID/aspirin use are now recognised as the main causes. About 5 to 10% of people get a peptic ulcer at some point in life.
- Marshall 1984: curved bacteria were seen in stomach biopsies from 58 of 100 patients and were present in almost all patients with active gastritis, duodenal ulcer or gastric ulcer.
- Castellsague 2012: pooled 28 studies; every NSAID raised the risk of upper-gut bleeding or perforation, from about 1.5 times for celecoxib and 1.8 times for ibuprofen to about 4 times for naproxen and 7 times for piroxicam. High doses carried 2 to 3 times the risk of low doses.
- Malfertheiner 2022 (Maastricht VI consensus, 41 experts from 29 countries): all H. pylori infections should be treated; NSAIDs, aspirin and H. pylori are independent ulcer risks.
- Graham 1988: in 12 healthy adults examined by camera, aspirin caused erosions in 11, while a jalapeño-heavy Mexican meal, pepperoni pizza and a bland meal all had a median damage score of 0. Even 30 g of ground jalapeño placed directly in the stomach caused no visible damage at 24 hours.
- Kang 1995: 103 ulcer patients ate chili a median of 8 times a month, versus 24 times in 87 people without ulcers.
How was the main study done?
Main evidence: Lanas & Chan (2017), The Lancet
- Design
- Expert review (Lancet Seminar) of peptic ulcer disease
- Sample
- Research on the causes and treatment of peptic ulcers
- Who was studied
- People with or at risk of peptic ulcers
- Duration
- Not applicable (review)
- Comparison
- Old explanations (acid, diet, stress) vs current evidence (H. pylori, NSAIDs, aspirin)
- Who paid for it
- Public/academic funding; the authors report consulting for drug companies
What does the rest of the evidence say?
This sets the bottom line.
Review or expert commentary
What should you do?
- If you have ulcer-type stomach pain, ask a doctor about testing for H. pylori.
- Be careful with regular ibuprofen, naproxen or aspirin, and ask a doctor if you take them often.
What are the main takeaways?
- Spicy food doesn't cause ulcers.
- H. pylori infection and painkillers like ibuprofen and aspirin do.
- Ulcer symptoms are worth a doctor's visit, because the causes can be tested and treated.
What are the limits of this evidence?
- The direct test of spicy meals was tiny (12 people) and short, in healthy volunteers.
- The chili case-control study relied on people remembering what they ate and didn't test for H. pylori.
- Some of the background on chili and the stomach comes from animal experiments.
- Spicy food may still worsen symptoms in someone who already has an ulcer or reflux; these studies didn't settle that.
Educational summary, not medical advice. Talk to a clinician about your own health.