Is Bactrim (trimethoprim‑sulfamethoxazole) compatible with breastfeeding?

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 19, 2026 • View editorial policy

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.

Bactrim Use with Breastfeeding

Bactrim (trimethoprim-sulfamethoxazole) is compatible with breastfeeding in healthy, full-term infants, but should be avoided in infants who are premature, jaundiced, ill, stressed, or have glucose-6-phosphate dehydrogenase (G6PD) deficiency.

Key Recommendations

The most recent and authoritative guideline evidence from the ERS/TSANZ Task Force (2020) explicitly states that co-trimoxazole is "compatible with breastfeeding in healthy term babies" but specifically advises to "avoid in babies who are glucose-6-phosphate dehydrogenase deficient, jaundiced or premature" 1.

The FDA drug label for Bactrim reinforces this position, noting that sulfamethoxazole and trimethoprim levels in breast milk are approximately 2-5% of the recommended daily infant dose (over 2 months of age), but caution should be exercised especially when breastfeeding jaundiced, ill, stressed, or premature infants because of the potential risk of bilirubin displacement and kernicterus 2.

Clinical Decision Algorithm

Step 1: Assess Infant Risk Factors

  • Premature infant: AVOID Bactrim
  • Jaundiced infant: AVOID Bactrim
  • G6PD deficiency: AVOID Bactrim
  • Ill or stressed infant: AVOID Bactrim
  • Healthy, full-term infant >2 months: SAFE to use

Step 2: If Contraindications Present

Consider alternative antibiotics with better safety profiles during breastfeeding:

  • Amoxicillin (compatible) 3
  • Cefuroxime (compatible) 1
  • Azithromycin (probably safe, though monitor for pyloric stenosis in first 13 days) 1

Step 3: Monitor the Infant

If Bactrim is used in a healthy term infant, monitor for:

  • Gastrointestinal disturbances (diarrhea, candidiasis from altered gut flora)
  • Any signs of jaundice development
  • Unusual symptoms

Important Caveats

Kernicterus Risk: The primary concern with sulfonamides during breastfeeding is hyperbilirubinemia in the neonate. Sulfonamides can displace bilirubin from albumin binding sites, potentially leading to kernicterus in vulnerable infants 2. This risk is highest in:

  • Neonates and young infants (especially <2 months)
  • Premature infants with immature hepatic conjugation
  • Jaundiced infants with existing hyperbilirubinemia
  • G6PD-deficient infants at risk for hemolytic anemia

Dose Exposure: The infant receives only 2-5% of the weight-adjusted maternal dose through breast milk 2, which is well below the 10% threshold generally considered safe 4, 5. This low exposure supports compatibility in healthy term infants.

Timing Considerations: Unlike some antibiotics where timing of feeds relative to dosing matters, the ERS/TSANZ guidelines do not specify timing restrictions for Bactrim in eligible infants 1.

Comparison with Other Antibiotics

Recent consensus statements on antibiotic use during lactation (2025) confirm that short-term use of most antibiotics is generally low risk 3. Bactrim's restriction to specific infant populations makes it more limited than alternatives like amoxicillin or cephalosporins, which have broader compatibility 3.

The 2025 CDC tularemia guidelines note that sulfonamides and trimethoprim produce low concentrations in breast milk with acceptable safety profiles for most antibiotics in this class, though they emphasize infant-specific considerations 6.

Bottom Line

Use Bactrim during breastfeeding only if the infant is healthy, full-term, and over 2 months of age. Screen for G6PD deficiency if there is any family history or ethnic predisposition. If any contraindications exist, select an alternative antibiotic with broader lactation compatibility. The maternal benefit of treating infection must be weighed against the specific infant risk factors, not against breastfeeding itself.

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.