Gastritis

Gastritis

What is gastritis?

Gastritis is an upset stomach. It happens when something irritates the stomach lining. Normally, a layer of mucus protects the stomach lining. If gastritis occurs for a long time, part of this lining may wear away. This causes sores called ulcers.

What are the symptoms of gastritis?

Gastritis can make you feel sick to your stomach. Symptoms may include pain, discomfort, or bloating in the upper part of the belly. You may also have nausea, vomiting, or diarrhea. Gastritis may cause only mild symptoms that come and go. Severe gastritis can cause serious bleeding from the digestive tract.

How is gastritis diagnosed?

You may need blood tests, a stool test, or a breath test to check for an infection, such as one caused by H. pylori, in the stomach. You may have a endoscopy. In some cases, the doctor may want to test a sample of tissue from the intestine. This test is called a biopsy.

How is gastritis treated?

If gastritis happens only now and then, you can likely use just home treatment. This may include changes to your diet, such as limiting how much alcohol you drink. Or you may need to avoid foods and drinks that have caffeine. They increase stomach acid.

If gastritis doesn't get better or it keeps coming back, see your doctor. They may recommend treatment such as:

  • Taking medicines to help reduce stomach acid and ease discomfort. These include antacids and stomach acid blockers.
  • Taking medicines to help treat an infection from H. pylori bacteria.
  • Avoiding medicines that can cause gastritis, such as aspirin or ibuprofen or other anti-inflammatory drugs.

How can you care for your child who has gastritis?

  • Have your child take medicines exactly as prescribed. Call your doctor if you think your child is having a problem with a medicine.
  • Note when your child gets an upset stomach. Write down any foods, medicines, or events that seem to cause stomach upset. Avoid these in the future.
  • Do not give your child over-the-counter medicines without talking to your doctor first. Do not give Pepto-Bismol or other medicines that contain salicylates, a form of aspirin.
  • Watch for and treat signs of dehydration, which means that the body has lost too much water. Your child's mouth may feel very dry. Your child may have sunken eyes with few tears when crying. Your child may lack energy and want to be held a lot. And your child may not urinate as often as usual.
  • Give your child lots of fluids a little at a time. This is very important if your child is vomiting or has diarrhea. Give your child sips of water or drinks such as Pedialyte or Infalyte. These drinks contain a mix of salt, sugar, and minerals. You can buy them at drugstores or grocery stores. Give these drinks as long as your child is throwing up or has diarrhea. Do not use them as the only source of liquids or food for more than 12 to 24 hours.
  • Avoid foods that make your child's symptoms worse. These may include chocolate, mint, alcohol, pepper, spicy foods, high-fat foods, or drinks with caffeine in them, such as tea, coffee, colas, or energy drinks.
  • Start to offer small amounts of food when your child feels like eating.

Gastritis in children: When to call

Call 911 anytime you think your child may need emergency care. For example, call if:

  • Your child passes out (loses consciousness).
  • Your child is confused, does not know where they are, or is extremely sleepy or hard to wake up.
  • Your child has severe belly pain.
  • Your child vomits blood or what looks like coffee grounds.
  • Your child passes maroon or very bloody stools.

Call your doctor now or seek immediate medical care if:

  • Your child has new or worse belly pain.
  • Your child has a new or higher fever.
  • Your child has symptoms of dehydration, such as:
    • Dry eyes and a dry mouth.
    • Passing only a little urine.
    • Feeling thirstier than usual.
  • Your child has nausea or vomiting and can't keep medicine or fluids down.
  • Your child cannot pass stools or gas.
  • Your child has new or more blood in their stools or their stools are black and tarlike.

Watch closely for changes in your child's health, and be sure to contact your doctor if:

  • Your child has new symptoms, such as a rash, an earache, or a sore throat.
  • Your child does not get better as expected.

©2011-2025 Healthwise, Incorporated

The content above contains general health information provided by Healthwise, Incorporated, and reviewed by its medical experts. This content should not replace the advice of your healthcare provider. Not all treatments or services described are offered as services by us. For recommended treatments, please consult your healthcare provider.

Walk-in services

Find a walk-in clinic

Same-day primary care services

Learn more

Onsite diagnostic tests

Find same-day care

Women’s health

Learn more