Gastritis: Why the Real Cause Is Usually Not Just Stress and Spicy Food, and How to Manage It
Gastritis is inflammation of the stomach lining, and its important causes are usually H. pylori infection or NSAID painkillers rather than just stress and spicy food. This article explains what gastritis is, why finding the cause matters, how it is diagnosed, how it is managed with a doctor, and the warning signs that need urgent care.

After a meal you feel a burning or gnawing ache high in your upper abdomen, sometimes a heavy fullness as if food will not move, and some days nausea or feeling full after only a few bites. Many people lump all of this together as a stomach problem and quietly decide it must be stress and spicy food, then reach for a pill whenever it flares. What the research actually shows can be quite different from that assumption.
This article walks you through it one layer at a time: what gastritis is, where the real causes usually come from, why finding the cause matters more than masking the symptom, and what you can genuinely do for yourself, without forgetting that diagnosis and treatment need a doctor.
What Gastritis Actually Is
Gastritis is inflammation of the lining of the stomach. That lining normally has a mucous layer that protects the stomach wall from the acid it uses to digest food. When it becomes inflamed, that protective barrier works less well, so the wall becomes irritated and can sometimes develop shallow erosions.
Broadly, gastritis comes in two forms. The acute form appears quickly and often settles once the trigger is removed. The chronic form builds gradually and lingers, and it is this chronic form that is most often linked to certain infections and to longer term effects worth paying attention to.
The Real Cause Is Usually Not Just Stress and Spicy Food
Here is where a lot of people are misled: most gastritis that matters medically is not caused by stress or spicy food alone. Research points to two main causes.
The first is infection with a bacterium called Helicobacter pylori, usually shortened to H. pylori, which is a very common cause of chronic gastritis. It lives in the mucous layer of the stomach and can drive inflammation for years, often without a person realizing it, because there may be no clear symptoms.
The second is the painkillers known as NSAIDs, such as anti-inflammatory drugs for joint and muscle pain, along with aspirin. These reduce the substances that protect the stomach lining, so using them often or continuously raises the chance of gastritis and ulcers.
Beyond these two main causes, there are others: heavy alcohol use, severe illness or physical stress in critically ill people in hospital, autoimmune gastritis where the immune system attacks the stomach lining, and bile reflux back into the stomach. Knowing that the cause can be any of several things shows why guessing and self treating does not always land on the right target.
Symptoms, and How Gastritis Differs from a Peptic Ulcer
When symptoms are present, gastritis often shows up as pain or burning high in the upper abdomen, together called dyspepsia, along with nausea, fullness, or feeling full quickly. Importantly, some people have no symptoms at all, especially with the chronic form. In cases where the lining erodes, there can be bleeding in the stomach.
Many people confuse gastritis with a peptic ulcer. The two are related and often share causes, especially H. pylori and NSAIDs, but they are distinct. Gastritis is inflammation of the lining, while a peptic ulcer is a deeper break in the lining that forms a defined sore. Telling them apart clearly requires a medical assessment.
Why You Should Find the Cause, Not Just Mask the Symptom
Finding the underlying cause matters not only to ease the pain faster, but because some chronic gastritis has long term consequences. Long standing, untreated gastritis from H. pylori infection is a recognized risk factor for stomach cancer. This is a key reason why testing for and clearing the infection is worth more than simply covering up the symptoms.
In addition, autoimmune gastritis can interfere with the absorption of vitamin B12 and lead to a B12 deficiency. That is another reason why knowing the true cause allows care that covers every angle, not just the stomach ache itself.
How It Is Diagnosed
Diagnosing gastritis and finding its cause needs a doctor. A common tool is testing for H. pylori, which can be done in several ways, such as a breath test, a stool test, or a biopsy taken during endoscopy. In some cases a doctor may consider an upper endoscopy along with a biopsy, to look at the stomach lining directly and rule out other conditions.
Which test is chosen depends on age, symptoms, risk factors, and any warning signs the doctor assesses, so it should not be concluded from symptoms alone.
How It Is Managed
The guiding principle is to treat the underlying cause, not only to relieve symptoms.
If H. pylori is found, clinical guidelines such as the 2017 ACG guideline recommend eradicating it with a combination of antibiotics prescribed by a doctor, together with acid-reducing medicine. Using antibiotics to clear the infection must be done under a doctor’s guidance, including the choice of drugs, the regimen, and the duration. Do not take leftover antibiotics from a previous course on your own, because an incomplete or incorrect course can make the bacteria resistant and harder to treat.
If the cause is NSAIDs, a doctor may consider stopping or adjusting them, along with acid-reducing medicine to let the stomach lining heal. These acid-reducing medicines are chosen by a doctor and should not be bought and used continuously on your own without finding the cause, because that can mask the symptom while the underlying problem remains.
On the lifestyle side, cutting back or stopping alcohol and avoiding unnecessary NSAID use helps reduce irritation of the stomach lining. As for spicy food, it may make some people feel more uncomfortable, but it is not the main cause of the inflammation, so adjusting food is more about comfort than about treating the root cause.
A point of caution: significant gastritis usually is not just stress and spicy food.
Like peptic ulcers, most gastritis that matters medically is driven by H. pylori infection or NSAID painkillers rather than simply stress and spicy food, so a cause should be sought rather than assumed. And long standing, untreated H. pylori gastritis is a recognized risk factor for stomach cancer, which is why it is worth diagnosing and treating rather than just masking the symptoms. Sources: StatPearls (NBK544250), 2017 ACG guideline (PMID 28071659).
Warning Signs That Need Urgent Care
Some signs point to bleeding in the digestive tract, which is an emergency that needs urgent medical care right away. These include:
- Black, tarry stools.
- Vomiting blood, or vomit that looks like coffee grounds.
- Severe, sudden abdominal pain.
- Faintness, a racing heart, or feeling like you might pass out.
If you have any of these, do not wait to see how it goes. Go to an emergency department or see a doctor quickly.
When to See a Doctor, and How to Start
See a doctor if you have pain or burning in the upper abdomen, fullness, or indigestion that is persistent or keeps coming back, especially if you regularly take NSAID painkillers. Here is what you can do:
- See a doctor for persistent or recurring upper-abdominal discomfort.
- Ask your doctor about H. pylori testing.
- Be cautious with regular NSAID use, and tell your doctor what medicines you take.
- Limit or cut back on alcohol.
- Do not ignore the bleeding warning signs described above.
Managing gastritis well starts with understanding that it usually has a cause that can be found and treated, rather than something to just endure or keep quieting with a pill. A first step you can take right away is to note your symptoms, when the pain comes and how it relates to meals or medicines, and bring that to your doctor so you can look for the real cause together.
This content is general information for health care, not advice that replaces seeing a doctor. Diagnosing and treating gastritis, including any decision about acid-reducing medicine and antibiotics to clear an infection, should always be done together with a human doctor or specialist.



