What is the recommended use and dosage of Trimethoprim (TMP) Sulfamethoxazole (SMX) for treating bacterial infections?

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.

Trimethoprim-Sulfamethoxazole: Recommended Uses and Dosing

Trimethoprim-sulfamethoxazole (TMP-SMX) is a first-line agent for uncomplicated urinary tract infections, Pneumocystis jirovecii pneumonia prophylaxis and treatment in HIV patients, and has established roles in acute pyelonephritis and skin/soft tissue infections, with dosing varying by indication from one double-strength tablet daily for prophylaxis to 15-20 mg/kg/day (TMP component) divided every 6 hours for severe infections. 1

Primary Indications and Dosing

Urinary Tract Infections

For uncomplicated cystitis and acute pyelonephritis, TMP-SMX remains highly effective when the uropathogen is known to be susceptible:

  • Uncomplicated UTI: One double-strength tablet (800 mg sulfamethoxazole/160 mg trimethoprim) every 12 hours for 10-14 days 1
  • Acute pyelonephritis: One double-strength tablet twice daily for 14 days, but only if the organism is confirmed susceptible 2
  • Critical caveat: If susceptibility is unknown, an initial intravenous dose of a long-acting agent (such as 1 g ceftriaxone or consolidated aminoglycoside) should be given first 2
  • Pediatric dosing: 40 mg/kg sulfamethoxazole and 8 mg/kg trimethoprim per 24 hours, divided every 12 hours for 10 days 1

Pneumocystis Jirovecii Pneumonia (PCP)

For HIV-infected patients, TMP-SMX is the agent of choice for both prophylaxis and treatment:

Prophylaxis Regimens:

  • Preferred: One double-strength tablet once daily 2, 3
  • Alternative: One single-strength tablet once daily (better tolerated) 2, 3
  • Alternative: One double-strength tablet three times weekly 2, 3
  • Initiate when: CD4+ count <200 cells/µL, history of oropharyngeal candidiasis, or CD4+ percentage <14% 2, 3

Treatment Dosing:

  • Adults and children: 75-100 mg/kg sulfamethoxazole and 15-20 mg/kg trimethoprim per 24 hours, divided every 6 hours for 14-21 days 1
  • Upper limit example: For an 88 lb (40 kg) patient, give 2 single-strength tablets or 1 double-strength tablet every 6 hours 1

Skin and Soft Tissue Infections

TMP-SMX has activity against MRSA but limited activity against beta-hemolytic streptococci, requiring careful patient selection:

  • Adult dosing: 1-2 double-strength tablets twice daily 2
  • Pediatric dosing: 8-12 mg/kg/day (based on trimethoprim component) in 2-4 divided doses 2
  • Important limitation: For non-purulent cellulitis where streptococci are likely, consider alternative agents or combination therapy, as TMP-SMX activity against beta-hemolytic streptococci is not well-defined 4
  • Duration: Typically 7 days, though 5-10 day courses show similar outcomes for uncomplicated cases 4

Other Established Indications

Acute exacerbations of chronic bronchitis:

  • One double-strength tablet every 12 hours for 14 days 1

Shigellosis:

  • Adults: One double-strength tablet every 12 hours for 5 days 1
  • Children: 40 mg/kg sulfamethoxazole and 8 mg/kg trimethoprim per 24 hours in two divided doses for 5 days 1

Traveler's diarrhea:

  • One double-strength tablet every 12 hours for 5 days 1

Additional Benefits Beyond Primary Indication

TMP-SMX prophylaxis in HIV patients provides cross-protection against:

  • Toxoplasmosis (at one double-strength tablet daily dose) 2, 3
  • Common respiratory bacterial infections 2, 3

Renal Dosing Adjustments

Dose reduction is mandatory in renal impairment:

  • Creatinine clearance >30 mL/min: Standard dosing 1
  • Creatinine clearance 15-30 mL/min: Reduce dose by 50% 1
  • Creatinine clearance <15 mL/min: Use not recommended 1

Managing Adverse Reactions

For HIV patients experiencing non-life-threatening reactions (particularly important given high rates of adverse events in this population):

  • Continue therapy if clinically feasible 2, 3
  • If discontinued, strongly consider reinstitution after resolution 2, 3
  • Gradual dose escalation (desensitization) improves tolerance—up to 70% of patients can successfully restart 2, 3
  • Absolute contraindications: Urticarial rash or Stevens-Johnson syndrome requires permanent discontinuation 4

Critical Clinical Pitfalls

Resistance patterns must guide empiric therapy:

  • For pyelonephritis, always obtain culture and susceptibility testing before initiating TMP-SMX 2
  • TMP-SMX is less effective than fluoroquinolones for pyelonephritis and should not be used empirically when susceptibility is unknown 2

Monitoring requirements:

  • Regular complete blood counts during therapy to detect neutropenia, thrombocytopenia 4
  • Monitor for elevated liver enzymes 4

Spectrum limitations:

  • Poor activity against Pseudomonas aeruginosa 5
  • Unreliable activity against beta-hemolytic streptococci limits use in non-purulent cellulitis 4

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Profilaxis con Trimetoprima-Sulfametoxazol en Pacientes con VIH

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Treatment of Cellulitis with Trimethoprim-Sulfamethoxazole

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.