Concerns Taking Bactrim And Ibuprofen

In our latest question and answer, our pharmacist discusses concerns a reader has with combining Bactrim and ibuprofen.


Can I take ibuprofen 400mg while I’m on antibiotics? I’m taking Bactrim every 12 hours.

Asked by Janie On Apr 14, 2024

Answered by
Medical Content Reviewed By HelloPharmacist Staff

Published Apr 15, 2024
Last updated May 15, 2024

Key points

  • There is no known drug interaction between Bactrim and ibuprofen.


Thanks for getting in touch with us!

I'm sorry to hear you're dealing with an infection and I understand your concern about taking ibuprofen with your antibiotics.

Ibuprofen (the generic for Advil and Motrin) is generally safe to take with most antibiotics, including Bactrim (sulfamethoxazole/trimethoprim). There's no known interaction between ibuprofen and Bactrim, so taking them together is considered safe for most individuals.

However, it's important to note that there are a few antibiotics, like vancomycin and gentamicin, where ibuprofen should be used cautiously. These antibiotics are typically used in a hospital setting though, and are less common for everyday infections.

While you can take ibuprofen and Bactrim together, both medications can cause gastrointestinal issues like nausea and diarrhea. This is especially true when you first start taking Bactrim. To reduce the potential for these side effects, you may want to take ibuprofen and Bactrim a few hours apart.

Final Words

Thanks again for getting in touch with us! I hope you found this answer helpful and I encourage you to reach back out anytime.


About the Pharmacist

Dr. Brian Staiger, PharmD

Dr. Brian has been practicing pharmacy for over 13 years and has wide-ranging experiences in many different areas of the profession. From retail, clinical, program development, and administrative responsibilities, he's your knowledgeable and go-to source for all your pharmacy and medication-related questions! Dr. Brian Staiger also has herbalist training and educational certificates in the field of medical ethnobotany. Feel free to send him an email at [email protected]! You can also connect with Dr. Brian Staiger on LinkedIn.

Recent Questions