Is Bactrim (trimethoprim/sulfamethoxazole) safe to use during 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: July 31, 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.

Safety of Bactrim (Trimethoprim/Sulfamethoxazole) During Breastfeeding

Bactrim (trimethoprim/sulfamethoxazole) should be avoided during breastfeeding, particularly in mothers nursing infants who are premature, jaundiced, ill, stressed, or younger than 2 months of age due to potential risks of hyperbilirubinemia and kernicterus. 1, 2

Risk Assessment for Breastfeeding Mothers

Trimethoprim/sulfamethoxazole (TMP-SMX) transfers into breast milk at levels approximately 2-5% of the recommended daily dose for infants over 2 months of age 2. The primary concerns with this medication during breastfeeding include:

  • Risk of hyperbilirubinemia: Sulfonamides can displace bilirubin from albumin binding sites, potentially leading to elevated bilirubin levels 1, 3
  • Risk of kernicterus: Particularly concerning in jaundiced infants 3
  • Glucose-6-phosphate dehydrogenase (G6PD) deficiency: Can cause hemolytic anemia in affected infants 1
  • Potential alteration of intestinal flora: May cause diarrhea or falsely negative cultures in febrile infants 1

Decision Algorithm Based on Infant Age and Health Status

  1. Infants under 2 months of age:

    • Bactrim is contraindicated 1, 2
    • Choose an alternative antibiotic
  2. Infants with special conditions:

    • Avoid in infants who are:
      • Premature
      • Jaundiced
      • Ill or stressed
      • G6PD deficient 1
  3. Healthy term infants over 2 months:

    • May be compatible with breastfeeding if no safer alternatives are available
    • Monitor infant for jaundice, diarrhea, or rash

Alternative Antibiotics for Breastfeeding Mothers

If an antibiotic is necessary during breastfeeding, consider these safer alternatives:

  • Amoxicillin/clavulanic acid: Compatible with breastfeeding 1
  • Cephalosporins (e.g., cefuroxime): Compatible with breastfeeding 1
  • Azithromycin: Probably safe during breastfeeding 1

Important Considerations and Monitoring

When TMP-SMX must be used in a breastfeeding mother with an infant over 2 months:

  • Use the lowest effective dose for the shortest duration
  • Schedule medication doses immediately after breastfeeding to minimize infant exposure
  • Monitor the infant for:
    • Jaundice (yellowing of skin/eyes)
    • Changes in stool pattern (diarrhea)
    • Rash or other signs of adverse reactions
    • Poor feeding or irritability

Common Pitfalls to Avoid

  1. Failing to consider infant age: Remember that Bactrim is absolutely contraindicated in infants under 2 months 1, 2

  2. Overlooking infant health status: Even in older infants, those with jaundice, illness, or G6PD deficiency should not be exposed to Bactrim through breast milk 1

  3. Not considering drug alternatives: When treating maternal infections, always consider antibiotics with better safety profiles during lactation 4

  4. Advising unnecessary weaning: Temporary interruption of breastfeeding is rarely necessary with most antibiotics, but with TMP-SMX, careful consideration of infant factors is essential 5

The CDC and other guidelines specifically note that TMP-SMX should not be administered to nursing mothers of young or at-risk infants 1, making it important to select alternative antibiotics when possible for breastfeeding women.

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.