What are the guidelines for using Bactrim (sulfamethoxazole/trimethoprim) during pregnancy?

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

Bactrim (Sulfamethoxazole/Trimethoprim) Use During Pregnancy

Bactrim (sulfamethoxazole/trimethoprim) should be avoided during pregnancy due to potential risks including increased risk of preterm birth, low birthweight, neural tube defects, and kernicterus in the newborn. 1

Safety Profile and Contraindications

Trimethoprim-sulfamethoxazole (TMP-SMX) carries several pregnancy-related concerns:

  • First Trimester Risks: May interfere with folic acid metabolism, potentially increasing the risk of neural tube defects and cardiovascular abnormalities 2, 3
  • Third Trimester Risks: Associated with increased risk of kernicterus (hyperbilirubinemia) in the newborn 1
  • General Pregnancy Risks: Studies suggest possible associations with:
    • Preterm birth
    • Low birthweight
    • Oral clefts
    • Urinary tract defects 2

The FDA classifies TMP-SMX as a Pregnancy Category C/D drug, indicating potential risks to the fetus based on animal studies and limited human data 2.

Alternative Antibiotics During Pregnancy

For pregnant patients requiring antibiotics, several safer alternatives are recommended:

First-Line Options (Considered Safe)

  • Penicillins (e.g., amoxicillin) 1, 4
  • Cephalosporins (e.g., cephalexin) 1, 4
  • Azithromycin 1

For Specific Conditions

  • Hidradenitis suppurativa: Cephalexin or azithromycin are recommended as first-line; rifampin and clindamycin combination may be considered for severe disease 1
  • Skin and soft tissue infections: When MRSA is suspected, clindamycin is preferred over TMP-SMX during pregnancy 1

Special Considerations

  • Folic Acid Supplementation: If TMP-SMX must be used during pregnancy (rare situations), folic acid supplementation (at least 400 μg daily) is strongly recommended to reduce the risk of neural tube defects 1

  • Breastfeeding Concerns: TMP-SMX is present in breast milk (approximately 2-5% of recommended daily dose for infants) and should be used with caution, especially when breastfeeding jaundiced, ill, stressed, or premature infants 2

  • Absolute Contraindications:

    • Infants younger than 2 months of age 2, 3
    • Pregnant women in third trimester (due to kernicterus risk) 1

Risk-Benefit Assessment

Recent research has raised additional concerns about TMP-SMX during pregnancy:

  • A nested case-control study found TMP-SMX exposure during pregnancy was associated with nearly three times higher risk of spontaneous abortion (adjusted odds ratio 2.94) 5

  • Despite theoretical benefits of preventing infections, a randomized controlled trial in Zimbabwe found that TMP-SMX prophylaxis during pregnancy did not significantly improve birth outcomes 6

Clinical Decision Algorithm

  1. First question: Is the infection life-threatening or are there no effective alternatives?

    • If NO: Choose an alternative antibiotic from the safe list
    • If YES: Proceed with caution
  2. If TMP-SMX is being considered:

    • Verify trimester (highest risk in first and third trimesters)
    • Ensure adequate folic acid supplementation
    • Consider shorter duration of therapy if possible
    • Monitor for adverse effects
  3. For most common infections during pregnancy:

    • UTIs: Use cephalexin or amoxicillin instead
    • Skin infections: Use clindamycin for MRSA concerns
    • Respiratory infections: Consider azithromycin or amoxicillin

Conclusion

Given the availability of safer alternatives and the documented risks, TMP-SMX should generally be avoided during pregnancy unless the potential benefit clearly outweighs the risks to the fetus, and no safer alternatives exist.

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.