Better Me

7 Tips to Ease an Upset Stomach From Antibiotics and Other Medications

Starting a new medication can sometimes come with an unwelcome side effect: an upset stomach. You may notice nausea, diarrhea, constipation, heartburn, gas, bloating or stomach pain.

These symptoms are common with certain medications, including antibiotics. They can affect different parts of your digestive system, including your esophagus, stomach and intestines.

While the reason you feel sick to your stomach depends on the medication you’re taking, there are some things you can try to feel better.

Katelyn Currier, PharmD, a Banner Health pharmacist, explains why some medications cause upset stomachs, offers tips for managing mild digestive problems and outlines when to get help.

Why do some medications cause an upset stomach?

One of the main reasons antibiotics and many other oral medicines upset your stomach is because they disturb the bacteria in your gut. 

“Your gut microbiome is the community of tiny organisms living in your digestive system that help with digestion,” Dr. Currier said. “Antibiotics kill both good and bad bacteria, which can throw off this natural balance.”

Other medications can affect your digestive system in different ways. They may:

  • Change how quickly food moves through your stomach and intestines
  • Affect how your body absorbs water and bile acids
  • Decrease the production of substances that help protect your stomach
  • Cause irritation to the lining of your stomach or intestines

“For example, some medications, including GLP-1s, can slow digestion,” Dr. Currier said. “Nonsteroidal anti-inflammatory drugs (NSAIDs), such as ibuprofen, can reduce production of substances that help protect the stomach lining.”

Tips for managing mild digestive symptoms

1. Follow your medication instructions

Check the instructions that came with your medicine. Some medications should be taken with food, while others need to be taken on an empty stomach.

"Some medicines work better or cause less stomach upset when taken with food," Dr. Currier said. "But some medicines may not work as well if taken with food and might need to be taken on an empty stomach."

Follow the instructions on your medicine label. If you’re not sure, ask your doctor or pharmacist.

2. Drink enough fluids

Vomiting and diarrhea can cause you to lose fluids, which might lead to dehydration. Drinking fluids throughout the day can help replace these lost fluids.

For an upset stomach, take small sips of water often instead of drinking a large amount at once. Water is a good choice to stay hydrated. If you cannot keep fluids down and your vomiting and diarrhea continue, contact your health care provider. 

3. Choose foods that are easier on the stomach

If you feel nauseous or have other stomach problems, eating large or heavy meals can make you feel worse. Try eating smaller meals and foods that you know are easy for you to handle. You should also avoid foods that trigger your symptoms, like fatty, spicy or acidic foods.

You don’t have to follow a strict diet. As your symptoms get better, you can go back to your normal eating habits. 

4. Ask before taking an antacid

Heartburn and indigestion can be uncomfortable, but over-the-counter (OTC) antacids are not right for everyone.

“Antacids can interfere with some medications and make them less effective," Dr. Currier said. “This can happen with certain antibiotics and thyroid medications.”

Before using an antacid, tell your pharmacist about all the medicines and supplements you take. Your pharmacist can provide recommendations on how to separate antacids from your other medications to prevent interactions.

5. Talk with your pharmacist about probiotics

Probiotics contain live microorganisms but different products have different strains and may help with different digestion problems. Instead of picking a probiotic at random, ask your pharmacist whether one is right for your symptoms and when to take it.

“Probiotics usually need to be taken at least two to three hours apart from antibiotics," Dr. Currier said.

6. Don’t automatically treat diarrhea with OTC medicine

Diarrhea can happen when you take antibiotics or other medicines. But not every case needs anti-diarrheal medication.

Before you take any medicine, tell your pharmacist if you have many episodes of watery diarrhea, fever or blood in your stool. These symptoms might mean you have an infection or another health problem. Taking medicine to stop diarrhea might make things worse in these cases.

Your pharmacist can tell you if it’s okay to use OTC medicine or if you should see your health care provider.

7. Know when an upset stomach needs medical attention

Most mild stomach problems usually aren’t an emergency. But certain symptoms might mean a bigger health issue. 

Rare but serious side effects of antibiotics can include:

  • Clostridioides difficile (C. diff) infection: This can happen when antibiotics upset the normal balance of bacteria in your intestines. Symptoms can include cramping, nausea, frequent watery diarrhea, loss of appetite and mild fever.
  • Allergic reactions: Signs include trouble breathing or swelling of your face, lips, tongue or throat.
  • Antibiotic-resistant infections: These occur when bacteria survive medicines meant to kill them. This makes infections harder or sometimes impossible to treat.

Talk to your doctor if side effects last or get worse. 

Get urgent or emergency care for:

  • Trouble breathing
  • Swelling of the face, lips, tongue or throat 
  • Hives, fainting or signs of a serious allergic reaction 
  • Vomiting blood or material that looks like coffee grounds 
  • Black, tarry or bloody stools 
  • Severe or quickly worsening stomach pain 
  • Hard, stiff or very swollen abdomen 
  • Confusion, extreme weakness or signs of severe dehydration 
  • Frequent watery diarrhea after taking antibiotics 
  • Bloody diarrhea 
  • Diarrhea with fever or severe cramps 

What if you vomit after taking your medication?

If you vomit after taking medication, don't take another dose right away. What to do next depends on the medication, its formulation and how long after taking it you vomited. 

If you throw up after taking a tablet, capsule or liquid medication:

  • Check the medication instructions for information about vomiting
  • Contact your health care provider or pharmacist for guidance
  • Don’t take an additional dose unless you’ve been told to do so

Should you stop taking your medication if you get stomach pain?

Do not skip doses, change how you take a prescription or stop taking it without talking to your health care provider first. 

Your pharmacist is a good first stop if you have questions about your medicine. They can help you know whether to take it with food, whether other medicines or products might interfere with it and what to do if you have side effects.

“Always follow the instructions on your medication bottle," Dr. Currier said. "Ask your pharmacist or provider if you’re not sure how to take it."

Takeaway

You might feel mild nausea, diarrhea, constipation, heartburn, gas or bloating when you start certain medicines. Follow the instructions your doctor or pharmacist gives you. Talk to your pharmacist before taking any OTC medicine, changing how you take your medicine or stopping a prescription. 

If you have serious or long-lasting symptoms, see blood in your stool, a high fever, signs of dehydration or frequent watery diarrhea after taking antibiotics, contact your health care provider or a Banner Health specialist.

FAQs

Is it normal for antibiotics to upset your stomach? 

Mild nausea, cramping or loose stools can happen. If you have severe, bloody, frequent or long-lasting diarrhea, see a doctor.

Should you take antibiotics with food? 

It depends on the medicine. Follow the instructions on the label and ask a pharmacist. Some medicines work better with food, while others may not be absorbed well when taken with food.

What should you eat if medication makes you feel sick?

Try small amounts of simple foods you like, such as toast, crackers, rice, bananas, applesauce, broth, plain potatoes or lean meat.

Can you take an antacid with antibiotics? 

Some antacids can reduce antibiotic effectiveness. Ask a pharmacist whether you can take them together or should take them at different times.

What should you do if you vomit after taking medication? 

Do not take another dose right away. Contact a pharmacist or doctor for advice. 

Related articles:

Pharmacy Safety