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

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

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

Woman researching viagra on her cell phone
January 6, 2026/Sex & Relationships

Viagra for Women: What To Know

The little blue pill might help with physical arousal, but there are better treatments for low libido in women

Pregnant woman taking allergy pill, with glass of water
December 23, 2025/Pregnancy & Childbirth

Seasonal Allergy Medicine You Can Take When You’re Pregnant

Most antihistamines, like Zyrtec, are OK, but avoid decongestants for at least the first trimester

An uncapped GLP-1 injector on counter
December 18, 2025/Weight Loss

Does Ozempic Work for Weight Loss?

This diabetes medication can treat obesity, but it’s not for people who just want to drop a few pounds

Person standing on beach in bikini, with sagging skin on butt and upper legs
December 3, 2025/Diabetes & Endocrinology

How To Avoid ‘Ozempic Butt’

Weight loss may cause loose, sagging skin and muscle loss to your rear

Trending Topics

Beef tallow in jar on counter, with spatula

Beef Tallow for Skin: Is It Useful?

Although it could be used as a moisturizer, this new trend is not recommended

Person holding a giant pencil, drawing a boundary line between two cliffs

How To Set Healthy Boundaries

Communicating clear limits helps protect your time, energy and emotional well-being

Older man with hand on chest while talking with healthcare provider in exam room

What To Know About High Cholesterol That Runs in the Family

High cholesterol can be genetic, but testing and treatment can lower your heart disease risk

Ad