You get E. coli by swallowing even a tiny amount of the bacteria, almost always through contaminated food, water, or contact with infected animals or people. The dangerous strains need as few as 10 to 100 bacterial cells to make you sick, which is why infections spread so easily and why sources that seem barely contaminated can still cause outbreaks.
Contaminated Food Is the Most Common Source
E. coli lives in the intestines of cattle, sheep, goats, and other livestock. These animals show no symptoms, but they shed the bacteria in their feces. When that feces contacts meat during slaughter, irrigation water in crop fields, or dairy products before pasteurization, the bacteria end up in your food.
The highest-risk foods include undercooked ground beef, raw milk and raw-milk cheeses, leafy greens, and sprouts. Ground beef is especially problematic because the grinding process mixes any surface bacteria throughout the meat, so a burger that’s pink in the middle may still harbor live E. coli. A whole steak is less risky because the bacteria sit on the surface where heat reaches them first. The USDA recommends cooking ground beef to an internal temperature of 160°F, measured with a food thermometer, to kill the bacteria reliably.
Leafy greens and sprouts have caused repeated U.S. outbreaks because they’re often eaten raw. Contamination typically happens in the field, from irrigation water that has contacted animal waste or from runoff near livestock operations. Washing produce reduces risk but doesn’t eliminate it completely, since bacteria can cling tightly to leaf surfaces.
Cross-Contamination in the Kitchen
Even if you cook your meat thoroughly, you can still get infected through cross-contamination. The classic scenario: you cut raw chicken or beef on a cutting board, then use the same board to slice tomatoes for a salad. The bacteria transfer to the tomatoes, which you eat without cooking. The USDA recommends using separate cutting boards for raw meat and for foods that won’t be cooked, like bread, fruit, and vegetables. The same logic applies to knives, plates, and your hands.
Direct Contact With Animals
Petting zoos, farms, and county fairs are well-documented sources of E. coli outbreaks. Cattle, goats, and sheep are the primary carriers, and you don’t have to touch the animal directly. In one CDC-investigated outbreak, children got sick from touching sawdust or shavings on the ground, sitting or falling in areas where animals had been, and even from contaminated strollers and shoes carried outside the petting area. In another outbreak, kids who touched or stepped in manure were nearly seven times more likely to get sick. Children who used pacifiers or sippy cups while in the petting zoo area were eleven times more likely to become ill.
Young children face the highest risk because they touch everything, put their hands in their mouths, and can’t wash their own hands effectively. If you’re visiting a farm or petting zoo with kids under five, supervise their handwashing directly afterward.
Person-to-Person Spread
E. coli spreads from person to person through the fecal-oral route, meaning microscopic amounts of stool from an infected person reach someone else’s mouth. This sounds extreme, but it happens easily in settings with diaper changes, shared bathrooms, and young children who are still learning hygiene. Daycares and preschools are particularly common settings for secondary spread.
An infected person can shed the bacteria in their stool for one to four weeks, even after their symptoms have completely resolved. That means someone who feels fine can still pass the infection to others if handwashing isn’t thorough. Diaper-changing areas, bathroom surfaces, and shared toys all serve as transfer points.
Contaminated Water
Swallowing untreated water is another route. This includes lake or river water while swimming, well water that hasn’t been properly treated, and any water supply that’s been contaminated by animal or human waste runoff. Municipal tap water is treated to kill E. coli, but private wells don’t have that protection and should be tested regularly.
What Happens Inside Your Body
Once swallowed, the dangerous strains of E. coli attach directly to the lining of your intestines. The bacteria essentially destroy the tiny finger-like projections that line your gut wall, creating a firm foothold. From there, they produce a toxin that enters your intestinal cells and shuts down their ability to make proteins, which kills the cells. This same toxin also damages blood vessel walls in the intestines, which is what causes the bloody diarrhea that’s characteristic of severe E. coli infections. In serious cases, the toxin travels through the bloodstream and damages blood vessels in the kidneys, leading to a complication called hemolytic uremic syndrome.
Symptoms and Timeline
Symptoms typically begin three to four days after exposure, though they can appear as early as one day or as late as a week or more. The illness usually starts with watery diarrhea and stomach cramps, often progressing to bloody diarrhea within a day or two. Most healthy adults recover within about a week without specific treatment. Young children, older adults, and people with weakened immune systems face higher risk of severe complications.
Practical Ways to Reduce Your Risk
- Use a meat thermometer. Cook ground beef to 160°F. Color alone is not a reliable indicator, as meat can turn brown before reaching a safe temperature.
- Separate raw and ready-to-eat foods. Use different cutting boards, wash hands between handling raw meat and other ingredients, and never place cooked food on a plate that held raw meat.
- Skip unpasteurized dairy. Raw milk and raw-milk cheeses are recurring sources of outbreaks.
- Wash hands after animal contact. This includes after visiting farms, petting zoos, or touching pet reptiles and livestock. Use soap and water rather than hand sanitizer, which is less effective against E. coli.
- Be careful with young children in animal settings. Keep hands away from faces, leave bottles and pacifiers in the car, and wash children’s hands thoroughly before they eat or drink anything.
- Practice careful hygiene during illness. If someone in your household is infected, clean bathroom surfaces and diaper areas frequently, and remember that they can spread the bacteria for weeks after feeling better.

