Medication
Bactrim Pregnancy: UTI, Folate and Trimester Checks
Published 2026-07-08 | By SafeMama Editorial Team | Editorial policy
Short answer
Bactrim pregnancy decisions are clinician-led. This antibiotic, also called sulfamethoxazole-trimethoprim, SMZ-TMP, Septra or co-trimoxazole, may be used in selected cases, but timing, folic acid, infection severity and alternatives matter.
Use only when your clinician chooses it
What is the safest way to think about this?
MotherToBaby summarizes ACOG guidance that SMZ-TMP can be used in the first trimester when no acceptable alternatives are available and can be considered for UTIs later in pregnancy when appropriate. BUMPS and UKTIS describe trimethoprim as a folate antagonist, note that early-pregnancy use is usually avoided where possible, and keep the focus on treating infection effectively with clinician guidance. Late-pregnancy sulfonamide timing also deserves individualized review because of theoretical newborn jaundice concerns.
Checking a different medicine? The Pregnancy Medication Safety Hub collects all 154 SafeMama medicine guides, including the active-ingredient and dose questions worth raising with a pharmacist.
What is generally okay?
- Use only for a diagnosed infection and a current prescription.
- Ask why Bactrim is preferred over other pregnancy UTI options and whether a culture or sensitivity result supports the choice.
- Ask whether your folic acid intake needs review if exposure is early in pregnancy or you are planning pregnancy.
- Tell your clinician about sulfa allergy, folate concerns, G6PD deficiency, blood disorders, kidney disease, breastfeeding plans, or late third-trimester timing.
What should you avoid or double-check?
- Avoid leftover Bactrim or Septra.
- Avoid using it for viral illness or undiagnosed urinary symptoms.
- Avoid stopping, switching, or combining it with other medicines or supplements without checking interactions.
- Avoid ignoring fever, flank pain, vomiting, contractions, or worsening UTI symptoms.
How SafeMama helps
SafeMama can flag sulfamethoxazole, trimethoprim, Bactrim, Bactrim DS, Septra, co-trimoxazole, and sulfa-related label terms so users know to ask for individualized advice.
Open the SafeMama app, scan the barcode or search the ingredient, then use the result as a starting point for a conversation with your healthcare provider.
Sources
Frequently asked questions
Is Bactrim safe during pregnancy?
There is not one blanket answer. ACOG and MotherToBaby use a risk-benefit frame, so your clinician should weigh timing, infection severity, culture results and alternatives.
Can I take Bactrim while pregnant?
Only if your clinician chooses it for your infection. Ask about the culture result, alternatives, trimester timing, folic acid and whether another antibiotic would fit better.
What does Bactrim pregnancy guidance say for UTIs?
MotherToBaby notes ACOG guidance that SMZ-TMP can be used in the first trimester if no acceptable alternatives are available and can be considered in later trimesters for UTIs when appropriate.
Is Bactrim safe in early pregnancy?
It may not be first choice. Your clinician weighs infection severity, culture results, alternatives, and folate-related considerations.
Why does folic acid matter with Bactrim?
Trimethoprim can affect folic acid pathways. Ask your clinician whether your prenatal vitamin is enough or whether your situation needs different advice.
Is Bactrim safe for a UTI while pregnant?
Sometimes it may be selected, but UTI treatment should be based on pregnancy timing, symptoms, urine results, allergy history, and local resistance patterns.
Is Bactrim safe late in pregnancy or the third trimester?
Late-pregnancy timing needs clinician review because some sources discuss theoretical sulfonamide-related newborn jaundice concerns, especially near delivery.
Is Bactrim contraindicated in pregnancy?
Not always as an absolute rule, but many situations need caution. Early pregnancy, late pregnancy, allergies, G6PD deficiency, folate concerns and culture results should be reviewed before use.
Is Bactrim DS different in pregnancy?
Bactrim DS is a strength of the same active ingredients. Do not change dose or split tablets unless your prescriber or pharmacist tells you to.
What if I took Bactrim before I knew I was pregnant?
Call your clinician or pharmacist for individualized advice. Do not stop a prescribed antibiotic abruptly unless they tell you to, because untreated infection can also be risky.
Should I stop Bactrim if I find out I am pregnant?
Do not stop prescribed antibiotics without calling your clinician, because untreated infection can also be risky.
Is Septra the same as Bactrim?
Both names can refer to sulfamethoxazole-trimethoprim. Check the active ingredients and ask your clinician or pharmacist.
Check products faster with SafeMama
SafeMama scans food, skincare, medicine and supplement labels and explains pregnancy-safety flags using published guidance from authorities like ACOG, NHS, FDA, CDC and WHO.
Download SafeMama