What are the potential interactions between Bactrim (trimethoprim/sulfamethoxazole) and famotidine?

Medical Advisory BoardAll articles are reviewed for accuracy by our Medical Advisory Board
Educational purpose only • Exercise caution as content is pending human review
Article Review Status
Submitted
Under Review
Approved

Last updated: December 17, 2025View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Bactrim and Famotidine Interaction

There is no clinically significant drug interaction between Bactrim (trimethoprim-sulfamethoxazole) and famotidine, and they can be safely used together. 1

Why These Drugs Are Compatible

  • Famotidine is an H2-receptor antagonist that does not interact with the major pathways affected by trimethoprim-sulfamethoxazole 1

  • The primary drug interactions of concern with Bactrim involve:

    • Drugs metabolized by cytochrome P450 enzymes 2
    • Antifolate medications (especially methotrexate) 1, 2
    • Drugs affecting renal potassium elimination 1, 2
    • Warfarin and other anticoagulants 2
    • Digoxin 2
  • Famotidine does not fall into any of these high-risk categories and is not listed among the documented drug interactions with trimethoprim-sulfamethoxazole 1, 2

Important Caveat About Proton Pump Inhibitors vs H2 Blockers

  • Proton pump inhibitors (PPIs) are specifically listed as having interactions with tetracyclines (not trimethoprim-sulfamethoxazole), but this does not apply to H2-receptor antagonists like famotidine 1

  • The distinction is important: famotidine works through a different mechanism than PPIs and does not share the same interaction profile 1

Critical Monitoring When Using Bactrim (Regardless of Famotidine)

You must monitor electrolytes when prescribing Bactrim, as trimethoprim acts as a potassium-sparing diuretic similar to amiloride: 3, 4, 5

  • Hyperkalemia risk is dose-dependent: patients taking >160 mg/day trimethoprim have 64.7% cumulative incidence versus 35.2% with ≤160 mg/day 3

  • Hyponatremia can occur concurrently with hyperkalemia and may be severe and life-threatening 6

  • Monitor serum potassium and sodium at baseline, 1-2 weeks after initiation, and every 4 months during therapy 1

  • High-risk patients requiring extra vigilance:

    • Creatinine clearance <30 mL/min 1, 7
    • Concurrent use of ACE inhibitors, ARBs, or other potassium-sparing agents 1, 2
    • Elderly patients 2
    • Those taking NSAIDs 1
  • Complete blood count monitoring is recommended to detect hematologic toxicity 2

  • Discontinue immediately if rash develops due to risk of Stevens-Johnson syndrome or toxic epidermal necrolysis 2

Professional Medical Disclaimer

This information is intended for healthcare professionals. Any medical decision-making should rely on clinical judgment and independently verified information. The content provided herein does not replace professional discretion and should be considered supplementary to established clinical guidelines. Healthcare providers should verify all information against primary literature and current practice standards before application in patient care. Dr.Oracle assumes no liability for clinical decisions based on this content.

Have a follow-up question?

Our Medical A.I. is used by practicing medical doctors at top research institutions around the world. Ask any follow up question and get world-class guideline-backed answers instantly.