Most upset stomachs settle within 24 to 48 hours. A mild case caused by something you ate or a short-lived virus often improves in a day or two. Symptoms that stretch past a week, or that come with blood, fever, or severe pain, need medical attention rather than patience.
That is the short answer. The longer answer depends on what is actually causing the problem. “Upset stomach” is not one condition. It is a set of symptoms — nausea, cramping, bloating, loose stools, a heavy or queasy feeling — that can come from a stomach bug, food that did not agree with you, acid reflux, a medication, or a longer-term gut issue. The timeline changes with the cause.
How Long Can An Upset Stomach Last A Timeline?
A timeline is the most useful way to think about it, because the pattern over time often points to the cause.
For a common viral stomach infection, symptoms usually appear within 12 to 48 hours of exposure and last about one to three days. Vomiting tends to come first and stop sooner than diarrhea. Diarrhea can linger a day or two after vomiting ends.
Food-related upset — sometimes called food poisoning — often starts within hours of eating and resolves within 24 to 48 hours. Some bacterial causes take longer to clear and can last several days to a week or more.
An upset stomach tied to reflux, stress, or a reaction to a specific food can come and go for weeks if the trigger is not removed. That is not a single episode. It is a recurring pattern, and it points to a different set of questions.
Here is a general timeline to keep in mind:
- Under 24 hours: often a mild food reaction or a short-lived bug
- 1 to 3 days: typical for many viral stomach infections
- Up to a week: possible with some bacterial infections, but worth watching closely
- More than a week: not typical for a simple bug — get it checked
- Weeks to months, on and off: suggests a chronic trigger or condition, not an infection
One clarification that matters: the length of symptoms is not the same as how sick you are. A short, intense illness can be serious, and a long, mild one can be harmless. Duration is one signal among several.
What Causes An Upset Stomach And How Does Each One Differ?
Different causes produce different timelines because they affect the gut in different ways.
Viral infections — often called the stomach flu, though it is not influenza — inflame the lining of the stomach and intestines. The body clears the virus over a few days. This is the classic 24-to-72-hour upset stomach.
Foodborne illness comes from bacteria, their toxins, or contaminated food. Some toxins cause fast vomiting within hours. Bacterial infections can take longer and sometimes need treatment.
Acid reflux happens when stomach acid moves up into the esophagus. It causes burning and queasiness that can last minutes to hours after eating and recur for weeks if the underlying issue is not addressed.
Medications are an underrecognized cause. Many common drugs — including some pain relievers, antibiotics, and others — irritate the stomach or change gut function. Symptoms often track with when the drug is taken.
Longer-term conditions such as irritable bowel syndrome or food intolerances produce recurring symptoms over months. These are not infections and do not follow a short timeline.
When Is An Upset Stomach A Sign Of Something More Serious?
Most cases are not serious. A few signs mean you should not wait it out.
Seek medical care if you see blood in vomit or stool, have a high fever, feel severe or worsening abdominal pain, cannot keep fluids down for more than a day, or show signs of dehydration such as dizziness, a dry mouth, or very dark urine. In older adults, young children, and people who are pregnant, dehydration can develop faster and is a bigger concern.
Pain that is severe, localized to one spot, or that makes you not want to move is different from ordinary cramping. That pattern warrants prompt evaluation rather than home care.
Persistent symptoms lasting more than a week, unexplained weight loss, or symptoms that wake you at night also deserve a medical visit. These are not typical of a simple bug.
What Helps An Upset Stomach Settle And What Does Not?
For a short-lived upset stomach, the main goal is to stay hydrated and let the gut rest. That is what most clinical guidance focuses on.
Fluids matter most. Small sips of water, clear broth, or an oral rehydration solution help replace what is lost through vomiting and diarrhea. Oral rehydration solutions are designed to replace both water and electrolytes, and they are the standard approach when dehydration is a concern. Plain water alone does not replace lost salts.
Eating is optional for a few hours if you feel sick, but you do not need to starve yourself. When you feel able, bland foods are easier on the stomach. There is no strong evidence that any specific food speeds recovery.
What does not help: there is no diet, supplement, or home remedy proven to shorten a viral stomach infection. The illness runs its course. Some over-the-counter medications can ease symptoms, but they do not treat the cause, and some can make certain infections worse, so it is worth asking a pharmacist or clinician before using them.
Antibiotics do not help viral infections. Using them when they are not needed does not speed recovery and can cause harm.
How Can You Tell If It Is A Bug, Food, Or Something Chronic?
The pattern is often the clue.
A bug usually comes on fairly suddenly, often with vomiting first, and spreads to people around you. Food-related illness tends to hit within hours of a specific meal and may affect others who ate the same thing. A chronic issue builds gradually, recurs over weeks or months, and often links to specific foods, stress, or timing.
| Pattern | Likely Cause | Typical Duration |
|---|---|---|
| Sudden vomiting, then diarrhea, others sick too | Viral infection | 1 to 3 days |
| Starts hours after a meal, others who ate it sick | Foodborne illness | 24 to 48 hours |
| Burning after eating, worse lying down | Acid reflux | Minutes to hours, recurring |
| Recurring bloating, cramps, changes in bowel habits | Chronic condition or intolerance | Weeks to months |
This table is a guide, not a diagnosis. Overlap is common, and only a clinician can sort out what is actually going on.
Does An Upset Stomach Last Longer As You Get Older?
Recovery time does not necessarily get longer with age, but the risks around an upset stomach do change.
Older adults can dehydrate faster and may be more affected by fluid loss. They are also more likely to take medications that irritate the stomach or interact with treatments. For these reasons, the same illness that is minor in a healthy young adult can be more serious in an older adult.
In young children and infants, the concern is also dehydration, and it can develop quickly. This is a group where the threshold for seeking care is lower. No clinical guidelines set a specific “safe” number of hours to wait for infants with vomiting and diarrhea — if you are unsure, contact a clinician.
Pregnancy is another situation where the usual rules change. Persistent vomiting, called hyperemesis gravidarum when severe, is a distinct condition and needs medical care rather than home management.
Frequently Asked Questions
How long does a stomach bug usually last?
Most viral stomach infections last about one to three days. Vomiting often stops before diarrhea does, and diarrhea can linger a day or two longer.
When should I see a doctor for an upset stomach?
See a doctor if symptoms last more than a week, or sooner if you have blood in vomit or stool, a high fever, severe pain, or signs of dehydration. Infants, older adults, and pregnant people should seek care sooner.
Can an upset stomach last for weeks?
An upset stomach lasting weeks is not typical of a simple infection and usually points to a chronic cause such as reflux, a food intolerance, or another gut condition. It should be evaluated by a clinician.
What is the fastest way to settle an upset stomach?
There is no proven way to shorten a viral upset stomach — it runs its course. Staying hydrated with small sips of water or an oral rehydration solution is the main priority while symptoms pass.

