Is Bactrim (sulfamethoxazole and trimethoprim) safe to use in a breastfeeding woman?

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: January 21, 2026View editorial policy

Personalize

Help us tailor your experience

Which best describes you? Your choice helps us use language that's most understandable for you.

Bactrim and Breastfeeding

Bactrim should be avoided in breastfeeding mothers with infants under 2 months of age due to the risk of kernicterus (bilirubin-induced brain damage), and is contraindicated in premature, jaundiced, ill, or G6PD-deficient infants at any age. 1, 2

Age-Based Safety Algorithm

For infants under 2 months:

  • Bactrim is contraindicated due to kernicterus risk from sulfonamide-induced hyperbilirubinemia 1, 2
  • The CDC explicitly contraindicates use in this age group 1
  • Choose alternative antibiotics: penicillins (amoxicillin), cephalosporins, or macrolides 1, 3

For healthy, full-term infants over 2 months:

  • Bactrim may be used with caution if the infant is not jaundiced, ill, stressed, or G6PD-deficient 1
  • Breast milk levels represent only 2-5% of the recommended infant therapeutic dose 1, 2
  • Monitor the infant for gastrointestinal distress and adequacy of nursing 1

Specific Contraindications

Bactrim must be avoided in infants with:

  • Prematurity - increased susceptibility to bilirubin displacement and kernicterus 1, 2
  • Jaundice - sulfonamides displace bilirubin from plasma proteins, worsening hyperbilirubinemia 1
  • G6PD deficiency - risk of hemolytic anemia from the sulfonamide component 1, 2
  • Any acute illness or stress - increases vulnerability to adverse effects 1

Mechanism of Risk

The sulfonamide component (sulfamethoxazole) poses the primary risk by:

  • Displacing bilirubin from plasma protein binding sites, leading to hyperbilirubinemia 1
  • Causing hemolytic anemia, particularly in G6PD-deficient infants 1
  • Potentially altering infant intestinal flora 1

Clinical Evidence Quality

The evidence supporting cautious use in eligible infants is substantial: extensive clinical experience with trimethoprim-sulfamethoxazole in HIV-positive mothers during breastfeeding has found no adverse events in healthy, term infants over 2 months 1. The actual drug transfer to breast milk is minimal, with infant drug levels an order of magnitude lower than therapeutic doses 1.

Preferred Alternative Antibiotics

When treating infections in breastfeeding mothers, prioritize:

  • Penicillins and aminopenicillins (e.g., amoxicillin) - compatible with breastfeeding 1, 4
  • Cephalosporins - compatible with breastfeeding 1, 4
  • Macrolides (e.g., azithromycin) - probably safe, though very low risk of hypertrophic pyloric stenosis if used during first 13 days of breastfeeding 1

These alternatives avoid the kernicterus and hemolytic anemia risks associated with sulfonamides 5, 1.

Critical Monitoring if Bactrim Must Be Used

If no safer alternative exists and the infant meets eligibility criteria (healthy, full-term, >2 months, not jaundiced, not G6PD-deficient):

  • Monitor for gastrointestinal distress 1
  • Assess adequacy of nursing 1
  • Watch for signs of jaundice or hemolysis 1
  • Consider timing breastfeeding to avoid peak maternal serum concentrations 4

Common Pitfall

Do not assume "probably safe" means universally safe - the age and health status of the infant are critical determinants. A drug that is relatively safe for a 6-month-old healthy infant can be dangerous for a 3-week-old or jaundiced infant 1, 2.

References

Guideline

Safety of Bactrim During Lactation

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Ampicillin and Sulbactam Safety During Breastfeeding

Praxis Medical Insights: Practical Summaries of Clinical Guidelines, 2025

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 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.