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

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

Answered by Dr. Brian Staiger, PharmD
Medical Content Reviewed By HelloPharmacist
Staff
Last updated Apr 03, 2025
Key points
- There is no known drug interaction between Bactrim and ibuprofen.
Answer
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.
References
- Bactrim Prescribing Information, AccessFDA
-
Dr. Brian Staiger, PharmD
- 816 views