Acute gastritis is a sudden inflammation or swelling in the lining of the stomach. It can cause severe and nagging pain. However, the pain is temporary and usually lasts for short bursts at a time.

An inflammation or swelling of the stomach lining, acute gastritis can happen quickly. It can be very painful and may be caused by many things that can irritate the stomach lining, like bacteria, foods, and medications.

The most common cause of acute gastritis is taking nonsteroidal anti-inflammatory drugs (NSAIDs) and corticosteroids.

Read on to learn more about acute gastritis and what to do if you have it.

Acute gastritis is a painful swelling of the lining of the stomach. It comes on rapidly and can be caused by many things, such as:

  • injury
  • bacteria
  • viruses
  • stress
  • ingesting irritants like:
    • alcohol
    • NSAIDs
    • steroids
    • spicy food

Acute gastritis is often only temporary. Chronic gastritis, on the other hand, comes on more slowly and lasts longer. Chronic gastritis might cause more of a consistent dull ache than the more intense pain of acute gastritis.

Gastritis is a separate condition from gastroenteritis. Gastritis only directly affects the stomach and may include nausea or vomiting, while gastroenteritis affects both the stomach and the intestines. Gastroenteritis symptoms may include diarrhea in addition to nausea or vomiting.

While the prevalence of chronic gastritis has decreased in developing countries in recent years, acute gastritis is still common.

Acute gastritis occurs when the lining of your stomach is damaged or weak. This allows digestive acids to irritate the stomach. There are many things that can damage your stomach lining. The causes of acute gastritis include:

NSAIDs and corticosteroids (steroid hormone medications) are the most common causes of acute gastritis.

H. pylori is a type of bacteria that can infect the stomach. It’s often the cause of peptic ulcers. While it’s unclear how H. pylori spreads, it can result in symptoms like:

  • stomach inflammation
  • loss of appetite
  • nausea
  • bloating
  • abdominal pain

Other causes that are less common include:

Factors that increase your risk of acute gastritis include:

Some people with acute gastritis do not have symptoms, while others may have symptoms that range from mild to severe.

Common symptoms include:

Some symptoms associated with acute gastritis are also seen in other health conditions. It can be difficult to confirm acute gastritis without talking with a healthcare professional.

Contact your doctor or healthcare professional if you have gastritis symptoms for a week or longer.

Seek medical care

Seek immediate care if you have any of the following:

  • vomit that is bloody or looks like old coffee grounds
  • feces (poop) that is black, sticky, or extremely smelly
  • sudden severe stomach or chest pain

There are some conditions that can cause symptoms similar to those of acute gastritis, including:

Some tests can be used to diagnose acute gastritis. Usually, your doctor will ask you detailed questions to learn about your symptoms. They may also order tests to confirm diagnosis, such as the following:

Some cases of acute gastritis go away without treatment, and eating a bland diet can aid in a quick recovery. Foods that are low in natural acids, fat, andfiber may be tolerated best.

Lean meats like chicken or turkey breast can be added to the diet if tolerated, though chicken broth or other soups might be best if vomiting keeps happening.

However, many people do need treatment for acute gastritis, with treatment and recovery times depending on the cause of the gastritis. H. pylori infections may require one or two rounds of antibiotics, which could last for two weeks apiece.

Other treatments, like those used to treat viruses, will involve taking medication to reduce symptoms.

Some treatment options include:

Medications

There are both over-the-counter and prescription medicines for gastritis. Often, your doctor will recommend a combination of drugs, including the following:

  • Antacids such as Pepto-Bismol, TUMS, or milk of magnesia can neutralize stomach acid. They can be used as long as a person experiences gastritis, with a dose taken as often as every 30 minutes if needed.
  • H2 antagonists such as famotidine (Pepcid) and cimetidine (Tagamet) reduce stomach acid production and can be taken between 10 and 60 minutes before eating.
  • Proton pump inhibitors, such as omeprazole ( Prilosec) and esomeprazole (Nexium), inhibit stomach acid production. They should not be used for more than 14 days unless recommended by your healthcare professional.

Antibiotics are only necessary if you have a bacterial infection, such as from H. pylori. Common antibiotics used to treat H. pylori infections include amoxicillin, tetracycline (which shouldn’t be used in children under 12 years old), and clarithromycin.

The antibiotic may be used in conjunction with a proton pump inhibitor, antacid, or H2 antagonist. Treatment typically lasts between 10 days and four weeks.

Your doctor may also recommend that you stop taking any NSAIDS or corticosteroids to see if that relieves your symptoms. However, don’t stop taking these drugs without first talking with your doctor.

Home care

Lifestyle changes may also help reduce your acute gastritis symptoms. Changes that could help include:

  • avoiding or limiting alcohol consumption
  • avoiding spicy, fried, and acidic foods
  • eating frequent, small meals
  • reducing stress
  • avoiding drugs that can irritate the stomach lining, such as NSAIDs or aspirin

The outlook for acute gastritis depends on the underlying cause. It usually resolves quickly with treatment. H. pylori infections, for example, can often be treated with one or two rounds of antibiotics, and it may take 1 to 2 weeks for you to fight off viral infections.

However, sometimes treatment fails, and it can turn into chronic or long-term gastritis. Chronic gastritis also may increase your risk of developing gastric cancer.

You can reduce your risk of developing this condition with a few simple steps:

  • Wash your hands with soap and water regularly and before meals. This can reduce your risk of contracting H. pylori.
  • Cook foods thoroughly. This also reduces the risk of infection.
  • Avoid alcohol or limit your alcohol intake.
  • Avoid NSAIDs, or don’t use them frequently. Consume NSAIDs with food and water to avoid symptoms.

Acute gastritis is an inflammation of the lining of the stomach that comes on suddenly. It may be caused by many things from foods, to bacteria, to medication.

The most common treatments are dietary changes and medications. Acute gastritis is generally temporary, resolving within a few hours. But it can be longer lasting depending on the cause.

See a doctor or healthcare professional if you have gastritis that is longer lasting. Seek immediate care if you are vomiting blood or substance that looks like old coffee grounds.