What Is the Best Antibiotic for Diarrhea?

There is no single best antibiotic for diarrhea because the right choice depends entirely on what’s causing it. For most bacterial diarrhea, azithromycin is the preferred first-line option due to its broad effectiveness and low resistance rates. But many cases of diarrhea don’t need antibiotics at all, and using the wrong one can actually make things worse.

Most Diarrhea Doesn’t Need Antibiotics

The majority of acute diarrhea episodes are caused by viruses, resolve on their own within a few days, and won’t respond to antibiotics. Even mild bacterial diarrhea, the kind that’s annoying but doesn’t stop you from going about your day, doesn’t warrant antibiotic treatment. Fluid replacement and rest are the mainstay for these cases.

Antibiotics become appropriate when diarrhea is moderate to severe: when it’s distressing enough to interfere with your normal activities, when you have a fever, or when there’s blood in your stool (dysentery). Incapacitating diarrhea, where you essentially can’t function, is the clearest signal that antibiotics are needed.

Azithromycin: The Top All-Around Choice

Azithromycin is the preferred antibiotic for severe bacterial diarrhea, including cases with fever or bloody stools. It works against a wide range of gut pathogens, including Campylobacter, Salmonella, and Shigella. A single 1,000 mg dose is considered equivalent to a three-day course (500 mg per day), making it convenient when you need fast relief.

One major advantage of azithromycin is that it still works in regions where other antibiotics have lost ground. Fluoroquinolone resistance is now common in the United States for Campylobacter infections and is widespread across Southeast Asia for multiple bacterial species. Azithromycin sidesteps this problem, which is why the CDC recommends it as first-line treatment in areas where resistant bacteria are suspected.

Fluoroquinolones: Effective but Limited

Ciprofloxacin and levofloxacin remain options for bacterial diarrhea, particularly for severe watery diarrhea without blood or fever. Ciprofloxacin can be given as a single 750 mg dose or 500 mg twice daily for three days. These drugs work quickly and are well-tolerated by most adults.

The catch is resistance. Fluoroquinolone-resistant bacteria have become increasingly common, especially among Campylobacter strains. If you’ve been traveling in Southeast Asia or other high-resistance areas, fluoroquinolones are less likely to work. They’re also not the first choice when dysentery or fever is present, where azithromycin is preferred.

Rifaximin: For Mild, Non-Invasive Cases

Rifaximin works differently from most antibiotics. It stays almost entirely in the gut rather than being absorbed into the bloodstream, which means fewer side effects throughout the body. It kills bacteria by blocking their ability to produce essential proteins, and it also reduces inflammation in the intestinal lining.

This gut-only action makes rifaximin a good fit for moderate, non-invasive diarrhea, typically caused by toxin-producing E. coli strains that are the most common culprit behind traveler’s diarrhea. The standard dose is 200 mg three times daily for three days. However, rifaximin should not be used if there’s any suspicion of invasive bacteria like Campylobacter, Salmonella, or Shigella. If you have bloody stool or a fever, this is not the right antibiotic.

C. Difficile Infections Need Different Antibiotics

Clostridioides difficile (C. diff) is a special case because it often causes diarrhea as a result of previous antibiotic use. The antibiotics that treat most bacterial diarrhea won’t help here and can make C. diff worse.

For a first episode of C. diff, current guidelines from the Infectious Diseases Society of America favor fidaxomicin over vancomycin. Both are taken orally for 10 days, and both are effective, but fidaxomicin leads to fewer recurrences. This matters because C. diff is notorious for coming back. For people who’ve already had a recurrence, fidaxomicin remains the preferred option, sometimes given in an extended pulsed regimen over 25 days to reduce the chance of yet another relapse.

Parasitic Diarrhea Requires Antiparasitics

If your diarrhea is caused by parasites like Giardia or amoebas, standard antibiotics won’t clear it. These infections require antiparasitic medications. Tinidazole is a common first-line choice: a single 2 g dose taken with food treats Giardia, while intestinal amebiasis typically needs 2 g daily for three days. Metronidazole is an older alternative that works similarly but usually requires a longer course.

Parasitic diarrhea tends to last longer than bacterial episodes, often persisting for weeks with symptoms like bloating, gas, and greasy stools. If diarrhea drags on beyond a week or two, especially after travel to areas with questionable water quality, a parasitic cause is worth investigating through stool testing.

When Antibiotics Can Be Harmful

One important situation where antibiotics may cause real harm is infection with Shiga toxin-producing E. coli (STEC), the strain behind many foodborne outbreaks. Treating STEC with certain antibiotics, particularly older classes like beta-lactams and trimethoprim-sulfamethoxazole, has been linked to hemolytic uremic syndrome (HUS), a serious condition that damages the kidneys and blood cells. The concern is that killing the bacteria rapidly causes a surge of toxin release.

This is why bloody diarrhea in the context of a suspected foodborne outbreak is not something to self-treat with leftover antibiotics. The type of bacteria, the specific antibiotic, and the timing all influence whether treatment helps or hurts. Current IDSA guidelines recommend avoiding antibiotics entirely for confirmed or suspected STEC O157 infections.

Preventing Antibiotic-Related Diarrhea

Ironically, antibiotics themselves are one of the most common causes of diarrhea. If you’re taking antibiotics for any reason and want to reduce the risk of gut disruption, specific probiotic strains have solid evidence behind them. Lactobacillus rhamnosus GG and Saccharomyces boulardii are the two best-studied options for preventing antibiotic-associated diarrhea. Doses of 5 to 40 billion colony-forming units (CFU) per day show the best results, with higher doses generally outperforming lower ones.

For children, the evidence is particularly strong. Giving probiotics alongside antibiotics prevents diarrhea in roughly 1 out of every 6 children treated. Lactobacillus casei may be especially useful for preventing the more severe C. diff-related diarrhea that can follow antibiotic courses. Starting probiotics at the same time as the antibiotic, rather than waiting for symptoms, gives the best protection.

Matching the Antibiotic to Your Situation

Choosing the right antibiotic for diarrhea comes down to a few key questions: How severe are your symptoms? Is there blood or fever? Where did you likely pick up the infection? And is there any chance it could be parasitic or viral rather than bacterial?

  • Severe diarrhea with fever or blood: Azithromycin is the top choice.
  • Moderate watery diarrhea while traveling: Azithromycin, a fluoroquinolone, or rifaximin (if no signs of invasive infection) are all reasonable.
  • C. diff after antibiotic use: Fidaxomicin is preferred, with oral vancomycin as an alternative.
  • Parasitic infection (Giardia, amoeba): Tinidazole or metronidazole.
  • Mild diarrhea: No antibiotic needed. Stay hydrated and let it pass.

If symptoms don’t improve within 24 hours of starting an antibiotic, the CDC recommends continuing the medication at the multi-day dosing schedule for up to three days before reassessing. Persistent diarrhea beyond that point suggests either a resistant organism, a non-bacterial cause, or a different diagnosis altogether.