Spicy food may worsen pain or heartburn for some people, but it is not a main cause of peptic ulcers. Learn about H. pylori, NSAIDs, testing and warning signs.
Published 15/09/2026Reviewed by Dr Mulemela
Does chilli cause an ulcer?
The short answer is no. Spicy food may worsen upper-abdominal pain or heartburn in some people, but it is not a main cause of peptic ulcers. The most common causes are Helicobacter pylori (H. pylori) infection and nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen, aspirin and naproxen.
The claim is MISLEADING because it confuses a possible symptom trigger with the underlying cause of an ulcer.
What is a peptic ulcer?
A peptic ulcer is a sore in the lining of the stomach or the first part of the small intestine, called the duodenum. Upper-abdominal pain can occur, but not every burning stomach sensation is an ulcer. Reflux, gastritis and other conditions may cause similar symptoms, so an accurate diagnosis matters.
What are the main causes?
H. pylori: a bacterium that can inflame and damage the stomach or duodenal lining.
NSAIDs: medicines such as ibuprofen, aspirin and naproxen can weaken the lining’s protection. Risk increases with high doses, long-term use, more than one NSAID or simultaneous H. pylori infection.
Other causes exist but are much less common. Blaming chilli may delay investigation for H. pylori or medicine-related injury.
Why do some people feel worse after spicy food?
People respond differently. Chilli may worsen pain, heartburn or discomfort in some people with an ulcer, gastritis or reflux. If a particular food consistently triggers your symptoms, reducing or avoiding it is reasonable. However, avoiding chilli alone does not eradicate H. pylori or heal an NSAID-related ulcer.
NIDDK reports that no special diet has been shown to prevent or treat peptic ulcers for everyone.
Possible symptoms
Symptoms may include upper-abdominal pain or burning, feeling full too soon, uncomfortable fullness after meals, nausea, vomiting or bloating. Some people have no symptoms until a complication develops. Symptoms alone cannot confirm an ulcer.
How are ulcers and H. pylori diagnosed?
A clinician may review symptoms and medicines, examine the patient and select appropriate tests. H. pylori can be checked with a urea breath test or stool test. In some patients, upper-GI endoscopy is used to confirm an ulcer, investigate its cause and take a biopsy when needed.
Do not self-start antibiotics. Incorrect treatment can fail and contribute to antibiotic resistance.
Treatment depends on the cause
Confirmed H. pylori infection is generally treated with a clinician-prescribed combination of antibiotics and acid suppression. The full course should be taken as directed, and follow-up testing may be recommended to confirm eradication.
For an NSAID-related ulcer, a clinician may change the medicine, lower the dose, select an alternative or add stomach protection. Do not stop prescribed aspirin or another essential medicine without professional advice.
Seek urgent care for:
vomit containing red blood or material resembling coffee grounds;
black, sticky or bloody stools;
sudden, severe abdominal pain that does not settle;
marked dizziness, fainting, a rapid pulse or severe weakness.
These may indicate bleeding, perforation or another serious complication.
Conclusion
Spicy food can be a symptom trigger for some people, but it is not a main cause of peptic ulcers. The important step is identifying and treating the real cause—particularly H. pylori or NSAID exposure—rather than relying on dietary avoidance alone.
Note: This article provides general health education and is not a substitute for personal assessment or advice from a qualified health professional.
This article provides general health education; it is not a diagnosis, prescription or emergency service.
NIDDK identifies Helicobacter pylori infection and NSAID medicines—such as aspirin, ibuprofen and naproxen—as the most common causes of peptic ulcers. Symptoms may include upper-abdominal pain, early fullness, nausea, vomiting or bloating, although some people have no symptoms.
NIDDK — Eating, Diet, & Nutrition for Peptic Ulcers
NIDDK states that researchers have not found diet and nutrition to play an important role in causing, preventing or treating peptic ulcers. No specific food-avoidance diet is recommended for everyone to prevent or heal an ulcer.