What Medicine Stops Diarrhea? OTC and Prescription

The two main over-the-counter medicines that stop diarrhea are loperamide (Imodium) and bismuth subsalicylate (Pepto-Bismol). They work in fundamentally different ways, and choosing between them depends on the type of diarrhea you’re dealing with, how fast you need relief, and whether you have other symptoms like nausea or cramping.

How Loperamide Works

Loperamide is the fastest-acting option, typically relieving symptoms within 24 hours. It targets the nerve network that controls your gut muscles, slowing down the contractions that push food through your intestines. Specifically, it blocks the release of a key chemical messenger that triggers those muscle contractions in your intestinal wall. The result: food stays in your digestive tract longer, giving your intestines more time to absorb water from stool. That’s what firms things up.

Even though loperamide activates the same type of receptors as opioid painkillers, it doesn’t cross into your brain in meaningful amounts at normal doses, so it won’t cause a high or sedation. The standard approach is two caplets after the first loose stool, then one after each subsequent loose stool, up to a daily maximum listed on the package (typically four caplets for over-the-counter use). Going beyond the recommended dose can cause dangerous heart rhythm problems.

How Bismuth Subsalicylate Works

Bismuth subsalicylate takes a different approach. Rather than slowing gut movement, it reduces inflammation in the intestinal lining, has mild antibacterial properties, and decreases the amount of fluid your intestines secrete. It’s often a better choice when diarrhea comes with nausea or an upset stomach, since it addresses both.

Relief is more gradual than with loperamide. The typical dosing involves chewing two tablets every 30 minutes as diarrhea continues, up to 16 tablets in 24 hours. One side effect catches people off guard: your tongue or stool may turn black. This is harmless. It happens when bismuth reacts with tiny amounts of sulfur in your saliva and digestive system, forming a dark compound called bismuth sulfide that passes through your body over a day or two.

Bismuth subsalicylate should not be used in children under 12. Because it contains a salicylate (the same class of compound as aspirin), giving it to children or teenagers with flu or chickenpox raises the risk of Reye’s syndrome, a rare but serious condition affecting the brain and liver.

Prescription Options

When over-the-counter options aren’t enough, doctors sometimes prescribe diphenoxylate combined with atropine (sold as Lomotil). Diphenoxylate works similarly to loperamide by acting directly on the circular muscle of the bowel, increasing segmentation. This slows transit time and gives the intestinal lining more contact with its contents, allowing better water absorption. A small amount of atropine is included in the formulation specifically to discourage misuse, since diphenoxylate at high doses can produce opioid-like effects.

For chronic or recurring diarrhea caused by bile acid malabsorption, a different class of medication is used. Bile acid sequestrants like cholestyramine and colestipol bind to bile acids in your intestines before they can reach your colon and trigger watery stools. Bile acid malabsorption is a surprisingly common and underdiagnosed cause of chronic diarrhea, particularly after gallbladder removal or in people with conditions affecting the end of the small intestine.

When You Should Not Take Anti-Diarrheal Medicine

Diarrhea is your body’s way of flushing out harmful organisms, and in certain situations, slowing that process down can make things worse. You should avoid loperamide and similar gut-slowing medications if:

  • You have a fever above 101°F (38.3°C), which suggests an infection your body is actively fighting
  • There’s blood or mucus in your stool, which may indicate a bacterial infection that needs to clear rather than be trapped
  • You suspect food poisoning from invasive bacteria like Salmonella, Shigella, or Campylobacter

In children with bloody diarrhea, antimotility drugs have been linked to hemolytic-uremic syndrome, a serious kidney condition associated with certain strains of E. coli. People with severe inflammatory bowel disease also face added risk, since reducing gut movement in an already inflamed colon can lead to toxic megacolon, a life-threatening complication where the colon dilates and may perforate.

Diarrhea triggered by antibiotic use (pseudomembranous colitis) is another situation where slowing the gut is dangerous, because the underlying cause is an overgrowth of harmful bacteria that need to be treated with targeted antibiotics rather than held in place.

Fluid Replacement Matters More Than Medicine

No matter which medication you use, replacing lost fluids is the single most important thing you can do during a bout of diarrhea. Water alone isn’t ideal because diarrhea also drains sodium, potassium, and other electrolytes. The World Health Organization’s oral rehydration formula contains 75 milliequivalents per liter of sodium and 75 millimoles per liter of glucose, a precise balance that helps your intestines absorb water more efficiently than plain water can.

You don’t need to mix your own WHO formula. Commercial rehydration drinks, diluted fruit juice with a pinch of salt, or clear broth all help restore what’s lost. The goal is steady sipping rather than large volumes at once, which can trigger more cramping.

Choosing the Right Option

If you need to stop diarrhea quickly for practical reasons (a flight, a work event, a long car ride), loperamide is the faster choice. If your stomach is also churning with nausea or you’re dealing with traveler’s diarrhea alongside general GI distress, bismuth subsalicylate covers more ground. For diarrhea that keeps returning over weeks, especially after gallbladder surgery or with no clear dietary trigger, the problem may be bile acid malabsorption, which responds to a completely different treatment than standard anti-diarrheal drugs.

Most acute diarrhea resolves on its own within two to three days. If you’re still reaching for medication after 48 hours with no improvement, or if symptoms worsen, that’s a signal something beyond a simple stomach bug may be going on.