Is cotrimoxazole (trimethoprim/sulfamethoxazole) contraindicated in lactation?

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 10, 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.

Cotrimoxazole in Lactation: Contraindication Status

Cotrimoxazole is contraindicated during breastfeeding when the infant is less than 2 months of age, premature, jaundiced, ill, stressed, or has glucose-6-phosphate dehydrogenase (G6PD) deficiency due to the risk of kernicterus and hemolytic anemia. 1, 2, 3

Absolute Contraindications for Breastfeeding

The following infant conditions represent absolute contraindications to maternal cotrimoxazole use:

  • Infants under 2 months of age - The FDA drug label and CDC guidelines explicitly contraindicate use due to kernicterus risk (bilirubin-induced brain damage) 2, 3
  • Premature infants - Increased susceptibility to bilirubin displacement and kernicterus 1, 2, 3
  • Jaundiced infants - Risk of worsening hyperbilirubinemia through bilirubin displacement from plasma proteins 2, 3
  • G6PD-deficient infants - Risk of hemolytic anemia from the sulfonamide component 2, 3

Conditional Use in Healthy Term Infants

Cotrimoxazole may be used with caution in healthy, full-term infants over 2 months of age who are not jaundiced and do not have G6PD deficiency. 4, 2

The British Thoracic Society guidelines note that cotrimoxazole is "possibly safe" during breastfeeding in this specific population, though caution remains warranted 1, 4. The drug achieves breast milk levels of approximately 2-5% of the recommended infant therapeutic dose 3.

Mechanism of Infant Toxicity

The sulfonamide component causes two primary risks:

  • Hyperbilirubinemia - Sulfonamides displace bilirubin from plasma protein binding sites, increasing free bilirubin levels that can cross the blood-brain barrier and cause kernicterus 2, 3
  • Hemolytic anemia - Particularly dangerous in G6PD-deficient infants who cannot adequately protect red blood cells from oxidative stress 2

Safer Alternative Antibiotics During Lactation

When treating maternal infections during breastfeeding, prioritize these alternatives:

  • First-line agents: Amoxicillin/clavulanic acid, penicillins, and cephalosporins are fully compatible with breastfeeding 2, 5, 6, 7
  • Macrolides: Azithromycin and erythromycin are safe alternatives, particularly for penicillin-allergic patients, though monitor for the rare risk of infantile hypertrophic pyloric stenosis if used within the first 13 days of breastfeeding 2, 5
  • Other options: Clindamycin (with caution for GI effects) and metronidazole are considered safe 5, 7

Clinical Decision Algorithm

Follow this stepwise approach:

  1. Assess infant age and health status - If infant is <2 months, premature, jaundiced, ill, or has known/suspected G6PD deficiency, cotrimoxazole is contraindicated 2, 3

  2. Consider alternative antibiotics first - Use penicillins, cephalosporins, or macrolides as first-line agents during lactation 2, 5

  3. If cotrimoxazole is essential - Only proceed if the infant is healthy, full-term, >2 months old, not jaundiced, and G6PD-sufficient 4, 2

  4. Monitor the infant - Watch for jaundice, lethargy, feeding difficulties, or signs of hemolysis 2, 3

Common Pitfalls to Avoid

  • Assuming all term infants are safe - Even healthy term infants under 2 months remain at risk for kernicterus 2, 3
  • Failing to screen for G6PD deficiency - This is particularly important in high-risk populations (African, Mediterranean, or Asian descent) 2
  • Ignoring stressed or ill infants - Even if over 2 months and term, stressed or ill infants have contraindications 2, 3
  • Not considering the extensive list of safer alternatives - Multiple compatible antibiotics exist that avoid these risks entirely 2, 5, 6, 7

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Safety of Bactrim During Lactation

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Cotrimoxazole Use in Pregnancy

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Safety of Antibiotics During Breastfeeding

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.