Sudden nausea, vomiting, or diarrhea can leave you wondering whether you've picked up a stomach bug or eaten something that didn't agree with you. The symptoms overlap in ways that make it hard to tell one from the other in the moment, but there are usually some clues that can help.

Understanding the difference matters mostly because it helps you know what to expect, how long to stay home, and when to seek medical care. Both conditions often improve on their own with rest and fluids, but some situations need more attention than others.

Here's a straightforward guide to sorting out stomach bug vs food poisoning, understanding how long recovery usually takes, and knowing when to reach out for help.

TL;DR: Key Takeaways

  • A stomach bug, also called viral gastroenteritis, is caused by viruses such as norovirus, rotavirus, or adenovirus. Symptoms often appear 12 to 48 hours after exposure and usually last 1 to 3 days.
  • Food poisoning happens when contaminated food or water introduces bacteria, viruses, parasites, or toxins into your system. Symptoms can appear within a few hours or take longer, depending on the cause.
  • Both can cause nausea, vomiting, diarrhea, stomach cramps, and sometimes fever. Timing and whether other people who shared the same meal are also sick can provide useful clues.
  • Dehydration is one of the biggest risks with both illnesses. Watch for decreased urination, dry mouth, dark urine, dizziness, and unusual weakness.
  • Most uncomplicated cases improve with fluids, rest, and a gradual return to normal eating.
  • Antibiotics do not treat viral stomach bugs and are not needed for most cases of food poisoning.
  • Seek medical care for severe or persistent symptoms, bloody stools, high fever, severe abdominal pain, or significant dehydration.

Not sure whether your symptoms are a stomach bug, food poisoning, or something else? Try August AI's free symptom assessment to help you think through your symptoms and what type of care may make sense. AI triage is not a diagnosis. If you have severe symptoms, significant dehydration, blood in vomit or stool, trouble breathing, or another emergency, seek immediate medical care instead.

What is a stomach bug?

A stomach bug, also called viral gastroenteritis, is an infection caused by viruses such as norovirus, rotavirus, or adenovirus. It is highly contagious and can spread through close contact, contaminated surfaces, or contaminated food and water.

Common symptoms include nausea, vomiting, diarrhea, stomach cramps, low-grade fever, and body aches. Symptoms often appear 12 to 48 hours after exposure. Many people recover within one to three days, although some people can remain sick longer.

Because a stomach bug is caused by a virus, antibiotics do not help. Treatment focuses on replacing lost fluids, getting enough rest, and gradually returning to normal eating as tolerated.

What is food poisoning?

Food poisoning happens when contaminated food or drink introduces bacteria, viruses, parasites, or toxins into your body. Common causes include Salmonella, certain strains of E. coli, Listeria, Campylobacter, and toxins produced by bacteria such as Staphylococcus aureus.

Symptoms can include nausea, vomiting, diarrhea, stomach cramps, fever, and dehydration. Diarrhea may sometimes contain blood, depending on the cause.

Food poisoning does not always begin immediately after eating. Some causes can produce symptoms within hours, while others take a day or more to appear. Most uncomplicated cases improve on their own, but certain infections can be more serious and may require medical evaluation or treatment.

Stomach bug or food poisoning: how to tell them apart

The symptoms overlap, so there is no single symptom that can always tell you which illness you have. Timing, recent exposures, and whether other people became sick can provide useful clues.

Feature Stomach Bug Food Poisoning
How you got it Often through contact with an infected person, contaminated surfaces, or contaminated food or water Usually through contaminated food or water
Onset Often 12 to 48 hours after exposure Can range from a few hours to several days, depending on the cause
Duration Often about 1 to 3 days Several hours to several days, with some infections lasting longer
Who else is sick? Household members, coworkers, classmates, or others with close contact may also become sick People who ate the same contaminated food may also become sick
Fever Can occur and is often mild Can occur, depending on the cause
Antibiotics Do not help viral infections Only appropriate for certain bacterial infections and specific circumstances

