What is gastroenteritis (stomach infection)?

Gastroenteritis (Stomach Infection)
Jump to

Gastroenteritis: Overview

Gastroenteritis is an illness that may cause nausea, vomiting, and diarrhea. It can be caused by bacteria or a virus.

You will probably begin to feel better in 1 to 2 days. In the meantime, get plenty of rest and make sure you do not become dehydrated. Dehydration occurs when your body loses too much fluid.

Stomach infection (gastroenteritis)

A stomach infection, sometimes called gastroenteritis, can be caused by a viral, bacterial, or parasitic infection. It is sometimes called "stomach flu," but it is not the flu.

The symptoms of gastroenteritis include nausea, vomiting, abdominal (belly) cramps, diarrhea, fever, and weight loss.

A stomach infection usually goes away without medical treatment in 1 to 2 days. Home treatment can relieve the symptoms of a stomach infection and prevent problems, such as dehydration.

How can you prevent gastroenteritis?

The best thing you can do to keep from catching gastroenteritis from someone else is to make a habit of washing your hands often. This is especially important after you use the bathroom, after you change a baby's diaper, and before you eat or prepare food.

Don't share personal items like forks and spoons, toothbrushes, and towels. Try not to be around others who have a stomach infection. Keep your hands away from your nose, eyes, and mouth.

You can prevent food poisoning by taking steps to make sure your food is not contaminated:

  • Wash cutting boards and countertops often with hot, soapy water. Consider using disinfectant sprays or wipes on your counters.
  • Keep hot foods hot and cold foods cold.
  • Do not eat meats, dressings, salads, or other foods that have been kept at room temperature for more than 2 hours.
  • Use a thermometer to check your refrigerator. It should be between 34 °F (1 °C) and 40 °F (4 °C) .
  • Defrost meats in the refrigerator or microwave, not on the kitchen counter.
  • Cook meat until it is well done.
  • Do not eat raw eggs or uncooked sauces made with raw eggs.
  • Do not take chances. If food looks or tastes spoiled, throw it out.
  • Be extra careful when you travel. In some places, you may not want to drink water from the tap (including ice cubes) or eat any raw foods.

How can you care for yourself when you have gastroenteritis?

  • If your doctor prescribed antibiotics, take them as directed. Do not stop taking them just because you feel better. You need to take the full course of antibiotics.
  • Drink plenty of fluids to prevent dehydration. Choose water and other clear liquids until you feel better. If you have kidney, heart, or liver disease and have to limit fluids, talk with your doctor before you increase your fluid intake.
  • Drink fluids slowly, in frequent, small amounts, because drinking too much too fast can cause vomiting.
  • When you feel like eating, start with small amounts. Avoid spicy, hot, or high-fat foods, and do not drink alcohol or caffeine for a day or two. Do not drink milk or eat ice cream until you are feeling better.

How to prevent food poisoning

  • Keep your hands and your kitchen clean. Wash cutting boards and countertops often with hot, soapy water. Consider using disinfectant sprays or wipes on your counters.
  • Keep hot foods hot and cold foods cold.
  • Do not eat meats, dressings, salads, or other foods that have been kept at room temperature for more than 2 hours.
  • Use a thermometer to check your refrigerator. It should be between 34°F and 40°F.
  • Defrost meats in the refrigerator or microwave, not on the kitchen counter.
  • Cook meat until it is well done.
  • Do not eat raw eggs or uncooked sauces made with raw eggs.
  • Do not take chances. If food looks or tastes spoiled, throw it out.
  • Be extra careful when you travel. In some places, you may not want to drink water from the tap (including ice cubes) or eat any raw foods.

What is gastroenteritis?

Gastroenteritis is an upset stomach. It causes nausea and vomiting. You may also have diarrhea or a fever. It is sometimes called "stomach flu," but it is not the flu. Germs like viruses and bacteria can cause it.

You can catch it from someone else who has it, or you can get it from food poisoning. Food poisoning can happen if you eat foods that contain harmful germs. Germs can get into food while the food is growing, during processing, or when it is prepared. You may have become ill after eating meat or eggs that weren't cooked enough or by eating other unsafe foods or drinking unsafe water.

You will probably begin to feel better in 1 or 2 days, but you might feel bad for a week. In the meantime, get plenty of rest, and make sure you do not become dehydrated. Dehydration occurs when your body loses too much fluid. This can happen when you throw up a lot or have diarrhea.

Gastroenteritis 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-2024 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.

Specialized emergency services

Find care near you

Comprehensive care

Find an ER near you