Read next
More in this category

Dietary Fiber, the Gut, and Metabolic Health: A Short Guide to LDL, Post-Meal Glucose, Microbes, and Fullness
A short guide to dietary fiber, the gut, and metabolic health, covering how soluble and viscous fiber is linked to lower LDL cholesterol, gentler post-meal glucose, short-chain fatty acids from gut microbes, and greater fullness, with the population-level effect sizes, the limits, who should be careful, and how to start adding fiber gradually with water, while treating every number as guidance to adjust with a doctor or dietitian.
Read article
Caffeine and Health: What It Is, How Much Is Reasonable, and Who Should Be Careful
A short guide to caffeine and health, covering how caffeine works, where it hides, the amount often cited as reasonable for most healthy adults, why too much or too late disrupts sleep and causes jitteriness, who should have less or none, and how to start looking after yourself, while treating every number as guidance a doctor tailors to you.
Read article
Celiac Disease: What It Is, How It Is Diagnosed, Why You Must Be Tested Before Quitting Gluten, and How to Manage It
A short guide to celiac disease, covering what it is, what gluten does to the small intestine, how wide the symptoms can be, how it is diagnosed, why testing must happen while you are still eating gluten, and how to start looking after yourself.
Read articleVerifiable
References for this article
- 1 Chey WD et al. ACG Clinical Guideline: Treatment of Helicobacter pylori Infection (Am J Gastroenterol 2017, PMID 28071659) pubmed.ncbi.nlm.nih.gov
- 2 StatPearls (NCBI Bookshelf NBK544250): Gastritis ncbi.nlm.nih.gov
Reviewed by Health Coach: A888