If you and several other people who ate the same meal all developed symptoms around the same time, food poisoning becomes a possibility. If someone in your household had vomiting or diarrhea a day or two before you became sick, a contagious stomach virus may be more likely.

Still, these clues cannot confirm the cause on their own. Different infections can have similar incubation periods and symptoms, and food can also transmit viruses such as norovirus.

Norovirus symptoms: how long do they last?

Norovirus is one of the most common causes of viral gastroenteritis. Symptoms often begin suddenly and can include nausea, vomiting, watery diarrhea, stomach cramps, low-grade fever, and body aches.

Most people recover within one to three days. Symptoms can be intense while they last, particularly during the first day or two, but they usually improve without specific treatment.

Norovirus is also highly contagious. According to the CDC's norovirus prevention guidance, it can spread through contact with an infected person, contaminated surfaces, or contaminated food and water. Washing your hands thoroughly with soap and water is an important prevention step. Alcohol-based hand sanitizers do not work as well against norovirus.

Dehydration signs in adults and children

Vomiting and diarrhea can cause you to lose fluids and electrolytes quickly. Knowing the warning signs can help you decide when you need more aggressive fluid replacement or medical care.

Dehydration signs in adults include:

  • Increased thirst
  • Dry mouth
  • Decreased urination
  • Dark yellow urine
  • Fatigue or weakness
  • Dizziness, particularly when standing
  • Muscle cramps

Dehydration signs in children can include:

  • Dry mouth and tongue
  • Few or no tears when crying
  • Fewer wet diapers or less frequent urination
  • Unusual sleepiness, weakness, or irritability
  • Sunken eyes or cheeks
  • A sunken soft spot on top of the head in infants

Severe dehydration can cause confusion, extreme weakness, fainting, very little or no urination, or a rapid heartbeat. These symptoms require urgent medical attention.

What recovery usually looks like

Recovery depends on the cause, but the overall pattern can give you a sense of what is typical.

  • First 24 hours: Vomiting and diarrhea may be at their worst. Focus on small, frequent amounts of fluid rather than trying to drink a large amount at once.
  • 24 to 48 hours: Vomiting often begins to ease, although diarrhea and stomach cramps may continue. Appetite may still be low.
  • 48 to 72 hours: Many viral stomach bugs are substantially better by this point. You can usually begin returning to your normal diet as tolerated.
  • After 3 days: Symptoms that are not improving, are getting worse, or are accompanied by concerning symptoms should be evaluated by a clinician.
  • Longer-lasting illness: Some foodborne bacterial or parasitic infections can last a week or longer. Duration alone cannot confirm whether an illness is food poisoning or a stomach virus.

There is some variation from person to person. Children, older adults, and people with certain chronic health conditions may need more time to recover or may be more vulnerable to complications.

What to eat and drink during recovery

Replacing lost fluids is usually the most important part of recovery. If you are vomiting, start with small, frequent sips rather than drinking a large amount at once.

Water can help, but oral rehydration solutions are often a better choice when you have significant vomiting or diarrhea because they contain a balance of fluids and electrolytes. Broth and some electrolyte drinks can also help.

Once you can keep fluids down, you generally do not need to follow a strict bland-food diet. The old "BRAT" approach of bananas, rice, applesauce, and toast is not necessary for most people. Instead, gradually return to your normal diet as tolerated.

Crackers, plain pasta, rice, bananas, soup, or other foods that feel easy to tolerate can be reasonable choices at first. Avoid foods that clearly make your symptoms worse.

If you have persistent vomiting, oral rehydration solutions may be easier to tolerate than plain water because they provide both fluid and electrolytes.

When to see a doctor

Most mild cases can be managed at home, but some symptoms warrant medical evaluation. Contact a clinician if you have:

  • Symptoms lasting more than three days without improvement
  • Signs of significant dehydration
  • A high fever, particularly a fever around 102°F (39°C) or higher in an adult
  • Severe or persistent abdominal pain
  • Blood in vomit or stool
  • Symptoms in an infant, older adult, or someone with a condition that increases the risk of dehydration or complications
  • Symptoms that improve and then become significantly worse

