What doctors prescribe for diarrhea depends entirely on the cause, how long it’s lasted, and how severe it is. Most acute diarrhea is viral, resolves on its own, and doesn’t need a prescription at all. But when diarrhea is caused by a bacterial infection, a chronic condition like IBS, or an underlying problem like bile acid malabsorption, doctors have a range of prescription options that go well beyond what you can buy over the counter.
Most Acute Diarrhea Doesn’t Need a Prescription
The American College of Gastroenterology notes that most community-acquired diarrhea is caused by viruses like norovirus and rotavirus, and antibiotics won’t shorten it. For mild to moderate watery diarrhea without fever or blood in the stool, the standard recommendation is hydration and, if needed, over-the-counter loperamide (Imodium) to reduce the frequency of bowel movements. Doctors generally classify severity on a simple scale: mild means your daily activities aren’t affected, moderate means you’ve had to change plans, and severe means you’re essentially unable to function.
A prescription becomes more likely when diarrhea is severe, bloody, accompanied by a fever above 101°F, lasts longer than seven days, or follows international travel. In those situations, your doctor will typically order stool tests to identify the cause before choosing a targeted treatment.
Prescription Medications That Slow the Gut
When over-the-counter loperamide isn’t enough, doctors may prescribe diphenoxylate with atropine (sold as Lomotil). This combination works by slowing the circular muscles of the intestine, which increases the time food spends in contact with the intestinal lining and allows more water to be absorbed. It’s FDA-approved for patients 13 and older as an add-on treatment for diarrhea. The atropine component is included at a low dose specifically to discourage misuse, since diphenoxylate is related to opioids.
Lomotil is typically used short-term for acute episodes or flare-ups rather than as a long-term solution. Your doctor will usually start at a higher dose and then taper down once symptoms improve.
Antibiotics for Bacterial and Travel-Related Diarrhea
Antibiotics are reserved for situations where a bacterial cause is either confirmed or highly likely. The clearest example is traveler’s diarrhea. The CDC notes that antibiotics typically shorten the illness by one to two days when bacteria are the culprit. For travel-related diarrhea, doctors commonly prescribe a short course of azithromycin, often as a single dose or taken once daily for three days. Rifaximin is another option, approved specifically for traveler’s diarrhea caused by noninvasive strains of E. coli. It’s taken three times daily for three days and works mostly within the gut rather than being absorbed into the bloodstream.
For non-travel bacterial diarrhea, doctors will usually wait for stool culture results and then match the antibiotic to the specific pathogen. One important exception: if the cause is a type of E. coli that produces toxins (called STEC), antibiotics are avoided because they can actually worsen the infection.
C. difficile Infection
Clostridioides difficile (C. diff) is a common cause of diarrhea in people who’ve recently taken antibiotics or been hospitalized. Treatment has shifted significantly in recent years. Metronidazole, once a go-to option, is no longer recommended as first-line therapy because of concerns about its effectiveness and higher recurrence rates. Current guidelines from the Infectious Diseases Society of America recommend oral vancomycin or fidaxomicin instead. Fidaxomicin tends to produce fewer recurrences, which matters because C. diff is notorious for coming back.
IBS-Related Diarrhea Medications
For people with irritable bowel syndrome where diarrhea is the primary symptom (IBS-D), doctors have a few targeted prescriptions. Eluxadoline (Viberzi) is taken twice daily and works by acting on receptors in the gut to reduce contractions and fluid secretion. It’s not appropriate for everyone. People without a gallbladder, those with a history of pancreatitis, anyone with severe liver disease, or people who drink more than three alcoholic beverages a day should not take it.
Alosetron (originally sold as Lotronex) is approved specifically for women with IBS-D who haven’t responded to other treatments. It works by blocking serotonin receptors in the gut, which slows bowel motility. This medication carries risks of serious constipation and reduced blood flow to the colon, so the FDA requires prescribers to be familiar with these risks and to counsel patients on warning signs like new abdominal pain, constipation, or blood in the stool. If any of those develop, the medication should be stopped immediately.
Bile Acid Binders
Bile acid malabsorption is an underdiagnosed cause of chronic, watery diarrhea. Normally, bile acids are reabsorbed in the small intestine, but when they spill into the colon, they trigger fluid secretion and urgent, loose stools. This can happen after gallbladder removal, after certain intestinal surgeries, or sometimes without an obvious cause.
Cholestyramine is the most commonly prescribed treatment. It’s a powder mixed with liquid that binds to bile acids in the intestine and carries them out of the body. Doctors typically start at 4 grams once or twice daily before meals and adjust upward based on response, with total daily doses ranging from 8 to 24 grams split across the day. Because cholestyramine can interfere with the absorption of other medications, you generally need to take your other pills at least one hour before or four to six hours after each dose.
Specialized Treatments for Severe or Tumor-Related Diarrhea
Some types of diarrhea are driven by tumors that secrete hormones into the bloodstream. Carcinoid tumors, for instance, can cause relentless watery diarrhea along with flushing and wheezing. For these cases, doctors prescribe octreotide, a synthetic hormone given by injection that suppresses the overactive hormone signals. It’s available as a daily subcutaneous injection during the initial treatment phase or as a monthly intramuscular injection for long-term management. This is a highly specialized medication used in oncology settings rather than something a primary care doctor would typically prescribe.
How Doctors Decide What to Prescribe
The decision tree is more straightforward than it might seem. Acute diarrhea without alarm signs (blood, high fever, severe dehydration) gets supportive care and possibly loperamide. Travel-related diarrhea with moderate to severe symptoms gets a short antibiotic course. Chronic diarrhea lasting more than four weeks triggers a diagnostic workup, stool tests, and sometimes a colonoscopy to identify the underlying cause before a targeted prescription is chosen.
The key factor is always the cause. A prescription that helps IBS-D could be dangerous in C. diff. An antibiotic that clears traveler’s diarrhea could worsen a toxin-producing E. coli infection. This is why doctors resist prescribing antibiotics for routine diarrhea and why the diagnostic step matters so much when symptoms are severe or persistent.

