Your stomach burns after meals, or feels queasy for no obvious reason, and your first guess is probably an ulcer. Most people jump there. But gastritis is a separate problem: the lining of your stomach gets irritated and inflamed, not eaten through. It has its own causes, its own warning signs, and once you know what is driving it, its own clear path to treatment.
Two problems, one neighborhood
Your stomach lining normally handles a brutal environment. A layer of mucus shields it from the acid your body uses to break down food. Gastritis happens when that shield thins out and the tissue underneath turns red, swollen, and irritated, similar to how skin reacts to a rash. An ulcer goes further: instead of just irritation, the lining wears through completely into an open sore, one that can reach deep enough to hit a blood vessel and bleed[1].
Having gastritis does not mean you are headed for an ulcer. Left untreated for months or years, though, the risk of one developing does go up, especially if the underlying cause never gets addressed.
| Gastritis | Ulcer | |
|---|---|---|
| Where it happens | Widespread irritation across the stomach lining | A single open sore, usually in the stomach or the upper part of the small intestine |
| Typical symptoms | Burning pain, nausea, bloating, feeling full fast, or sometimes no symptoms at all | Similar burning pain, often more localized, plus a higher chance of bleeding signs like dark stool |
| How it's diagnosed | Upper endoscopy shows red, swollen tissue; biopsy checks for H. pylori | Upper endoscopy shows a visible open sore rather than general redness |
| Healing time | Often days to a few weeks once the trigger is removed and treated | Typically around two months of acid-suppressing medication[2] |
What triggers it
H. pylori, short for Helicobacter pylori, is the single most common cause of gastritis worldwide[3]. This bacterium burrows into your stomach lining and can sit there quietly for years before it finally sets off inflammation, and left unaddressed long enough it also raises H. pylori and stomach cancer risk. NSAIDs, the painkiller class that includes ibuprofen and aspirin, are the other major trigger. Taken occasionally they rarely cause trouble, but daily use for weeks or months wears down the same lining that is supposed to keep acid contained[1].
Heavy drinking irritates the lining directly, and so does the physical stress your body goes through during a severe illness or major surgery. In autoimmune gastritis, your immune system mistakes the cells lining your own stomach for a threat and attacks them. Bile reflux is less common: digestive fluid that belongs in your small intestine flows backward into your stomach instead and irritates the tissue.
Occasionally a stomach virus or a bout of food poisoning triggers a short episode, and rarely, so does a new supplement. These usually clear up fast once the trigger passes.
Quick flare or long-term condition
Acute gastritis shows up fast, often within a day or two of a stomach bug or a rough stretch of NSAID use, and it tends to fade once the trigger is gone and the lining gets a chance to heal. Chronic gastritis builds slowly, usually driven by an ongoing H. pylori infection or an autoimmune process, and it can sit there for years without announcing itself. Chronic gastritis needs the actual cause found and treated, or the irritation just keeps smoldering.
When the cause is autoimmune
Autoimmune gastritis deserves its own attention because of what it does quietly in the background. The stomach cells your immune system attacks are the same cells that help you absorb vitamin B12 and iron from food. When those cells get damaged, less of each nutrient reaches your bloodstream, and over time that can lead to anemia or nerve symptoms like tingling and numbness[1].
This form also tends to show up alongside other autoimmune conditions, thyroid disease especially. Doctors sometimes test for it in people already managing a thyroid condition or type 1 diabetes, even if their stomach has never bothered them.
- Vomiting blood, or vomit that looks like coffee grounds
- Black, tarry stool or visible blood in your stool
- Sudden, severe abdominal pain
- Lightheadedness or fainting alongside stomach pain
Getting an actual diagnosis
An upper endoscopy is the most reliable way to confirm gastritis and find out what is causing it. A doctor threads a thin, flexible tube with a camera through your mouth to look directly at your stomach lining and take a small tissue sample, called a biopsy, to check for H. pylori and cell changes.
Breath, stool, or blood tests can check for H. pylori without an endoscopy, and doctors often start there since it is faster and less invasive[3]. Symptoms alone will not tell you which condition you have. Gastritis, ulcers, acid reflux, functional dyspepsia, and even gastroparesis, when your stomach empties too slowly, can all feel nearly identical from the inside.
Why self-treating can backfire
Reaching for over-the-counter antacids for weeks and waiting it out is tempting, especially since they do quiet the burn. Antacids only mask the discomfort. They do nothing to clear an H. pylori infection, which will not go away without antibiotics aimed specifically at it. Weeks of guessing at home can let inflammation continue in the background while you assume things are improving.
If your stomach pain sticks around for more than a week or two despite antacids, or it keeps coming back, that is your sign to get a diagnosis instead of continuing to self-treat.
Treatment that matches the cause
Treatment follows whatever is driving the inflammation.
What you can do right now
If you recognize yourself in any of this, start tonight. Skip the ibuprofen or aspirin for your next ache and reach for acetaminophen instead, just to see if your stomach settles. If you already manage an autoimmune condition like thyroid disease or type 1 diabetes, mention your stomach symptoms, even mild ones, at your next visit. And if your discomfort has already lasted more than a week or two despite antacids, book an appointment this week instead of waiting it out any longer.
This content is for educational purposes only and is not a substitute for professional medical advice.