Praxis Medical Insights

Est. 2024 • Clinical Guidelines Distilled

Made possible by volunteer editors from the University of Calgary & University of Alberta

Last Updated: 1/4/2026

Contraindications and Precautions for Cotrimoxazole (Trimethoprim‑Sulfamethoxazole)

Pregnancy and Lactation

  • The American College of Obstetricians and Gynecologists recommends avoiding cotrimoxazole at term because sulfonamides cross the placenta and may harm the fetus. 1

G6PD Deficiency

  • Patients with glucose‑6‑phosphate dehydrogenase (G6PD) deficiency should not receive cotrimoxazole due to the risk of hemolytic anemia. 1

Drug‑Interaction Contraindications

  • Concurrent use of cotrimoxazole with therapeutic‑dose methotrexate is contraindicated because the combined antifolate effect can cause severe bone‑marrow suppression. [1][2]

HIV‑Positive Patients

  • In individuals living with HIV, hypersensitivity reactions to cotrimoxazole occur in up to 60 % of cases, compared with ≈5 % in HIV‑negative individuals. 3
  • Identified risk factors for these reactions include a prior history of syphilis, elevated total plasma protein concentrations, and paradoxically higher CD4:CD8 ratios. 3
  • Despite the high reaction rate, cotrimoxazole may still be employed for Pneumocystis jirovecii pneumonia prophylaxis when the anticipated benefits outweigh the risks, according to dermatology guidelines. 4

Pediatric Considerations

  • The American Academy of Pediatrics notes that rare but severe allergic reactions, particularly Stevens‑Johnson syndrome, make cotrimoxazole undesirable when suitable alternative therapies exist. 5

Monitoring Requirements When Relative Contraindications Exist

  • Baseline complete blood count and monthly hematologic monitoring (e.g., for thrombocytopenia) are recommended if cotrimoxazole must be used despite relative contraindications. 1
  • Serum potassium should be measured at baseline, 1–2 weeks after initiation, and every 4 months thereafter, especially in patients receiving ACE inhibitors or ARBs. 2
  • Immediate discontinuation of cotrimoxazole is advised at the first sign of any rash, given the potential progression to Stevens‑Johnson syndrome or toxic epidermal necrolysis. 2

REFERENCES

1

Maximum Daily Dosing of Septrin (Trimethoprim-Sulfamethoxazole) [LINK]

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2026

2

Drug Interaction Between Bactrim DS and Paromomycin [LINK]

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

3

hypersensitivity reactions to hiv therapy. [LINK]

British Journal of Pharmacology, 2011

5

Adverse Reactions to Bactrim [LINK]

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025