What Is the Best Prescription Medication for Diarrhea?

There is no single best prescription medication for diarrhea because the right choice depends entirely on what’s causing it. A person with irritable bowel syndrome needs a fundamentally different drug than someone with bile acid diarrhea or a bacterial infection picked up while traveling. What works well for one type of diarrhea can be ineffective or even harmful for another. Understanding the major categories of prescription options, and which conditions they target, is the fastest way to figure out what’s most likely to help you.

Diphenoxylate-Atropine for Severe Acute Diarrhea

Diphenoxylate-atropine (sold as Lomotil) is one of the most commonly prescribed medications for severe diarrhea that hasn’t responded to over-the-counter options like loperamide. It works by slowing intestinal movement, giving your body more time to absorb water and nutrients from food. It’s typically used alongside fluid and electrolyte replacement rather than as a standalone fix.

Because diphenoxylate is an opioid-based drug, it’s a controlled substance, which is why it requires a prescription while loperamide (Imodium) does not. The atropine component is added specifically to discourage misuse: taking too much causes unpleasant side effects like dry mouth, rapid heartbeat, and blurred vision. This medication is meant for short-term use. Taking it longer than prescribed increases the risk of serious bowel complications, including severe constipation and, in rare cases, dangerous bowel dilation.

Prescription Options for IBS-Related Diarrhea

If your diarrhea is tied to irritable bowel syndrome with diarrhea (IBS-D), the prescription landscape looks quite different. Two FDA-approved medications target this condition specifically, and they work through completely different mechanisms.

Rifaximin

Rifaximin is an antibiotic that works almost entirely inside the gut, with very little absorbed into the bloodstream. The standard treatment is a 14-day course taken three times daily. If symptoms come back, you can repeat that same course up to two more times. In clinical trials, about 47% of patients saw meaningful improvement in both abdominal pain and stool consistency, compared to 36-39% on placebo. Those numbers may sound modest, but for a condition as stubborn as IBS-D, a roughly 10-percentage-point advantage over placebo is considered clinically meaningful. The relief also tends to persist for weeks after the treatment course ends, which distinguishes it from drugs you take every day.

Eluxadoline

Eluxadoline (Viberzi) takes a different approach. It acts on opioid receptors in the gut to reduce bowel contractions and fluid secretion without producing the brain effects of traditional opioids. It’s a daily medication rather than a short course. One critical safety detail: eluxadoline is completely off the table if you’ve had your gallbladder removed. Patients without a gallbladder face a significantly higher risk of pancreatitis and spasm of the duct that drains bile into the intestine, both of which can be serious emergencies.

Alosetron

Alosetron (originally sold as Lotronex) is approved specifically for women with severe IBS-D who haven’t responded to other treatments. It works by blocking serotonin receptors in the gut, which slows transit time and reduces pain signaling. This drug once carried strict prescribing restrictions due to rare but serious side effects, including reduced blood flow to the colon and severe constipation. The FDA has since determined that a formal risk management program is no longer necessary, though prescribing information still carries a boxed warning about these risks. It remains a last-resort option for severe cases.

Bile Acid Sequestrants for Bile Acid Diarrhea

Bile acid diarrhea is a surprisingly common and underdiagnosed cause of chronic, watery diarrhea. It happens when excess bile acids reach the colon, where they trigger fluid secretion and rapid contractions. This can occur after gallbladder removal, after bowel surgery, or as a standalone condition where the body simply overproduces bile acids or fails to reabsorb them properly.

The treatment is straightforward: bile acid sequestrants, medications that bind to bile acids in the gut and neutralize their diarrhea-causing effects. Cholestyramine has been used for this purpose for over 50 years and remains the most commonly prescribed option. It comes as a powder mixed into liquid, and the taste and texture can be unpleasant enough that some people struggle to stick with it. Colesevelam, a newer alternative available in tablet form, is better tolerated. In clinical trials, colesevelam taken as two tablets twice daily (starting dose) and adjusted over the first five days showed clear benefit for bile acid diarrhea. For people whose chronic diarrhea has no obvious explanation, a trial of a bile acid sequestrant is sometimes used as both a diagnostic test and a treatment: if it works, bile acid malabsorption was likely the problem all along.

Antibiotics for Infectious Diarrhea

When diarrhea is caused by a bacterial infection, particularly from travel, the prescription choice shifts to antibiotics. Not every case needs them. CDC guidelines break it down by severity: mild cases that don’t interfere with your day generally don’t warrant antibiotics. Moderate cases that are distressing or disruptive can be treated with antibiotics. Severe cases, especially those involving bloody stool or fever, call for antibiotic treatment.

Azithromycin is the preferred antibiotic when there’s blood in the stool or a fever, since it covers invasive bacteria like Campylobacter and Shigella. For severe but non-bloody diarrhea, fluoroquinolones or rifaximin are options, though neither should be used if an invasive pathogen is suspected. Loperamide can be added alongside antibiotics as an adjunct to control symptoms, and this combination has a well-established safety profile. However, anti-motility agents should not be used alone when diarrhea is bloody or accompanied by fever, as slowing the gut in those situations can trap the infection inside.

Crofelemer for HIV-Related Diarrhea

Crofelemer fills a very specific niche: it’s the only FDA-approved treatment for diarrhea caused by antiretroviral therapy in people living with HIV. Unlike most antidiarrheal drugs, crofelemer doesn’t slow gut movement at all. Instead, it blocks chloride channels on the surface of intestinal cells, which reduces the amount of water that gets secreted into the bowel. This anti-secretory mechanism means it targets the root cause of the diarrhea rather than just masking it. The dose is relatively small, taken twice daily, and because the drug acts locally in the gut with minimal systemic absorption, side effects tend to be mild.

How Doctors Choose Between These Options

The most important factor in choosing a prescription antidiarrheal is the underlying diagnosis. A doctor trying to help you with chronic diarrhea will typically want to determine whether the cause is functional (like IBS), malabsorptive (like bile acid diarrhea), infectious, or medication-related before selecting a drug. Using the wrong category of medication isn’t just ineffective; in some cases it can cause harm, like using a motility-slowing drug during an active bacterial infection.

For short-term, severe diarrhea without a clear infectious cause, diphenoxylate-atropine is a common first prescription. For IBS-D, rifaximin is often tried first because of its favorable side-effect profile and the fact that it’s a short course rather than a daily commitment. Eluxadoline and alosetron are typically reserved for people who don’t respond to rifaximin or other initial approaches. For bile acid diarrhea, a bile acid sequestrant is the clear first choice since no other class of medication addresses the mechanism. And for travelers’ diarrhea severe enough to need a prescription, the antibiotic choice hinges on whether the infection appears invasive.

Long-term use of any motility-slowing medication carries risks worth knowing about. Chronic use can lead to severe constipation, and in extreme cases, dangerous bowel dilation. Bloating, nausea, loss of appetite, and abdominal pain are signals to check in with your prescriber rather than push through. The safest approach is using these medications at the lowest effective dose for the shortest time that controls symptoms.