Locations:
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.

Advertisement

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

Cleveland Clinic icon
Health Essentials logo
Subscription icon

Better health starts here

Sign up for our Health Essentials emails for expert guidance on nutrition, fitness, sleep, skin care and more.

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

Hand holding up a hairbrush with loose strands of hair in the bristles
November 19, 2026/Diabetes & Endocrinology

Can Ozempic and Other GLP-1s Cause Hair Loss?

Your body’s response to rapid weight loss from the medications may cause shedding

Person with a wet cough, holding a biologics medical
November 19, 2026/Lung

What To Know About Biologics for COPD

If you’re being treated for COPD, but still having moderate to severe flare-ups, biologics may be the next step

Person holding roll of toilet paper, walking into the bathroom
October 26, 2026/Allergies

Can Allergies Cause Diarrhea?

Seasonal allergies don’t typically cause diarrhea, but food allergies may

Person holding two prescription medicine bottles, comparing info
October 14, 2026/Mental Health

Concerta vs. Vyvanse: How Are They Different?

While the ADHD medications are similar, variations may make one a better choice over the other for you

Person’s hand holding a pill, with a glass of water in the other hand
October 8, 2026/Mental Health

Mood Stabilizers vs. Antipsychotics for Bipolar Disorder: What’s the Difference?

Mood stabilizers promote long-term mood stability, while antipsychotic medications work faster to manage acute episodes

Trending Topics

Couple relaxing together on the couch

Colon Cancer in Young People: Explaining the Increase

A combination of lifestyle and health factors may be behind the trend

Person pouring almond milk from a glass pitcher into a drinking glass

Should You Try Almond Milk?

The plant-based milk option is low in calories and high in heart-healthy fats

Person sitting, holding a pill in one hand and a glass of water in the other over their legs

Can Birth Control Stop Your Period?

Some birth control methods — and how you use them — may lighten or stop your period

Ad