Can cotrimoxazole be used safely during pregnancy, and what trimester-specific precautions and dosing are recommended?

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

Cotrimoxazole in Pregnancy

Cotrimoxazole should be avoided during the first trimester of pregnancy due to increased risk of congenital malformations, but can be used with caution during the second and third trimesters when clinically necessary, with mandatory folic acid supplementation of 5 mg daily. 1, 2

Trimester-Specific Recommendations

First Trimester (Weeks 1-13): AVOID

  • Avoid cotrimoxazole during the first trimester due to documented associations with congenital malformations 1, 2
  • The FDA drug label acknowledges retrospective epidemiologic studies suggesting increased risk of neural tube defects, cardiovascular abnormalities, urinary tract defects, oral clefts, and club foot with first trimester exposure 3
  • Research data show a crude prevalence of 0.7% for neural tube defects specifically associated with first trimester exposure 4
  • One population-based case-control study found increased risk of multiple congenital abnormalities (particularly cardiovascular and urinary tract defects) when used during months 2-3 of pregnancy 5

Second and Third Trimesters (Week 14 onwards): POSSIBLY SAFE

  • Cotrimoxazole can be used during the second and third trimesters when clinically indicated 1
  • The ERS/TSANZ guidelines classify it as "possibly safe" for T2/T3 use 1
  • Mandatory folic acid supplementation of 5 mg daily must be provided when cotrimoxazole is used, as both sulfamethoxazole and trimethoprim interfere with folate metabolism 1

At Delivery and Peripartum: AVOID

  • Avoid cotrimoxazole at delivery due to risk of neonatal complications 1
  • Sulfonamide use at delivery is associated with fetal hemolytic anemia and neonatal hyperbilirubinemia/kernicterus 1

Critical Clinical Context: When Use May Be Justified

Despite the risks, there are specific clinical scenarios where cotrimoxazole use during pregnancy may be necessary:

Q Fever in Pregnancy (Special Exception)

  • For pregnant women with Q fever (Coxiella burnetii infection), long-term cotrimoxazole therapy has demonstrated significant benefit 6, 7
  • One study showed that without long-term cotrimoxazole treatment, 81% of pregnant women experienced obstetric complications including spontaneous abortion (13.5%), intrauterine growth retardation (27%), intrauterine fetal death (27%), and premature delivery (27%) 6
  • Long-term cotrimoxazole treatment protected against maternal chronic Q fever (p=0.001), placental infection (p=0.038), and intrauterine fetal death (p=0.018) 6
  • In this specific infection, the maternal and fetal benefits of treatment clearly outweigh the teratogenic risks 6, 7

HIV-Exposed Infants (Prophylaxis Context)

  • Recent evidence questions the routine use of cotrimoxazole prophylaxis in HIV-exposed but uninfected infants, given antimicrobial resistance concerns and lack of demonstrated benefit 8

Safer Alternatives During Pregnancy

For most infections requiring antibiotics during pregnancy, safer alternatives should be prioritized:

  • First-line choices: Amoxicillin, cephalexin, azithromycin, clindamycin 2
  • These antibiotics have better safety profiles across all trimesters 1, 2

Breastfeeding Considerations

  • Compatible with breastfeeding in healthy, full-term infants 1
  • Avoid in specific neonatal populations: jaundiced infants, premature infants, stressed/ill infants, or those with G6PD deficiency due to risk of kernicterus and hemolysis 1, 3
  • Cotrimoxazole levels in breast milk are approximately 2-5% of the recommended infant dose 3

Key Monitoring and Precautions

When cotrimoxazole must be used during pregnancy:

  1. Always supplement with folic acid 5 mg daily to mitigate folate antagonism effects 1
  2. Discontinue immediately if skin rash develops - may herald serious reactions like Stevens-Johnson syndrome 3
  3. Avoid use near term/delivery to prevent neonatal complications 1
  4. Document clear clinical justification when benefits outweigh risks 3

Common Pitfalls to Avoid

  • Do not assume "possibly safe" in T2/T3 means "safe" - this classification indicates unknown exact risks with potential maternal benefit outweighing fetal risk 1
  • Do not forget folic acid supplementation - this is mandatory, not optional 1
  • Do not use for routine UTI prophylaxis when safer alternatives exist 2
  • Do not continue through delivery - stop before term to avoid neonatal complications 1

Related Questions

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.