Is Bactrim (trimethoprim/sulfamethoxazole) safe to use for Methicillin-resistant Staphylococcus aureus (MRSA) infections 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: December 9, 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 for MRSA in Pregnancy

Bactrim (trimethoprim-sulfamethoxazole) should be avoided during pregnancy, particularly in the first trimester and third trimester, due to risks of congenital malformations and neonatal complications; however, it may be cautiously considered in the second trimester when safer alternatives have failed and the maternal infection poses greater risk than the medication. 1, 2

Trimester-Specific Risk Profile

First Trimester

  • Avoid use due to antifolate effects that may interfere with folic acid metabolism and increase risk of neural tube defects, urinary tract abnormalities, and cardiovascular malformations 2
  • The IDSA guidelines classify TMP-SMX as pregnancy category C/D and specifically recommend against use in the third trimester 1
  • If TMP-SMX must be used around conception or early pregnancy, all women should consume at least 400 μg of folic acid daily from supplements or fortified foods 2

Second Trimester

  • May be used with more confidence when the risk of neural tube defects is lower and safer alternatives are unavailable 2
  • The 2025 American Academy of Dermatology guidelines suggest considering Bactrim in the second trimester only when safer alternatives have failed or are contraindicated 2
  • This represents a risk-benefit decision where maternal infection severity must outweigh medication risks 2

Third Trimester

  • Strongly avoid near term and at delivery due to risk of neonatal hyperbilirubinemia and kernicterus 1, 2
  • The 2025 hidradenitis suppurativa guidelines specifically recommend avoiding co-trimoxazole in pregnant patients due to increased risk of preterm birth, low birthweight, and kernicterus 2

Preferred Alternatives for MRSA in Pregnancy

Oral Options (Listed in Order of Safety)

  • Cephalexin: Considered safe throughout pregnancy with no adverse effects reported in non-HS studies 1, 2
  • Azithromycin: Safe in pregnancy with no adverse effects reported 1, 2
  • Clindamycin: Moderate evidence supports safety in pregnancy, though it is bacteriostatic with potential for cross-resistance in erythromycin-resistant strains 1, 2

Parenteral Options

  • Vancomycin: The mainstay of parenteral therapy for MRSA infections and the drug of choice for penicillin-allergic patients 1
  • Vancomycin remains the preferred agent for serious invasive MRSA infections requiring hospitalization 1

Clinical Decision Algorithm

Step 1: Assess Infection Severity

  • For skin and soft tissue infections (SSTI): Incision and drainage is the primary treatment; antibiotics are indicated for severe/extensive disease, rapid progression with cellulitis, systemic illness, comorbidities, or failure of drainage alone 1
  • For invasive infections (bacteremia, endocarditis, pneumonia): Parenteral vancomycin is preferred 1

Step 2: Determine Gestational Age

  • First trimester: Use cephalexin, azithromycin, or clindamycin; avoid TMP-SMX 2
  • Second trimester: Consider TMP-SMX only if safer alternatives have failed and maternal infection is severe 2
  • Third trimester: Avoid TMP-SMX; use cephalexin, azithromycin, or clindamycin for outpatient SSTI 2

Step 3: Consider MRSA Susceptibility

  • 95-100% of community-acquired MRSA strains are susceptible to TMP-SMX in vitro 1
  • However, clinical efficacy data for TMP-SMX in invasive MRSA infections are limited, with one randomized trial showing vancomycin superiority over TMP-SMX for serious S. aureus infections 3

Special Circumstances Where TMP-SMX May Be Justified

Q Fever Co-infection

  • Long-term cotrimoxazole therapy (320 mg trimethoprim and 1600 mg sulfamethoxazole for 35 days) is specifically recommended for pregnant women with Q fever to decrease risk of placentitis, obstetric complications, and maternal chronic Q fever infection 2
  • In this scenario, the benefits clearly outweigh risks, as Q fever can cause intrauterine fetal death 2

Severe MRSA with Limited Options

  • When safer alternatives have failed or are contraindicated in the second trimester 2
  • When maternal infection poses life-threatening risk and MRSA is resistant to other oral agents 2

Critical Caveats and Pitfalls

Folic Acid Supplementation

  • All women of childbearing potential taking TMP-SMX must consume at least 400 μg of folic acid daily to reduce neural tube defect risk 2
  • This supplementation should ideally begin 12 weeks before planned conception and continue throughout the first trimester 2

Neonatal Monitoring

  • Clinicians must be aware of the risk for neonatal hyperbilirubinemia and kernicterus when cotrimoxazole is prescribed in the third trimester 2
  • Neonates exposed to TMP-SMX near delivery require monitoring for jaundice 2

Not FDA-Approved for Staphylococcal Infections

  • TMP-SMX is not FDA-approved for treatment of any staphylococcal infections, though it has become an important option for outpatient SSTI due to high in vitro susceptibility 1
  • Clinical experience with TMP-SMX for invasive MRSA infections is limited, particularly in pregnant populations 1

Treatment Duration

  • For outpatient SSTI, 5-10 days of therapy is recommended based on clinical response 1
  • Longer courses may be needed for bone/joint infections or invasive disease 1

References

Guideline

Guideline Directed Topic Overview

Dr.Oracle Medical Advisory Board & Editors, 2025

Guideline

Cotrimoxazole Use in Pregnancy

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.