Gastritis is inflammation of the stomach lining, and how it gets cured depends entirely on what caused it. When the cause is a bacterial infection, a course of antibiotics can eliminate it. When the cause is a medication, stopping or replacing that drug usually allows the stomach to heal. When the cause is alcohol, stress, or bile reflux, removing the trigger is the first step. In many cases, the stomach lining repairs itself once the underlying cause is addressed.
That answer sounds simple. In practice, gastritis is not one condition. It is a group of conditions that share a similar pattern of tissue damage but have very different causes, timelines, and treatment paths. Understanding which type you have is the difference between a cure and months of guesswork.
What Is Gastritis, Exactly?
Gastritis means inflammation of the gastric mucosa — the protective lining of the stomach. That lining normally defends itself against stomach acid through a layer of mucus, bicarbonate secretion, and healthy blood flow. When those defenses break down, acid and other irritants damage the tissue underneath.
The condition is classified in several ways. Doctors distinguish between acute gastritis, which comes on suddenly and often resolves within days to weeks, and chronic gastritis, which develops slowly and can persist for months or years. It is also classified by location and by what the tissue looks like under a microscope.
One important distinction is whether the inflammation is erosive or non-erosive. Erosive gastritis means the surface of the lining is visibly worn away. Non-erosive gastritis shows inflammation on biopsy without those surface breaks. The two can produce similar symptoms but often have different causes and different treatment approaches.
A common misconception is that gastritis and acid reflux are the same thing. They are not. Reflux involves stomach contents moving up into the esophagus. Gastritis is inflammation of the stomach lining itself. The two can occur together, but they are separate problems.
What Causes Gastritis?
The most common cause worldwide is infection with Helicobacter pylori, a bacterium that colonizes the stomach lining and triggers chronic inflammation. The Centers for Disease Control and Prevention estimates that roughly 30 to 40 percent of people in the United States have H. pylori, though most never develop symptoms. When it does cause problems, it can lead to chronic gastritis, peptic ulcers, and in some cases stomach cancer.
Other causes include:
- Long-term use of nonsteroidal anti-inflammatory drugs (NSAIDs) such as ibuprofen, naproxen, and aspirin
- Excessive alcohol consumption
- Bile reflux, where bile from the small intestine flows back into the stomach
- Autoimmune conditions, in which the immune system attacks the cells that produce stomach acid
- Severe physiological stress, such as from major surgery, burns, or critical illness
- Certain infections and rare conditions
NSAID-related gastritis is one of the most common forms seen in clinical practice. These drugs reduce production of prostaglandins, which are compounds that help protect the stomach lining. Without that protection, acid causes more damage than usual. The risk rises with higher doses, longer use, and use of multiple NSAIDs at once.
Autoimmune gastritis is a distinct condition. The immune system targets parietal cells in the stomach, which produce acid and a protein called intrinsic factor. Over time this can lead to low acid production and vitamin B12 deficiency. It is far less common than H. pylori-related gastritis and is often discovered incidentally during testing for other issues.
How Is Gastritis Cured?
Gastritis is cured by identifying and eliminating its cause. Treatment is not one-size-fits-all. What works for H. pylori gastritis will not help autoimmune gastritis, and what helps NSAID-related gastritis will not resolve bile reflux.
For H. pylori-positive gastritis, the standard approach is a combination of antibiotics and acid-suppressing medication. Current regimens typically include two or more antibiotics plus a proton pump inhibitor, taken for 10 to 14 days. This is not a simple course of one antibiotic. The bacterium is difficult to eradicate, and using a single drug leads to resistance. After treatment, doctors confirm eradication with a breath test, stool test, or biopsy — usually at least four weeks after finishing antibiotics. If the infection is gone, the gastritis typically resolves.
For NSAID-related gastritis, the first step is stopping the offending drug if possible. When that is not an option, doctors may prescribe a proton pump inhibitor or misoprostol to protect the stomach lining. Whether the gastritis fully resolves depends on how much damage occurred and how quickly the drug is stopped.
For autoimmune gastritis, there is no cure for the underlying immune process. Treatment focuses on managing complications — vitamin B12 replacement, monitoring for iron deficiency, and periodic screening for stomach cancer and neuroendocrine tumors. This is a condition that requires long-term management rather than a short course of treatment.
For alcohol-related or stress-related gastritis, removing the trigger is the primary treatment. The stomach lining has a strong capacity to regenerate. When the irritant is removed and acid is controlled, healing often follows.
What Role Do Medications Play in Treatment?
Medications do not cure gastritis on their own. They reduce acid, protect the lining, or eliminate infection — all of which give the stomach a chance to heal. But without addressing the root cause, symptoms often return once the medication stops.
Proton pump inhibitors (PPIs) are the most commonly prescribed acid suppressants. They work by blocking the enzyme that produces stomach acid. Common examples include omeprazole, esomeprazole, and pantoprazole. They are effective for reducing acid and allowing the lining to repair, but they do not treat infection or reverse autoimmune damage.
H2 blockers such as famotidine reduce acid through a different mechanism. They are generally less potent than PPIs but may be used for milder cases or when PPIs are not tolerated.
Antacids neutralize acid already in the stomach. They provide quick symptom relief but do not promote healing or address the underlying cause.
Bismuth subsalicylate, often combined with antibiotics in H. pylori regimens, has both antibacterial and coating properties. It is not used alone to treat gastritis.
A common mistake is staying on acid-suppressing medication indefinitely without addressing the cause. PPIs are generally well tolerated for short-term use. Long-term use has been associated with potential risks including nutrient deficiencies and increased risk of certain infections, though the evidence on these associations is mixed and the absolute risk for most people is low. The decision to continue or stop should be made with a doctor.
How Long Does It Take to Heal?
Healing time depends on the type and severity of gastritis. Acute gastritis caused by a short course of NSAIDs or a single episode of heavy drinking often improves within a few days once the trigger is removed. The lining may fully repair within a week or two.
Chronic gastritis takes longer. After successful H. pylori eradication, inflammation typically decreases over weeks to months. Some studies suggest that complete resolution of inflammation may take several months, and in cases where atrophy or intestinal metaplasia has developed, those changes may not fully reverse.
Autoimmune gastritis is lifelong. Treatment manages complications but does not cure the disease.
It is also worth knowing that symptom relief and tissue healing do not always happen at the same pace. Someone may feel better within days while the lining is still recovering. That is one reason doctors sometimes recommend follow-up testing rather than relying on how you feel.
Can Gastritis Come Back After Treatment?
Yes. Recurrence is common when the underlying cause is not fully resolved or when a person is re-exposed to the trigger.
With H. pylori, reinfection after successful eradication is relatively uncommon in developed countries, but it does happen. More often, recurrence is due to incomplete eradication — the antibiotics did not fully clear the infection. That is why follow-up testing matters.
With NSAID-related gastritis, returning to the same medication without protection can cause the problem to return. With alcohol-related gastritis, resuming heavy drinking can do the same.
Some people have ongoing low-grade gastritis that never fully resolves. This is more common in chronic H. pylori infection that went untreated for years, or in autoimmune gastritis. In these cases, the goal shifts from cure to management.
What Lifestyle Changes Support Healing?
Lifestyle changes do not cure gastritis, but they can reduce irritation and support the stomach’s ability to repair itself.
Stopping alcohol and tobacco is one of the most impactful steps. Both impair healing and increase acid production. Avoiding NSAIDs when possible — or using them only under medical supervision with protective medication — reduces the risk of ongoing damage.
Diet plays a supporting role. There is no single gastritis diet, but some people find that spicy foods, citrus, caffeine, and fatty meals worsen symptoms. Others tolerate these without issue. Keeping a food diary can help identify personal triggers.
Stress management is often recommended, though the evidence linking psychological stress directly to gastritis is not strong. Stress does not cause H. pylori infection or autoimmune gastritis. It may worsen symptoms in some people through mechanisms that are not fully understood. The recommendation to reduce stress is reasonable for overall health, but it is not a substitute for treating the underlying cause.
Eating smaller meals more frequently may reduce stomach distension and acid exposure. This is a common clinical suggestion rather than a proven intervention.
When Should You See a Doctor?
See a doctor if symptoms last more than a week, if they are severe, or if they interfere with eating or daily life. Also seek medical attention if you notice blood in vomit or stool, black tarry stools, unexplained weight loss, or difficulty swallowing. These can be signs of bleeding or other serious conditions.
If you have been diagnosed with gastritis and symptoms return after treatment, follow-up is important. Recurrence may mean the cause was not fully addressed or that a new trigger has emerged.
If you are taking NSAIDs regularly or have a history of H. pylori, discuss screening with your doctor. Early detection and treatment can prevent complications.
Frequently Asked Questions
Can gastritis be cured completely?
Yes, when the cause can be eliminated — such as H. pylori infection or NSAID use — the stomach lining can heal completely. Autoimmune gastritis cannot be cured, but it can be managed.
How long does gastritis take to heal?
Acute gastritis often improves within days to a week after the trigger is removed. Chronic gastritis may take weeks to months to resolve, depending on the cause and how long it went untreated.
What is the fastest way to cure gastritis?
The fastest path is identifying and removing the cause — stopping the offending medication, treating H. pylori with antibiotics, or eliminating alcohol. Acid-suppressing medication helps symptoms but does not cure the underlying problem on its own.
Can gastritis go away on its own?
Mild acute gastritis can resolve without treatment if the trigger is removed. Chronic gastritis caused by H. pylori or autoimmune disease does not go away on its own and requires medical treatment.

