Most people who catch a stomach bug stop throwing up within one to three days. The worst of it usually hits in the first 24 hours, and vomiting tends to ease before diarrhea does. In many cases, diarrhea lingers a day or two longer than the nausea and vomiting that came first.
That timeline is a general pattern, not a promise. The exact course depends on which virus you picked up, your age, and your overall health. Some people vomit once or twice and feel better by morning. Others are sick for closer to three days. If vomiting is still going strong after 48 hours, or if you cannot keep any fluids down, that is a sign to check in with a doctor.
What Counts as Stomach Flu?
“Stomach flu” is a nickname, and a misleading one. The illness has nothing to do with influenza, the respiratory virus that causes the flu. It is more accurately called viral gastroenteritis — inflammation of the stomach and intestines caused by a virus.
Several different viruses cause it, and they do not all behave the same way. Norovirus is the most common cause in adults and spreads easily in schools, nursing homes, and restaurants. Rotavirus is a major cause in young children, though vaccination has made it far less common in the United States than it once was. Adenovirus and astrovirus cause similar illness but tend to be milder.
The virus itself does not damage your stomach directly. It infects the lining of your small intestine, and your body responds by pushing everything out — through vomiting and diarrhea — to try to clear it. That response is why the symptoms are so forceful. Your body is not attacking your stomach. It is reacting to an infection in your gut.
How Long Does Vomiting Last With Stomach Flu?
Vomiting from viral gastroenteritis typically lasts 24 to 48 hours. For most people, the worst vomiting happens in the first day and then fades. Some people stop within 12 hours. A smaller group keeps vomiting for up to three days.
The full illness — including diarrhea, stomach cramps, and fatigue — usually runs its course in one to three days, and almost always within a week. Vomiting is generally the first symptom to appear and the first to go away. Diarrhea often starts a little later and hangs on longer.
A few factors can stretch the timeline:
- Age. Young children and older adults often vomit longer and recover more slowly.
- The virus. Norovirus tends to cause sudden, forceful vomiting. Rotavirus in unvaccinated children can last several days.
- Overall health. People with weakened immune systems may take longer to clear the infection.
If vomiting continues past 48 hours in an adult, or past 24 hours in a young child, it is worth contacting a doctor. That does not automatically mean something serious, but it moves beyond the typical pattern and deserves a look.
Why Does the Body Vomit in the First Place?
Vomiting is a reflex controlled by a trigger zone in the brainstem. When your gut lining detects an infection, it sends signals that activate this zone. The result is a coordinated squeeze: your stomach and diaphragm contract, and food and fluid are pushed up and out.
This is a defense mechanism, not a malfunction. In evolutionary terms, expelling a potential toxin or pathogen quickly may have helped. In practice, though, it does not clear the virus — the infection is already in your intestinal cells. So vomiting does not shorten the illness. It just makes you feel miserable while your immune system does the real work.
That is why anti-nausea medication can ease the symptom without slowing recovery. It is treating the discomfort, not the infection.
What Actually Helps While You Are Vomiting?
The single most important thing is replacing lost fluids. Vomiting drains water and electrolytes, and dehydration is the real danger — not the vomiting itself.
Small sips are better than large gulps. A few teaspoons every few minutes are easier on a sensitive stomach than a full glass. If plain water comes right back up, an oral rehydration solution can help. These drinks contain a specific balance of salt and sugar that helps your body absorb water. Sports drinks are not a perfect substitute because they have more sugar and less sodium than a proper rehydration formula, but they are better than nothing.
Some clinicians suggest avoiding dairy, caffeine, alcohol, and greasy or very sweet foods until you feel better. There is not strong trial evidence that any specific food speeds recovery, but these are common-sense choices when your stomach is unsettled. When you feel ready, bland foods like crackers, rice, or toast are often easier to tolerate.
Anti-nausea medications are available over the counter and by prescription. They can reduce vomiting, but they do not treat the underlying infection. If you are considering one — especially for a child, or if you are pregnant — talk to a doctor or pharmacist first. Dosing for children depends on weight and age, and no single recommendation fits everyone.
When Should You Worry About Vomiting?
Most cases of stomach flu resolve on their own. The concern is dehydration, and it can develop faster than people expect, especially in babies and older adults.
Seek medical care if you notice:
- No urine for eight hours or more, or very dark urine
- Dry mouth, sunken eyes, or skin that stays pinched when gently released
- Confusion, weakness, or fainting
- Blood in vomit or stool
- Vomiting that lasts more than two days in an adult
- A high fever alongside the vomiting
- Severe belly pain that is not relieved by vomiting
In infants, watch for a sunken soft spot on the head, fewer wet diapers, and unusual sleepiness. These are signs to call a doctor right away.
One thing worth knowing: vomiting alone, without diarrhea, can point to something other than a stomach virus. Food poisoning, appendicitis, and other conditions can cause it. If vomiting is the only symptom and it is severe, that changes the picture and is worth mentioning to a clinician.
How Long Are You Contagious?
You can spread the virus before you feel sick and for several days after you recover. Norovirus, for example, can be shed in stool for two weeks or more after symptoms stop, though you are most contagious while actively sick and in the first few days of recovery.
Handwashing with soap and water matters more than hand sanitizer here. Alcohol-based sanitizers do not reliably kill norovirus. Wash your hands after using the bathroom and before preparing food. Clean surfaces with a bleach-based cleaner, and do not share towels, utensils, or cups while you are sick.
You can catch stomach flu more than once. Different viruses cause it, and immunity to one does not protect you from the others. Norovirus in particular has many strains, so repeat infections are common.
How Stomach Flu Differs From Food Poisoning
These two look alike and are often confused. Both cause vomiting and diarrhea, and both usually pass within a few days. The main difference is timing and cause.
Food poisoning comes from contaminated food or water and often hits within hours of eating. Stomach flu comes from a virus and typically takes 12 to 48 hours to develop after exposure. Food poisoning tends to resolve faster, often within 24 hours, while viral gastroenteritis can stretch to three days.
In practice, you often cannot tell them apart without testing, and the treatment is the same: rest and fluids. The distinction matters most when symptoms are severe or last longer than expected.
Frequently Asked Questions
How long does vomiting usually last with stomach flu?
Vomiting typically lasts 24 to 48 hours, with the worst of it in the first day. Most people stop vomiting before their diarrhea ends.
Should I stop eating when I have stomach flu?
You do not need to stop eating, but small amounts of bland food are easier to keep down than a full meal. The priority is fluids, not food.
When should I see a doctor for vomiting?
See a doctor if vomiting lasts more than two days in an adult, or more than 24 hours in a young child. Signs of dehydration — no urine for eight hours, confusion, or fainting — need care right away.
Can stomach flu last a week?
The full illness can occasionally last up to a week, though most people recover in one to three days. Vomiting usually stops well before the other symptoms do.