For symptoms that may be manageable through telehealth, see our guide on virtual urgent care: what it treats and what it doesn't.

For severe dehydration, persistent vomiting that prevents you from keeping down fluids, confusion, fainting, or signs of shock, seek emergency medical care. If you are unsure whether your symptoms need urgent care or an ER, see our guide on urgent care vs ER: how to decide in 60 seconds.

Do antibiotics help?

Usually, no.

Antibiotics do not treat viral stomach bugs such as norovirus. Most cases of food poisoning also improve without antibiotics, even when bacteria are involved.

Some bacterial infections can require antibiotics, particularly when illness is severe or occurs in someone at higher risk of complications. The decision depends on the suspected infection, symptoms, and sometimes stool testing.

Taking antibiotics when you do not need them will not make a viral illness resolve faster and can cause side effects and contribute to antibiotic resistance. For more information about when antibiotics may be appropriate, see our guide on can telehealth prescribe antibiotics.

Conclusion

Stomach bug or food poisoning? The two can look very similar, but timing and context can provide useful clues. A stomach bug often follows exposure to someone who is sick, while some types of food poisoning can begin within hours of eating contaminated food.

There is no reliable way to identify the cause from symptoms alone in every case. For most mild illnesses, the initial approach is similar: replace lost fluids, rest, and gradually return to your normal diet as tolerated.

Most viral stomach bugs improve within a few days, while some foodborne infections can last longer. If you are not improving after about three days, or your symptoms are getting worse, it is worth checking in with a clinician.

Seek medical care sooner for blood in vomit or stool, high fever, severe abdominal pain, or significant dehydration. If you cannot keep fluids down, become confused or faint, stop urinating, or develop signs of shock, seek emergency medical care rather than waiting for the illness to pass.

Frequently Asked Questions

Norovirus and other viral stomach bugs are especially contagious while symptoms are present and can continue spreading after you feel better. For norovirus, the CDC recommends taking precautions for at least 48 hours after symptoms stop, particularly when preparing food or caring for others.

Norovirus can continue to be present in stool for longer after recovery, so careful handwashing and cleaning remain important even after you feel better.

Follow any return-to-work or school policies that apply to your setting, particularly if you work in food service, healthcare, or childcare.

Yes.

Many cases of food poisoning improve within a few days, but the duration depends on the organism or toxin involved. Certain bacterial and parasitic infections can cause symptoms that last a week or longer.

Symptoms that last more than three to four days, become worse after initially improving, or occur with high fever, severe abdominal pain, or bloody stools should be evaluated by a clinician.

It depends on the situation.

Over-the-counter medicines such as loperamide can reduce diarrhea for some adults, but they are not appropriate in every situation. They should generally be avoided when you have bloody diarrhea or a high fever unless a clinician specifically recommends them.

They are also not generally recommended for young children without medical guidance.

Hydration is the priority. If diarrhea is severe, persistent, or accompanied by other concerning symptoms, talk with a clinician about whether medication is appropriate.

For many viral stomach illnesses, waiting until you have been symptom-free for at least 48 hours is a practical way to reduce the risk of spreading the infection.

Some workplaces, schools, and daycare centers have their own policies, particularly for food service workers, healthcare workers, and childcare providers. Follow the requirements that apply to your setting.

Continue careful handwashing and avoid preparing food for other people while you are still potentially contagious.

Both.

Food poisoning can come from restaurants, cafeterias, catered events, deli counters, home-cooked meals, and packaged foods. Contamination can occur at different points during food production, preparation, storage, or handling.

Higher-risk foods can include undercooked meat, poultry, or eggs; unpasteurized dairy products; raw or undercooked seafood; contaminated produce; and foods that have been stored at unsafe temperatures.

If you suspect a restaurant or other food establishment caused your illness, you can report the suspected foodborne illness to your local health department.