How Do You Get Gastroenteritis: Causes and Spread

Gastroenteritis spreads primarily through the fecal-oral route, meaning you swallow tiny amounts of infected stool or vomit from another person, usually without realizing it. This happens by touching contaminated surfaces, eating contaminated food, drinking unsafe water, or having close contact with someone who is sick. Viruses cause the majority of cases, but bacteria, parasites, certain chemicals, and even medication reactions can trigger the same stomach and intestinal inflammation.

The Fecal-Oral Route

Nearly every infectious case of gastroenteritis follows the same basic path: a pathogen leaves one person’s gut, survives in the environment long enough to reach your mouth, then travels through your digestive tract to infect the lining of your intestines. Once there, it disrupts your intestines’ ability to absorb fluid normally, which is what produces the watery diarrhea, nausea, and vomiting that define the illness.

The practical ways this happens are more varied than most people expect. You might pick up the virus from a doorknob, a shared phone, or a bathroom faucet handle, then touch your mouth or prepare food. You might eat a salad assembled by a restaurant worker who was shedding the virus. You might swallow a few drops of lake or stream water. Norovirus, the single most common cause, can even spread through the air when someone nearby vomits, because tiny virus-laden droplets become airborne and settle on surfaces or are inhaled and swallowed.

Viral Causes

Norovirus is the leading cause of vomiting and diarrhea from acute gastroenteritis across all age groups in the United States. Globally, it accounts for roughly 1 in 5 cases of acute gastroenteritis that involve diarrhea and vomiting. It hits fast, with symptoms typically appearing 24 to 48 hours after exposure, and most people recover within one to three days.

What makes norovirus so effective at spreading is its resilience. The virus can survive on countertops, serving utensils, and food for up to two weeks, even at freezing temperatures. It isn’t destroyed until heated above 140°F. It takes an incredibly small number of viral particles to make someone sick, which is why outbreaks tear through enclosed environments so efficiently. Rotavirus is the other major viral culprit, particularly in young children, though widespread childhood vaccination has dramatically reduced its impact in countries with routine immunization programs.

Where Outbreaks Happen Most

Certain environments create perfect conditions for gastroenteritis to jump from person to person. Healthcare facilities, especially long-term care homes, are the most commonly reported setting for norovirus outbreaks in the U.S. Over half of all reported norovirus outbreaks occur in long-term care facilities, where close quarters, shared dining, and vulnerable immune systems combine.

Restaurants and catered events rank next. Infected food workers are frequently the source, often by touching ready-to-eat foods like raw fruits and vegetables with bare hands. Schools, childcare centers, and college campuses are also frequent outbreak sites, driven by the sheer number of shared surfaces and close contact among children and young adults. Cruise ships get outsized attention in the news, and norovirus does cause over 90% of diarrheal outbreaks on ships, but those outbreaks actually represent only about 1% of all reported norovirus cases.

Bacterial and Parasitic Causes

Not all gastroenteritis is viral. Bacteria cause a significant share of cases, and they typically arrive through contaminated food or water rather than person-to-person contact. Campylobacter, one of the most common bacterial causes, is closely linked to raw or undercooked poultry. You can also pick it up from cross-contamination, such as using a cutting board or knife for raw chicken and then preparing a salad on the same surface without washing it first. Other sources include unpasteurized milk, raw seafood, untreated water, and contact with animals or their waste.

Salmonella follows a similar pattern, entering the body through undercooked eggs, poultry, and meat, or through contact with reptiles and other animals. Certain strains of E. coli, particularly the O157:H7 strain, come from undercooked ground beef or contaminated produce and can progress from watery diarrhea to bloody diarrhea over a day or two. Parasites like Giardia and Cryptosporidium tend to spread through contaminated water, including recreational water in pools and lakes, and cause symptoms that can drag on for weeks rather than days.

Non-Infectious Triggers

Some cases of gastroenteritis have nothing to do with germs. Certain medications, particularly antibiotics and nonsteroidal anti-inflammatory drugs, can irritate the stomach and intestinal lining enough to produce the same nausea, cramping, and diarrhea. Chemical contaminants in food or water, heavy metals, and food intolerances (like lactose intolerance) can also trigger episodes that look and feel identical to an infection. The key difference is that these causes aren’t contagious.

How Long You Stay Contagious

This is where many people unknowingly spread the illness. With norovirus, you can still shed the virus for two weeks or more after you feel completely better. The CDC recommends staying home for at least 48 hours after your last symptoms resolve, but even after returning to normal activities, careful hand hygiene matters because you may still be shedding virus in your stool.

Bacterial infections follow a similar pattern. People recovering from Salmonella or Campylobacter can continue to pass bacteria in their stool for days to weeks after feeling well. This is why handwashing after using the bathroom is the single most important step in breaking the chain of transmission, not just while you’re sick but during the entire recovery window.

Why Soap and Water Beats Hand Sanitizer

Alcohol-based hand sanitizers do not work well against norovirus. The virus lacks the outer fatty envelope that alcohol is designed to dissolve, so sanitizer can reduce but not reliably eliminate it from your hands. The CDC is clear on this point: soap and water is the standard. You can use hand sanitizer as an extra step, but it is not a substitute for washing with soap. Scrub for at least 20 seconds, paying attention to fingertips and under nails, where viral particles tend to linger.

Beyond handwashing, prevention comes down to food safety and surface cleaning. Cook poultry, eggs, and ground meat to their recommended internal temperatures. Wash fruits and vegetables before eating. Clean and disinfect surfaces that may have been contaminated, keeping in mind that norovirus can survive on hard surfaces for days to weeks. If someone in your household is sick, use a bleach-based cleaner rather than standard household sprays, and wash any contaminated clothing or linens on the hottest appropriate cycle.

How It’s Diagnosed

Most cases of gastroenteritis are diagnosed based on symptoms alone: three or more loose stools in a 24-hour period, often accompanied by vomiting, cramping, or both, lasting less than 14 days. Doctors typically don’t order lab tests for mild, short-lived cases because the treatment (fluid replacement and rest) is the same regardless of the specific pathogen. Stool testing becomes more useful when symptoms are severe, involve bloody diarrhea, or persist beyond a week, at which point identifying the exact cause can guide more targeted treatment. Newer lab methods that detect pathogen DNA have improved accuracy compared to older techniques like stool cultures, which historically failed to identify the cause in most cases.