Locations:
Search IconSearch
January 24, 2020/Health Conditions/Digestive

How to Prevent Diarrhea While You Take Antibiotics

Tips on probiotics and food choices

man suffering from stomach pain while taking antibiotics

When you need to take antibiotics to treat a bacterial infection, the last thing you want to do is add more symptoms into the mix.

Advertisement

Cleveland Clinic is a non-profit academic medical center. Advertising on our site helps support our mission. We do not endorse non-Cleveland Clinic products or services. Policy

Yet many people suffer from an upset stomach when taking antibiotics. Diarrhea is a common concern. So are abdominal cramping and gas. In the worst cases, long-term antibiotic use can even lead to C. diff, a severe infection that causes colitis, or inflammation in your colon.

“The problem is that when you are trying to kill bacteria in your sinuses, lungs, or elsewhere, antibiotics also kill bacteria that live in your intestine that keep your digestive health in balance,” says family medicine physician Michael Rabovsky, MD.

These side effects are one of many reasons experts caution against overusing antibiotics. But when you truly do need to take them to fight an infection, you can also take steps to prevent or minimize diarrhea and other stomach problems.

The power of probiotics

It may seem strange: You’re taking antibiotics, so wouldn’t probiotics undo the good your treatment is doing?

However, probiotics add helpful bacteria to your digestive system — not the bacteria that cause infections. They don’t have any effect on the antibiotic treatment. They only treat the side effects.

“The thing that has really been shown to help the most with preventing diarrhea is taking probiotics when taking antibiotics,” Dr. Rabovsky says. He notes that reviews of studies suggest probiotics are effective both for regular antibiotic-associated diarrhea and for diarrhea related to C. diff. They also seem to help with side effects such as cramping and gas.

Advertisement

Probiotics come in several varieties. The most commonly studied for antibiotic-associated diarrhea are Lactobacillus rhamnosus-based and Saccharomyces boulardii-based probiotics. Probiotics come in capsules, tablets, powders and even liquid form.

With so many options, be sure to ask your doctor for advice before taking any probiotics, as you should for any type of supplement. Probiotics could possibly be harmful for people with immune deficiencies or those who are severely debilitated.

Watch what you eat

Would you prefer to get probiotics from food? Many types of yogurt contain probiotics. Look for “active and live cultures” on the label. Dr. Rabovsky often recommends one or two plain Greek yogurts per day for patients taking antibiotics.

However, if dairy gives you stomach problems, go easy on other dairy foods while taking antibiotics.

“People who tend to have more GI (gastrointestinal) symptoms do tend to get more GI side effects while taking antibiotics, at least anecdotally,” Dr. Rabovsky says. “It’s highly individualized.”

That means the foods that cause you stomach problems may be fine for someone else, so trust your gut. If spicy foods are normally a culprit for upset stomachs, avoid them when taking antibiotics. If sugar is your trigger, watch your sweet tooth. And although fiber is normally important for digestion, you may need to slow down your consumption if diarrhea flares up while you are taking antibiotics.

Take with or without food?

Check the label on your antibiotics. Does it recommend taking them with food or on an empty stomach?

In either case, follow the directions. Some antibiotics are better absorbed on an empty stomach, so you don’t want to limit their effectiveness. But if the label says, “Take with food,” taking your pills with a meal might help ease stomach issues.

Beyond the specifics above, good old-fashioned advice for treating diarrhea still applies. Drink plenty of water to avoid dehydration, and use rehydrating beverages high in electrolytes if needed. Avoid alcohol and caffeine if they’re making your diarrhea worse. Keep in mind alcohol may actually cause severe reactions while you are taking certain antibiotics, so check the label for that information, as well. Eat a more bland diet than you might normally eat.

It’s better to use caution than get hit with unpleasant side effects.

“Common sense would say you are going to disturb the natural balance with antibiotics,” Dr. Rabovsky says, “so anything else that causes you GI symptoms could make side effects even worse.”

Advertisement

Learn more about our editorial process.

Related Articles

Bearded man brushing his teeth in home bathroom
March 20, 2025/Oral Health
What Are Tetracycline Teeth?

This antibiotic can cause tooth staining that doesn’t fade on its own — but you still have options for whitening your smile

Male holding pill and glass of water, with assorted alcohol behind him crossed out
April 22, 2024/Primary Care
Why You Should Avoid Alcohol on Antibiotics

Even a little alcohol can slow your recovery, so it’s best to wait until after you finish your antibiotics before imbibing

Person holding pills in one hand and a glass of water in the other
April 27, 2021/Primary Care
When Antibiotics Stop Working, What’s Next?

How science is fighting superbugs

taking antibiotic
November 10, 2020/Primary Care
4 Important Facts You Need to Know About Antibiotics

Don’t assume you need them when you’re sick

Hand taking a grapefruit out of the fruit drawer in a fridge
September 8, 2025/Heart Health
Should You Avoid Grapefruit if You Take a Statin?

Grapefruit contains natural chemical compounds that can interfere with certain medications when it’s consumed in large amounts

Person holding a bowl of fruits, nuts and oats on their lap
September 5, 2025/Digestive
Digestive Enzymes 101: Why They’re Important

Your body naturally produces the protein that’s essential for breaking down and digesting food

Parent, teen child and therapist talk
September 2, 2025/Children's Health
Here’s What You Need To Know About the Connection Between Autism and OCD

Autism and OCD often co-occur, but distinguishing between them is crucial for successful treatment

Healthcare provider talking to a patient
September 2, 2025/Children's Health
Think You’re Autistic? Why You Shouldn’t Diagnose Yourself With an Online Quiz

Quiz results are unreliable and don’t grant you access to autism resources or support

Trending Topics

Person in bed sleeping on their side, covers off
Breathing Problems? Try These Sleep Positions

If you’re feeling short of breath, sleep can be tough — propping yourself up or sleeping on your side may help

A couple looking at skyline, with one person slightly behind the other, head bent down
What Is Anxious Attachment Style — and Do You Have It?

If you fear the unknown or find yourself needing reassurance often, you may identify with this attachment style

Glasses and bottle of yellow-colored prebiotic soda, with mint, lemon and ginger garnish
Are Prebiotic Sodas Good for You?

If you’re looking to boost your gut health, it’s better to get fiber from whole foods

Ad