Most viral stomach bugs clear up on their own within one to three days, though some people feel off for up to a week or longer. The worst of the vomiting and diarrhea usually passes within 24 to 48 hours. Full recovery — getting your appetite and energy back — often takes a few days more than the symptoms themselves.
Gastroenteritis, which most people just call “gastro” or “a stomach bug,” is an infection of the stomach and intestines. It is usually caused by a virus. It is not the same as food poisoning, though the symptoms can look identical. Knowing what to expect and when to worry helps you ride it out safely.
How Long Does Gastro Last Symptoms And Recovery?
The typical timeline runs from one to three days for the acute phase, with the bulk of recovery happening in the first 48 hours. Symptoms come on fast — often within 12 to 48 hours of exposure to the virus.
Here is how the illness usually unfolds:
- Hours 0–12: Nausea, stomach cramps, and the first bout of vomiting or diarrhea. Some people run a mild fever.
- Days 1–2: The most intense period. Vomiting tends to settle before diarrhea does.
- Days 3–7: Symptoms fade but loose stools and tiredness can linger. The gut lining takes time to recover.
Children and older adults often take longer to bounce back. So do people who are run down or managing another illness. The virus itself is short-lived. The recovery is what varies.
What Causes Gastroenteritis and How Do You Catch It?
Viruses cause most cases of gastroenteritis in adults and children. Norovirus is the most common cause worldwide, and rotavirus is a leading cause in young children, though vaccination has reduced rotavirus cases substantially in countries where the vaccine is routine.
These viruses spread easily through tiny particles of vomit or stool. You can pick them up from contaminated surfaces, food, or water, or from close contact with someone who is sick. Norovirus is famously contagious — it takes very few virus particles to make someone ill.
Bacteria and parasites cause a smaller share of cases. Bacterial causes are more likely when symptoms are severe, bloody, or last beyond a week. That is one reason a doctor may ask about recent travel or unusual food.
What Are the Main Symptoms to Expect?
The core symptoms are diarrhea, vomiting, nausea, and stomach cramps. Not everyone gets all of them. Some people mostly vomit, others mostly have diarrhea, and some have both.
Other common symptoms include:
- Low-grade fever
- Headache and muscle aches
- Feeling tired or washed out
- Loss of appetite
Vomiting usually stops within a day or two. Diarrhea often lasts a little longer — typically one to three days for most viral cases, sometimes up to a week. If diarrhea stretches past a week, it is worth checking in with a doctor.
When Should You See a Doctor?
Most people recover without medical care. The main danger is dehydration, and that is what to watch for. Seek medical help if you or someone in your care shows signs of serious fluid loss.
Warning signs in adults and children include:
- Very little or no urine, or dark yellow urine
- Dry mouth, sunken eyes, or no tears when crying (in children)
- Dizziness or lightheadedness when standing
- Confusion or unusual sleepiness
- Blood in the stool or vomit
- A high fever, or a fever that returns after improving
- Severe belly pain that does not ease
- Vomiting that stops you keeping any fluids down for more than a day
Young children, older adults, and people with weakened immune systems are at higher risk of dehydration and should be watched more closely. In these groups, it is better to call a doctor earlier rather than wait.
How Do You Treat Gastroenteritis at Home?
There is no specific medicine that shortens a viral stomach bug. Treatment is about staying hydrated and letting your body clear the infection. Antibiotics do not work on viruses and are not used for typical viral gastroenteritis.
Fluid replacement is the priority. Small, frequent sips work better than large gulps, especially if you are vomiting. Oral rehydration solutions — the kind sold in pharmacies for diarrhea — are designed to replace water and salts in the right balance. They are more effective than water alone or sports drinks for this purpose.
Some practical points:
- Take small sips every few minutes rather than a full glass at once.
- Eat when you feel able. Bland foods like crackers, rice, and toast are easy on the stomach, but there is no strict rule — eat what you can tolerate.
- Avoid alcohol and very fatty or spicy food until you feel better.
- Rest. Fatigue is a real part of this illness.
Over-the-counter anti-diarrhea medicines are not recommended for everyone. They can be risky if you have a fever or bloody diarrhea, so check with a pharmacist or doctor first. Some clinicians suggest avoiding them in children altogether.
How Can You Prevent Spreading or Catching It?
Handwashing is the single most effective way to reduce spread. Wash with soap and water for at least 20 seconds, especially after using the toilet and before preparing food. Alcohol-based hand sanitizers help, but they are less reliable against norovirus than soap and water.
If you are sick, stay home until symptoms have settled — usually at least 48 hours after the last episode of vomiting or diarrhea. Clean and disinfect surfaces, especially in the bathroom and kitchen. Do not prepare food for others while you are unwell.
There is a rotavirus vaccine for infants that is part of routine childhood schedules in many countries. There is no widely available vaccine for norovirus, though research into one is ongoing.
How Long Are You Contagious?
You can spread the virus before symptoms start and for a few days after you feel better. For norovirus, people can remain contagious for up to two days after recovery, and sometimes longer. That is longer than most people expect.
The practical takeaway: keep up the handwashing and avoid close contact with vulnerable people for a couple of days after your symptoms clear. The virus does not always leave when the symptoms do.
Frequently Asked Questions
How long does gastro usually last?
Most viral gastroenteritis clears within one to three days, with the worst symptoms in the first 48 hours. Tiredness and loose stools can linger for up to a week.
When can I go back to work or school after gastro?
Wait until at least 48 hours after your last vomiting or diarrhea episode. This reduces the chance of passing the infection to others.
Should I eat or fast when I have gastro?
Eat small amounts when you feel able — there is no need to fast. Bland foods are easier to tolerate, but the most important thing is keeping fluids down.
Is gastro the same as food poisoning?
No, though the symptoms can look the same. Gastroenteritis is usually a viral infection spread person to person, while food poisoning comes from contaminated food or water.

