How Long Does a Stomach Bug Take to Go Away?

Most stomach bugs clear up within one to three days, though some cases can stretch to a full week. The timeline depends on what’s causing it, your overall health, and how well you stay hydrated during recovery. Here’s what to expect from start to finish.

The Typical Timeline

Norovirus, the most common cause of stomach bugs in adults, follows a fairly predictable pattern. Symptoms appear 12 to 48 hours after exposure and usually resolve within one to three days. During that window, you can expect waves of nausea, vomiting, diarrhea, and stomach cramps, often peaking in the first 12 to 24 hours before gradually easing off.

Rotavirus, which hits young children hardest, tends to last a bit longer, sometimes five to seven days of diarrhea after the initial vomiting subsides. Other common culprits like astrovirus and sapovirus follow a similar course to norovirus, generally wrapping up within a few days.

Mild, uncomplicated gastroenteritis of any kind, whether viral or bacterial, typically lasts one to seven days. Most episodes fall on the shorter end of that range. If you’re past the one-week mark with no improvement, something else may be going on.

Bacterial vs. Viral: How Timing Differs

Viral stomach bugs and bacterial food poisoning can feel almost identical, but their timelines have a few differences worth knowing. Toxin-based food poisoning (from bacteria like staph) hits fast, sometimes within hours of eating contaminated food, and often burns through your system in a day or less. Bacterial infections caused by the organisms themselves, like Salmonella or Campylobacter, take longer to develop and can linger for several days longer than a typical virus.

A helpful rule of thumb: if symptoms started within a few hours of a specific meal and hit hard and fast, you’re likely dealing with a toxin. If they crept in over a day or two, a virus or bacterial infection is more probable. Both types resolve on their own in most healthy adults without antibiotics or medical treatment.

Why You Still Feel Off After Symptoms Stop

Even after the vomiting and diarrhea end, your digestive system needs time to recover. It’s common to feel tired, have a reduced appetite, or experience loose stools for several days after the worst has passed. Your gut lining took a beating, and the cells that absorb nutrients need time to regenerate.

One specific issue: some people temporarily lose the ability to digest lactose well. Milk, cheese, ice cream, and other dairy products can trigger bloating and diarrhea for up to a month or more after a stomach bug. This is because the virus damages the cells in your small intestine that produce the enzyme needed to break down milk sugar. If dairy seems to bother you during recovery, it’s worth avoiding it for a few weeks and then gradually reintroducing it.

You’re Contagious Longer Than You Think

This is the detail most people miss. You can still spread norovirus for two weeks or more after you feel completely better. The virus continues shedding in your stool long after symptoms resolve. The most contagious period is during illness and for two to three days afterward, which is the window when you should avoid close contact with others, skip travel, and stay home from work or school. But careful hand hygiene matters well beyond that initial recovery period.

Staying Hydrated Is the Main Treatment

There’s no medication that kills a stomach virus. Your immune system handles that on its own. The real danger with a stomach bug isn’t the virus itself but the fluid loss from vomiting and diarrhea. Dehydration is the thing that sends people to the emergency room.

Small, frequent sips work better than gulping large amounts at once, which can trigger more vomiting. Water is fine for mild cases, but if you’ve been sick for more than a day or your diarrhea is heavy, you need to replace electrolytes too. Oral rehydration solutions (available at any pharmacy) are specifically designed for this. They contain the right balance of salt, sugar, and water to help your intestines absorb fluid efficiently. Sports drinks have too much sugar and not enough sodium, making them a less effective substitute.

Signs that dehydration is becoming serious include dark-colored urine, urinating much less than usual, dizziness, confusion, extreme thirst, and skin that doesn’t flatten back quickly after being pinched. In children, watch for no wet diapers for three hours or longer, sunken eyes, and unusual fussiness. A fever above 102°F, bloody or black stool, inability to keep any fluids down, or diarrhea lasting more than 24 hours in a child all warrant medical attention.

What to Eat During Recovery

You’ve probably heard of the BRAT diet (bananas, rice, applesauce, toast), but research doesn’t support restricting your diet during a stomach bug. Most experts now recommend returning to your normal diet as soon as your appetite comes back, even if you still have some diarrhea. Eating helps your intestinal lining heal faster than fasting does.

That said, a few things are worth avoiding while your gut is still sensitive. Caffeine, high-fat foods like fried items and pizza, and drinks with a lot of sugar can all make diarrhea worse. Stick with whatever sounds appealing and sits well. For infants, continue breast milk or formula as usual. There’s no need to switch to a special formula unless your pediatrician recommends it.

When Recovery Takes Longer Than Expected

Most people bounce back quickly, but certain groups tend to have a harder time. Young children, older adults, pregnant people, and anyone with a weakened immune system may experience symptoms that are more severe and last longer. In these groups, dehydration can develop faster and become dangerous more quickly.

If your symptoms are steadily improving, even slowly, that’s a good sign. The pattern to watch for is the opposite: symptoms that plateau or worsen after the first couple of days, a new fever appearing after the initial illness seemed to be resolving, or an inability to keep even small sips of fluid down for more than several hours. These patterns suggest either a complication like severe dehydration or a cause that may need specific treatment, such as a bacterial infection requiring antibiotics.