What Medications Can Cause Diarrhea - And How to Tell if That's Your Problem
You started a new medication a few weeks ago. Since then, you've had loose stools, an urgency that comes out of nowhere, and a general unpredictability in your digestion that wasn't there before.
But is it really the medication? You're also wondering if it's the new high-fiber diet you started at the same time. Or the extra coffee you've been drinking. Or maybe just stress. It's genuinely hard to tell.
This article covers the most common medication types that may cause diarrhea, explains why they affect the gut, and - importantly - gives you a practical framework for figuring out whether medication, food, or something else is actually behind your symptoms. Because treating the wrong cause is a waste of everyone's time.
Which medications are most likely to cause diarrhea?
More than 700 medications list diarrhea as a potential side effect. That said, a smaller group of medication types accounts for the vast majority of cases. Here's what the evidence points to.
Antibiotics
Antibiotics are the most well-known cause of medication-related diarrhea, and for good reason. Research suggests that up to 35% of people taking certain antibiotics experience diarrhea as a side effect. The problem is twofold: antibiotics kill harmful bacteria, but they also disrupt the beneficial bacteria that keep your gut balanced. When that balance shifts, the result is often loose stools, urgency, or cramping.
Some antibiotics are worse than others. Amoxicillin-clavulanate (Augmentin), clindamycin, and cephalosporins are among the most commonly implicated. In more serious cases - particularly with clindamycin - antibiotic use can allow Clostridioides difficile (C. diff) to overgrow, causing significant gut inflammation.
Timing clue: antibiotic-related diarrhea typically starts within hours to a few days of beginning treatment, though it can appear up to two months after finishing a course.
Metformin (and other diabetes medications)
Metformin is one of the most widely prescribed medications for type 2 diabetes, and gastrointestinal symptoms - including diarrhea, nausea, and stomach cramps - are among its most common side effects. Research suggests around 20-30% of people starting metformin experience GI symptoms, with diarrhea being particularly common in the first few weeks.
The extended-release formulation tends to cause fewer GI side effects than immediate-release metformin, and symptoms often improve as the body adjusts. GLP-1 receptor agonists (such as semaglutide) used for diabetes and weight management may also cause diarrhea, particularly at higher doses.
NSAIDs (ibuprofen, naproxen, aspirin)
Nonsteroidal anti-inflammatory drugs like ibuprofen (Advil, Motrin) and naproxen (Aleve) may irritate the lining of the gastrointestinal tract. They work by inhibiting prostaglandins - substances that normally protect the gut lining from stomach acid. Without that protection, the GI tract becomes more vulnerable to irritation, which can show up as diarrhea, stomach pain, or both.
Regular or high-dose NSAID use carries higher risk than occasional use. Older adults are particularly susceptible.
Proton pump inhibitors (PPIs)
PPIs - including omeprazole (Prilosec), lansoprazole (Prevacid), and esomeprazole (Nexium) - are prescribed to reduce stomach acid for conditions like GERD and ulcers. Ironically, they may also cause diarrhea in some people. This is partly because altering stomach acid levels can affect the gut microbiome, and partly because PPIs may impair the absorption of certain nutrients.
People taking PPIs long-term may also have a higher risk of C. difficile infection, which can cause more severe diarrhea.
Antidepressants (SSRIs and SNRIs)
Selective serotonin reuptake inhibitors (SSRIs) like sertraline (Zoloft) and fluoxetine (Prozac) affect serotonin levels throughout the body - including in the gut, where approximately 90% of the body's serotonin is produced. Because serotonin plays a key role in regulating gut motility, SSRIs may speed up transit time in some people, leading to looser stools or diarrhea, particularly when first starting or increasing the dose.
SNRIs and tricyclic antidepressants may also affect gut function, though the pattern varies between individuals.
Blood pressure and heart medications
Several cardiovascular medications may cause diarrhea. Beta-blockers, ACE inhibitors, and the ARB (angiotensin receptor blocker) losartan are all documented culprits. Losartan in particular has been associated with a rare but severe form of chronic diarrhea called sprue-like enteropathy. Digoxin, used to treat heart failure and certain arrhythmias, is also known to cause GI side effects at higher doses.
If you recently started a blood pressure medication and your digestion has changed, it is worth flagging with your doctor.
Colchicine (gout medication)
Colchicine is highly effective for gout flares, but GI side effects - diarrhea, nausea, and stomach cramps - are among its most common adverse effects. The mechanism is dose-dependent: the higher the dose, the more likely the gut will react. Diarrhea can begin within hours of taking the medication.
Magnesium-containing antacids and laxatives
This one is often overlooked. Many common antacids contain magnesium (magnesium hydroxide, magnesium carbonate), and magnesium has an osmotic effect in the gut - it draws water into the intestine, which can cause loose stools. Antacids like Milk of Magnesia and certain Maalox formulations are designed partly for this laxative effect, but even antacids used primarily for heartburn can cause loose stools in susceptible people.
Stimulant laxatives (bisacodyl, senna) are an obvious cause, but people sometimes forget they took a laxative supplement or antacid alongside other medications.
Chemotherapy drugs
Irinotecan, 5-fluorouracil, and methotrexate are among the chemotherapy agents most strongly associated with diarrhea. This is one of the most significant and well-managed side effects in oncology. If you are undergoing cancer treatment, your care team will typically have a protocol for managing treatment-related diarrhea - this is a different situation to most medication-related diarrhea, and warrants close medical supervision.
Immune suppressants
Mycophenolate mofetil (used after organ transplants and in autoimmune conditions) commonly causes GI side effects including diarrhea. This is a medication where side effects need to be discussed directly with your prescribing physician, as stopping or reducing the dose has implications beyond gut comfort.
What about vitamins and supplements?
Certain vitamins and supplements may also cause diarrhea, particularly at higher doses. Vitamin C in large amounts (typically over 1,000-2,000mg/day) has an osmotic laxative effect. Magnesium supplements are a common culprit - magnesium citrate and magnesium oxide in particular. Zinc in high doses, fish oil capsules, and some herbal supplements (senna-based products, cascara) may also loosen stools.
The challenge with supplements is that they are often taken alongside food and other medications, making it harder to isolate which element is responsible.
How do you know if diarrhea is from medication?
This is the question that doesn't get answered by most medication guides. They tell you what medications can cause diarrhea. They don't help you figure out whether your diarrhea is actually coming from your medication - or whether it's the same meal you've eaten on the days you feel bad, or a food intolerance that's been quietly worsening, or something entirely different.
Here are the key signals to look for.
The timing is the most important clue
Medication-related diarrhea follows a predictable pattern relative to starting the drug. If your symptoms began within days of starting a new medication, or shortly after a dose increase, that is a meaningful signal. If you've been on the same medication for two years and symptoms only appeared recently, the medication is less likely to be the primary cause - unless something else changed (dose, formulation, additional medication).
Ask yourself: what changed, and when did symptoms start?
Symptoms happen consistently - not just on some days
If your diarrhea is happening every day or on most days regardless of what you eat, that points more toward medication than food. Food triggers tend to be inconsistent - some days you eat the same thing and feel fine, other days you don't. A medication effect is more constant because you take the medication every day.
If, however, your symptoms only flare on specific days or after specific meals, food is more likely to be involved - even if you are on a medication that can cause diarrhea.
The "elimination test" you can't easily do
With food triggers, the gold-standard approach is to remove the suspected food for a few weeks and reintroduce it - if symptoms improve and then return, you've found your trigger. With medications, you generally cannot simply stop taking them to test the theory. Blood pressure medications, diabetes medications, and antidepressants should never be stopped abruptly without medical guidance.
The right approach: document your symptoms carefully and discuss them with your doctor. They can assess whether a dose adjustment, formulation switch (like immediate-release to extended-release metformin), or an alternative medication might resolve the issue without compromising your treatment.
The complicating reality: it might be both
Here's where things get genuinely complex. A medication might be irritating your gut and making you more reactive to foods you normally tolerate. Or you might have an existing food intolerance that the medication is exacerbating. Many people taking metformin, for example, find that the GI side effects are worse when they take it on an empty stomach or after certain foods - the medication and the food are interacting.
This is exactly why simple "is it my meds?" questions are hard to answer without data. You need to track both at the same time.
A practical tracking framework: separating medication from food from other factors
If you suspect your diarrhea might be medication-related but aren't sure, here's how to approach it systematically before your next doctor's appointment.
Track both medication and food in the same log. Most people either track food or think about their medications - they don't do both in one place. But the pattern only becomes visible when you can see what you took, what you ate, and when symptoms occurred, all in the same timeline.
Note dose timing relative to symptoms. If you take your medication with breakfast and symptoms tend to appear mid-morning, that is informative. If you take it at night and feel fine in the morning but worse by evening, the picture is murkier - and tracking helps clarify it.
Record the character of symptoms, not just their presence. Is the diarrhea urgent? Watery? Crampy? Does it come with bloating or nausea? Some medication-related diarrhea has a distinctive character - metformin-related diarrhea, for example, is often accompanied by nausea rather than cramps. The detail matters.
Look for food-symptom correlations across the whole dataset. If you've been tracking for two or three weeks and there are clear food patterns even when you controlled for medication timing - that's the data your doctor needs to see, and it changes the conversation.
Track any other variables that matter. Stress, sleep, exercise, and alcohol all affect gut motility. A comprehensive log that includes these factors gives you a much clearer picture than a food-only diary.
DietSleuth is built specifically for this kind of multi-variable tracking. It logs meals, symptoms, medications, and other lifestyle factors in one place, and uses AI pattern recognition to find correlations across your data that would be very difficult to spot manually. If you've been going back and forth trying to figure out whether your gut issues are coming from your meds, your diet, or the combination - that's exactly the kind of question it's designed to help answer.
Start Your Free Trial of DietSleuth
When to see a doctor about medication-related diarrhea
Most medication-related diarrhea is uncomfortable but not dangerous. That said, some situations warrant prompt medical attention:
- Diarrhea that is severe, bloody, or accompanied by fever
- Signs of dehydration (extreme thirst, dizziness, reduced urination, dark urine)
- Diarrhea that persists for more than a few days without improvement
- Symptoms that develop after taking clindamycin, lincomycin, or broad-spectrum antibiotics (possible C. difficile)
- Significant weight loss alongside chronic diarrhea (especially if on losartan or other ARBs)
Never stop a prescribed medication without talking to your doctor first. Even if you are reasonably confident your diarrhea is medication-related, abrupt discontinuation of some drugs carries its own risks.
Frequently asked questions
Can vitamins cause diarrhea?
Yes. High-dose vitamin C, magnesium supplements (especially magnesium oxide and magnesium citrate), and zinc taken in excess may all cause diarrhea. The effect is often dose-dependent - smaller amounts may be tolerated fine, while larger doses cause loose stools.
Can supplements cause diarrhea?
Many supplements may cause diarrhea, including magnesium, fish oil, vitamin C, and herbal laxatives like senna. If you recently started a new supplement and developed GI symptoms, it is worth temporarily stopping it (under medical guidance if appropriate) to see if symptoms resolve.
How long does medication-related diarrhea last?
It depends on the medication. Antibiotic-related diarrhea often resolves within a few days to a week of finishing the course. Metformin-related GI symptoms frequently improve within the first few weeks as the body adjusts. If symptoms persist beyond two weeks, or are severe, consult your doctor.
Should I take probiotics to prevent antibiotic-associated diarrhea?
Some research suggests that taking certain probiotic strains alongside antibiotics may reduce the risk of antibiotic-associated diarrhea. The evidence is promising but not definitive - discuss with your doctor or pharmacist, who can suggest an appropriate probiotic and timing relative to your antibiotic dose.
What does medication-related diarrhea feel like compared to food-triggered diarrhea?
Medication-related diarrhea tends to be consistent and daily, because you take the medication every day. Food-triggered diarrhea tends to follow specific meals or food exposures and may be more variable. That said, the two can overlap, and tracking is the most reliable way to tell them apart.
Related reading
If you've ruled out medication as the primary cause and want to dig deeper into food-related diarrhea, these articles may help:
- What Can Cause Diarrhea - and How to Find Out If Food Is the Trigger - a broader look at diarrhea causes beyond medication
- Food Diary for Diarrhea: What to Track and How to Find the Cause - a practical guide to tracking food and symptoms together
- IBS vs Food Intolerance: What's the Difference - and Why Tracking Matters Either Way - if you've had diarrhea diagnosed as IBS but suspect food may be involved
This content is for informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always consult your healthcare provider before making changes to your medications or health routine. Never stop a prescribed medication without medical guidance.
Sources
- Chassany O, et al. "Drug-induced diarrhoea." Drug Safety. 2000. PubMed PMID: 10647976.
- MedlinePlus. "Drug-induced diarrhea." U.S. National Library of Medicine. Updated October 2025. medlineplus.gov/ency/article/000293.htm
- Mayo Clinic. "Antibiotic-associated diarrhea - Symptoms and causes." mayoclinic.org
- GoodRx Health. "What Medications Cause Diarrhea? 14 Medications to Know." goodrx.com
- Hopkins Medicine. "Medicines and the Digestive System." hopkinsmedicine.org
- Merck Manual (Professional). "Drug-Related Gastroenteritis." merckmanuals.com
- UF Health. "Drug-Induced Diarrhea." ufhealth.org
- Crowther GS, et al. "Losartan-Induced Sprue-Like Enteropathy." American Journal of Gastroenterology. 2017.
- Worst Pills Best Pills. "Medications That Cause Diarrhea." worstpills.org
- Scarpignato C, Pelosini I. "Management of irritable bowel syndrome: novel approaches to the pharmacology of gut motility." Canadian Journal of Gastroenterology. 1999.