Can Bactrim (trimethoprim/sulfamethoxazole) cause acute kidney injury?

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: November 13, 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.

Can Bactrim Cause Acute Kidney Injury?

Yes, Bactrim (trimethoprim-sulfamethoxazole) definitively causes acute kidney injury through multiple mechanisms including direct tubular toxicity, hyperkalemia, and altered renal hemodynamics, with an incidence of approximately 6-11% in treated patients. 1, 2

Mechanisms of Kidney Injury

Bactrim causes AKI through several distinct pathways:

  • Direct tubular toxicity is the primary mechanism, causing intrinsic renal impairment rather than interstitial nephritis 1, 2
  • Hyperkalemia occurs due to trimethoprim's potassium-sparing effects, which block epithelial sodium channels in the distal nephron 1, 3
  • Crystalluria can develop when fluid intake is inadequate, particularly in "slow acetylators" who are more prone to sulfonamide reactions 3
  • Hyponatremia can occur, particularly severe and symptomatic in patients treated for Pneumocystis pneumonia 3

Incidence and Clinical Evidence

The risk of AKI with Bactrim is substantial and well-documented:

  • 11.2% of patients developed AKI (defined as increases in both creatinine and BUN) in a systematic study of middle-aged veterans treated for ≥6 days 2
  • 5.8% had AKI likely attributable to trimethoprim-sulfamethoxazole, while 4.9% had AKI possibly related to the drug 2
  • One to two additional cases of hyperkalaemia and two admissions with AKI per 1000 UTIs treated compared to amoxicillin in patients aged 65 and over 4
  • The odds ratio for AKI within 14 days of initiation is 1.72 (95% CI 1.31-2.24) compared to amoxicillin 4

High-Risk Patient Populations

Certain patient groups face dramatically elevated risks:

  • Patients with hypertension have increased risk (OR 2.69,95% CI 1.11-6.49) 5
  • Patients with diabetes mellitus, especially poorly controlled, face higher risk 2
  • Low body mass index increases risk (OR 0.86 per unit increase, meaning lower BMI = higher risk) 5
  • Concomitant loop diuretic use substantially increases risk (OR 2.91,95% CI 1.08-7.78) 5
  • Patients taking renin-angiotensin system blockers and spironolactone experience 18 additional cases of hyperkalaemia and 11 admissions with AKI per 1000 UTIs treated compared to amoxicillin 4
  • Elderly patients (≥65 years) and those with pre-existing chronic kidney disease are at elevated risk 1, 4

Contraindications and Precautions

The American College of Nephrology recommends avoiding TMP-SMX in patients with severe renal insufficiency (creatinine clearance <15 mL/min) and using it with extreme caution in patients with acute kidney injury. 1

Key prescribing considerations:

  • For creatinine clearance <15 mL/min, TMP-SMX is not recommended 1
  • Avoid the "triple whammy" combination of NSAIDs, diuretics, and ACE inhibitors/ARBs when prescribing Bactrim 6
  • Each nephrotoxic medication increases AKI odds by 53%, and this risk compounds with multiple nephrotoxins 1
  • High-dose TMP-SMX increases AKI risk (OR 1.16 per dose increment) 5

Monitoring Requirements

Complete blood counts, clinical chemistry testing, and urinalyses with careful microscopic examination should be performed frequently during therapy. 3

Specific monitoring includes:

  • Monitor serum creatinine and BUN regularly during treatment 6, 3
  • Close monitoring of serum potassium is warranted, particularly in patients with underlying potassium metabolism disorders, renal insufficiency, or those on drugs that induce hyperkalemia 3
  • Ensure adequate fluid intake to prevent crystalluria and stone formation 3
  • Watch for early signs including decreased urine output, edema, or rising creatinine 6
  • Discontinue if significant electrolyte abnormality, renal insufficiency, or reduction in blood cell counts occurs 3

Clinical Course and Reversibility

The natural history of Bactrim-induced AKI is generally favorable if recognized early:

  • AKI resolves promptly after discontinuation in nearly all cases likely due to trimethoprim-sulfamethoxazole 2
  • Dialysis may be required in rare severe cases 2
  • Pyuria appears in only a minority (2 of 37 patients in one study), and eosinophiluria is typically not observed, distinguishing this from classic interstitial nephritis 2
  • Permanent impairment can occur if therapy continues despite declining renal function 7

Alternative Antibiotics

When AKI risk is unacceptable, consider alternatives:

  • Fluoroquinolones (ofloxacin, ciprofloxacin) have lower nephrotoxic potential, though ciprofloxacin still carries some AKI risk (OR 1.48) 1, 4
  • β-lactam antibiotics including amoxicillin and cefalexin are safer alternatives for UTIs 1, 4
  • Nitrofurantoin is another option for uncomplicated UTIs in patients with adequate renal function 4

References

Guideline

Trimethoprim-Sulfamethoxazole Use in Patients with Acute Kidney Injury

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Research

Acute kidney injury associated with trimethoprim/sulfamethoxazole.

The Journal of antimicrobial chemotherapy, 2012

Guideline

Medications That Can Cause Kidney Injury

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

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.