Safe: Nitrofurantoin 100 mg twice daily and cephalexin are proven UTI in pregnant women treatment options for the first and second trimesters; avoid trimethoprim‑sulfamethoxazole.
By Shubhra Mishra — a mom of two who turned her own confusion during pregnancy into BumpBites, a global mission to make food choices clear, safe, and stress-free for every expecting mother. 💛
Check whether any food is safe during pregnancy with the BumpBites Food Safety Checker.
Download the Complete Pregnancy Food Guide (10,000 Foods) 📘
Instant PDF download • No spam • Trusted by thousands of moms
💡 Your email is 100% safe — no spam ever.
Quick verdict: ⚠️ Safe with limits – most antibiotics for UTIs are considered safe in pregnancy when prescribed at the appropriate dose and duration, but the choice of drug and timing matter. Follow your provider’s guidance and stay hydrated.
It’s common to feel a surge of anxiety the moment you discover a urinary tract infection (UTI) while pregnant. The phrase “uti in pregnant women treatment” can dominate a night‑time Google search, especially when you’re worried about both your health and your baby’s. The good news is that, for most pregnant people, there are effective, pregnancy‑compatible antibiotics and simple home‑care steps that keep the infection under control without harming the developing fetus.
In this article we’ll walk you through the safety profile of the most frequently used UTI antibiotics, how the trimester you’re in influences the choice, the recommended dosages, and what to watch out for. We’ll also explore evidence‑based home remedies, safer alternative options, and a quick‑reference table that compares related antibiotics side‑by‑side. By the end, you’ll have a clear, evidence‑backed plan for uti in pregnant women treatment and know exactly when to call your provider.
Remember: you’re not alone. Many expectant parents have faced the same dilemma, and with the right information you can make a confident, safe decision for yourself and your baby.
Pregnancy can amplify the discomfort of a UTI, but it also adds a layer of responsibility—every medication you take travels across the placenta to your growing baby. That’s why obstetric guidelines are very specific about which antibiotics are considered low‑risk and how long you should stay on them. This article pulls together the latest guidance from ACOG, the NHS, the CDC, and other trusted bodies so you don’t have to sift through conflicting advice on your own.
Trimester / Breastfeeding
Verdict
Notes
1st trimester
⚠️ Safe with limits
Nitrofurantoin and cephalexin are preferred; avoid trimethoprim‑sulfamethoxazole if possible.
2nd trimester
✅ Generally safe
Most oral antibiotics (nitrofurantoin, cephalexin, amoxicillin) are considered low‑risk.
3rd trimester
⚠️ Safe with limits
Nitrofurantoin should be stopped near term (≥38 weeks) due to potential hemolytic anemia in newborns.
Breastfeeding
✅ Generally safe
Most UTI antibiotics are excreted in low amounts in breast milk and are considered compatible.
What is a urinary tract infection (UTI)?
A urinary tract infection is an infection that can occur in any part of the urinary system—kidneys, ureters, bladder, or urethra. In pregnancy, the most common culprit is Escherichia coli, a bacteria that normally lives in the intestines but can migrate up the urethra when urinary flow slows. Hormonal shifts and the growing uterus compress the bladder, making it harder to fully empty, which creates a perfect environment for bacteria to multiply.
UTIs are classified as uncomplicated (limited to the bladder, also called cystitis) or complicated (involving the kidneys, known as pyelonephritis). Even an uncomplicated cystitis can feel uncomfortable—burning during urination, frequent urges, and mild pelvic pressure—but if left untreated, the infection can ascend, leading to kidney involvement, higher fever, and serious maternal‑fetal complications. Prompt diagnosis, usually via a urine culture, and appropriate antibiotic therapy are the cornerstones of safe treatment.
Are antibiotics safe for treating UTIs in the first trimester?
Yes, antibiotics can be safely used in the first trimester, but the selection matters. ACOG’s 2023 practice bulletin advises that nitrofurantoin, cephalexin, and amoxicillin are among the safest options for early pregnancy. These drugs have not been linked to major congenital malformations when taken at standard doses. However, trimethoprim‑sulfamethoxazole (TMP‑SMX) is generally avoided in the first trimester because of a slightly increased risk of neural‑tube defects, as highlighted by the NHS.
When a UTI is confirmed by a urine culture, your provider will choose an antibiotic based on susceptibility testing. The goal is to treat the infection promptly while minimizing any theoretical risk to the embryo during organogenesis—the period of rapid organ formation that makes the first trimester the most sensitive window.
It’s also worth noting that many clinicians will order a repeat urine culture after completing therapy, especially in the first trimester, to confirm eradication and reduce the chance of recurrence later in pregnancy.
What is the recommended dosage of nitrofurantoin for pregnant women with UTIs?
Nitrofurantoin is a first‑line oral agent for uncomplicated cystitis in pregnancy. The typical adult regimen is 50‑100 mg taken every six hours for 5‑7 days. This dosing strategy is endorsed by the CDC’s 2022 antimicrobial stewardship guidelines and aligns with FDA labeling that cites pregnancy safety when used short‑term. Your obstetrician may adjust the dose slightly based on kidney function, which can change during pregnancy.
Importantly, nitrofurantoin should be discontinued at ≥38 weeks gestation to avoid neonatal hemolytic anemia, a rare but recognized concern. If you’re close to term, your provider may switch you to an alternative such as cephalexin or amoxicillin to finish the course safely.
For women with reduced renal clearance (eGFR < 60 mL/min), the drug’s effectiveness may diminish, prompting clinicians to choose a different antibiotic. Your provider will assess kidney function with a simple blood test before finalizing the prescription.
Can I use amoxicillin for a urinary tract infection during pregnancy?
Amoxicillin is widely regarded as safe throughout pregnancy. The FDA classifies it as Category B, meaning animal studies have not shown risk to the fetus and there are no adequate human studies that indicate harm. ACOG includes amoxicillin among its “preferred” antibiotics for UTIs, especially when the infecting organism is known to be susceptible.
Typical dosing for uncomplicated cystitis is 500 mg orally every 8 hours for 7‑10 days. The duration may be extended if a kidney infection (pyelonephritis) is present. Because amoxicillin is excreted in low concentrations in breast milk, it’s also compatible with breastfeeding.
If you have a penicillin allergy, you’ll need to discuss alternatives with your provider. In many cases, nitrofurantoin or fosfomycin can serve as effective substitutes without increasing risk to the baby.
Which UTI antibiotics are safe in the third trimester?
In the third trimester, most oral antibiotics remain safe, but nitrofurantoin is the exception near term. According to the NHS and ACOG, cephalexin, amoxicillin, and fosfomycin are considered low‑risk throughout the third trimester. Fosfomycin, a single‑dose therapy (3 g PO), is especially convenient for women who may have trouble adhering to a multi‑day regimen.
Trimethoprim‑sulfamethoxazole can be used after the first trimester if the infection is resistant to other agents, but clinicians often avoid it after 28 weeks due to potential bilirubin‑related complications in the newborn. Pivmecillinam, a penicillin‑derived agent used in some European countries, has a favorable safety profile but is not yet FDA‑approved in the United States.
When you’re approaching labor, many obstetricians prefer antibiotics that have a short half‑life and minimal placental transfer, such as cefazolin administered intravenously if a procedure (e.g., catheterization) is needed.
What are safe over‑the‑counter home remedies for UTIs in pregnancy?
While antibiotics clear the infection, several OTC and natural measures can ease symptoms and support urinary health. The CDC recommends increased fluid intake—aim for at least 8‑10 glasses of water daily—to flush bacteria from the bladder. Crancranberry extract capsules (e.g., Nature’s Bounty) contain standardized proanthocyanidins that may reduce bacterial adhesion, though evidence is modest.
D‑mannose powder (NOW Foods) works similarly by preventing E. coli from sticking to urinary tract walls. Lactobacillus probiotic tablets (Culturelle) help maintain a healthy vaginal flora, which can lower recurrence risk. Uva Ursi tea and a diluted apple cider vinegar drink are traditional remedies; when used in moderation, they are generally regarded as safe by the NHS, but they should not replace prescribed antibiotics.
Additionally, a warm sitz bath for 15‑20 minutes a few times a day can soothe pelvic discomfort. Avoid caffeine and alcohol, as they can irritate the bladder and increase the need to urinate.
What are the risks of untreated UTIs during pregnancy?
Untreated UTIs can progress to pyelonephritis, a kidney infection that carries a 25‑30 % risk of preterm labor, according to ACOG. Maternal complications include sepsis, hypertension, and, in severe cases, renal impairment. For the fetus, the primary concerns are low birth weight and, rarely, intrauterine growth restriction. Prompt treatment dramatically reduces these risks, making early antibiotic therapy the standard of care.
Even asymptomatic bacteriuria—bacteria in the urine without symptoms—warrants treatment because it doubles the chance of developing pyelonephritis later in pregnancy. Screening for bacteriuria is part of routine prenatal care in many countries, underscoring the importance of early detection.
How to choose a pregnancy‑safe UTI medication brand?
When selecting an antibiotic, the brand itself is less important than the active ingredient and its formulation. Look for reputable manufacturers that meet FDA or EMA standards—examples include generic nitrofurantoin from Teva, cephalexin from Sandoz, and amoxicillin from Pfizer. Verify that the product is labeled “pregnancy‑compatible” or “Category B” on the packaging. If you have any doubts, ask your pharmacist to confirm that the medication’s excipients (inactive ingredients) are also safe for pregnancy.
Some brands offer extended‑release formulations; while convenient, they can alter the drug’s peak concentration and may not be the first choice during pregnancy. Your provider will typically prescribe the standard immediate‑release version unless there’s a specific reason to use a different formulation.
Is trimethoprim‑sulfamethoxazole safe for pregnant women with UTIs?
Trimethoprim‑sulfamethoxazole (TMP‑SMX) is a useful antibiotic but carries trimester‑specific cautions. In the first trimester, NHS guidelines advise avoiding TMP‑SMX because of a small increased risk of neural‑tube defects. In the second and early third trimesters, it can be used if the pathogen is resistant to safer agents, but many clinicians prefer to reserve it for later in pregnancy (after 28 weeks) to minimize potential bilirubin‑related neonatal issues.
Always discuss any concerns with your obstetrician, who can weigh the benefits against the theoretical risks and may opt for a different drug if a safer alternative is available.
Keep your prescribed UTI antibiotics within easy reach, but store them out of reach of children.
Safety by trimester
First trimester
During the first 12 weeks, organogenesis makes the embryo particularly vulnerable to teratogens. Nitrofurantoin, cephalexin, and amoxicillin have extensive safety data showing no increase in major birth defects when taken at therapeutic doses. Trimethoprim‑sulfamethoxazole should be avoided unless no other options exist, as per NHS recommendations. If you’re diagnosed with a UTI, expect your provider to order a urine culture and start a safe antibiotic promptly.
Because the first trimester is also when many women experience nausea and vomiting, clinicians may choose an antibiotic that is less likely to exacerbate gastrointestinal upset, such as cephalexin, which is generally well tolerated.
Second trimester
The second trimester (weeks 13‑27) is a relatively low‑risk period for drug exposure. Nitrofurantoin, cephalexin, amoxicillin, and fosfomycin are all considered safe. Dosing remains the same as in non‑pregnant adults, but your provider may monitor kidney function because pregnancy can affect drug clearance. Home remedies such as increased water intake and probiotic supplementation can be used alongside antibiotics to reduce recurrence.
During this stage, the uterus expands enough to improve bladder emptying, which can lessen the frequency of UTIs, but hormonal changes still predispose you to infection. Regular prenatal urine screening at each visit helps catch any silent infections early.
Third trimester
In weeks 28‑40, the main caution is nitrofurantoin near term. ACOG advises stopping nitrofurantoin at ≥38 weeks to avoid neonatal hemolytic anemia, especially in infants with glucose‑6‑phosphate dehydrogenase (G6PD) deficiency. Cephalexin, amoxicillin, and fosfomycin continue to be safe. If you develop a UTI late in pregnancy, a single‑dose fosfomycin may be preferred for its convenience and minimal fetal exposure.
Because labor can be precipitated by infection, many obstetricians treat any UTI diagnosed after 34 weeks aggressively, sometimes opting for intravenous antibiotics during delivery to ensure complete eradication.
Breastfeeding
Most oral UTI antibiotics are excreted in low concentrations in breast milk and have not been associated with adverse infant outcomes. Nitrofurantoin, cephalexin, amoxicillin, and fosfomycin are all compatible with nursing. Trimethoprim‑sulfamethoxazole is also considered safe for short courses, but if your baby shows signs of jaundice or anemia, discuss this with your pediatrician.
When you’re breastfeeding, stay well‑hydrated and monitor your infant for any unusual fussiness or feeding changes, though such reactions are rare with these medications.
Impact of pregnancy‑related kidney changes on antibiotic dosing
Pregnancy increases renal blood flow and glomerular filtration rate (GFR) by up to 50 % beginning in the second trimester. This physiological change can lower the plasma concentration of renally cleared antibiotics such as nitrofurantoin and cefazolin, potentially reducing their efficacy if standard doses are used without monitoring. Your provider may order a serum creatinine test to ensure kidney function remains within normal limits and adjust the dose if needed.
For drugs that are primarily eliminated by the kidneys, clinicians often stick with the standard adult dosing but add a follow‑up urine culture to confirm that the infection has cleared, especially if you have a history of recurrent UTIs.
Preventing recurrent UTIs during pregnancy
Recurrence is common; about 20‑30 % of pregnant people experience more than one UTI. Strategies to lower the risk include drinking at least 2‑3 liters of water daily, urinating before and after sexual activity, and avoiding irritants like caffeine, spicy foods, and tight‑fitting clothing. Some obstetricians recommend a prophylactic low‑dose antibiotic (often nitrofurantoin 50 mg nightly) for women with a history of multiple infections, but this is decided on a case‑by‑case basis.
Probiotic supplementation with Lactobacillus rhamnosus GR‑1 and Lactobacillus reuteri RC‑14 has shown promise in reducing recurrence, and both strains are considered safe during pregnancy. Discuss any preventive plan with your provider to ensure it aligns with your overall prenatal care.
Hydration and cranberry extract can complement antibiotic therapy, but they don’t replace it.
Safe dosage / amount / brands
Nitrofurantoin: 50‑100 mg orally every 6 hours for 5‑7 days (adjust if renal function changes). Look for FDA‑approved generic brands such as Teva or Mylan.
Cephalexin: 250‑500 mg orally every 6 hours for 7‑10 days. Common brands include Keflex (generic) and Cephalexin‑K.
Amoxicillin: 500 mg orally every 8 hours for 7‑10 days. Widely available as generic Amoxil or from manufacturers like Pfizer.
Fosfomycin: Single dose of 3 g orally (one tablet) for uncomplicated cystitis. FDA‑approved product: Monurol.
Trimethoprim‑sulfamethoxazole: If used, 800 mg/160 mg (single strength) orally every 12 hours for 3‑5 days, but only after the first trimester and with provider approval.
When selecting a brand, verify that it is labeled “pregnancy‑compatible” and that inactive ingredients (e.g., dyes, preservatives) are safe. If you have a known allergy to penicillins, discuss alternative agents such as nitrofurantoin or fosfomycin with your provider.
Side effects and risks
Most UTI antibiotics are well tolerated, but side effects can occur:
Nitrofurantoin: Nausea, headache, and rare pulmonary reactions with long‑term use. Near term, watch for newborn jaundice or anemia.
Cephalexin: Diarrhea, rash, and occasional allergic reactions.
Amoxicillin: Gastrointestinal upset, possible yeast infection, and rare anaphylaxis.
Trimethoprim‑sulfamethoxazole: Rash, photosensitivity, and in late pregnancy a potential increase in neonatal bilirubin.
If you experience severe rash, difficulty breathing, persistent vomiting, high fever (>38.5 °C), or signs of a urinary blockage (painful urination with no urine output), seek medical attention immediately. These symptoms may signal an allergic reaction or a progressing infection that needs urgent care.
Safer alternatives
Cranberry Extract Capsules (Nature's Bounty) – may reduce bacterial adhesion without harming the fetus.
D‑Mannose Powder (NOW Foods) – helps prevent E. coli from sticking to urinary tract walls.
Uva Ursi tea – traditional herb with mild antiseptic properties, safe in moderation.
Apple Cider Vinegar drink – a diluted daily tonic that can acidify urine and discourage bacterial growth.
Increased water intake – the simplest, safest way to flush bacteria from the urinary system.
Related items — safety at a glance
Antibiotic
Verdict
One‑line note
Nitrofurantoin
⚠️ Safe with limits
Avoid after 38 weeks due to newborn hemolysis risk.
Trimethoprim‑sulfamethoxazole
⚠️ Safe with limits
Avoid first trimester; use cautiously after 28 weeks.
Cephalexin
✅ Generally safe
Low‑risk across all trimesters.
Amoxicillin
✅ Generally safe
Category B, compatible with breastfeeding.
Fosfomycin
✅ Generally safe
Single‑dose option, minimal fetal exposure.
Pivmecillinam
✅ Generally safe (Europe)
Not FDA‑approved in the U.S. but used safely abroad.
Myth vs. fact
Myth: All antibiotics are unsafe during pregnancy.
Fact: Many antibiotics, including nitrofurantoin, cephalexin, and amoxicillin, have strong safety data and are routinely prescribed for UTIs in pregnant patients.
Myth: Home remedies can replace prescription antibiotics for UTIs.
Fact: While increased hydration and cranberry extract may help symptoms, they do not eradicate the infection; untreated UTIs can lead to serious complications.
Myth: If a UTI feels mild, it can be ignored until after delivery.
Fact: Even asymptomatic bacteriuria should be treated during pregnancy to prevent progression to pyelonephritis and associated maternal‑fetal risks.
Key takeaways
Most oral antibiotics for UTIs—nitrofurantoin, cephalexin, amoxicillin, fosfomycin—are safe when prescribed at the correct dose.
Trimethoprim‑sulfamethoxazole should be avoided in the first trimester and used cautiously later.
Stop nitrofurantoin at ≥38 weeks to protect the newborn from hemolytic anemia.
Hydration, cranberry extract, and D‑mannose support treatment but do not replace antibiotics.
Contact your provider promptly if you develop fever, severe flank pain, or any signs of an allergic reaction.
Frequently asked questions
Can I take nitrofurantoin while pregnant?
Yes, nitrofurantoin is considered safe for most of pregnancy, but you should stop it at 38 weeks gestation to avoid potential newborn hemolysis, per ACOG guidelines.
What antibiotics are safe for UTIs during pregnancy?
Safe options include nitrofurantoin (except near term), cephalexin, amoxicillin, and fosfomycin; trimethoprim‑sulfamethoxazole is used only after the first trimester when necessary.
How long should I take antibiotics for a UTI in pregnancy?
Typical courses range from 5 days for nitrofurantoin or fosfomycin (single dose) to 7‑10 days for cephalexin or amoxicillin, depending on the infection’s severity and the drug chosen.
Are home remedies effective for UTIs in pregnant women?
Home remedies like increased water intake, cranberry extract, and D‑mannose can ease symptoms and reduce recurrence, but they do not replace antibiotics for clearing an active infection.
What are the side effects of UTI antibiotics for pregnant women?
Common side effects include nausea, diarrhea, and mild rash; serious reactions such as anaphylaxis or neonatal jaundice (with nitrofurantoin near term) require immediate medical attention.
Is it safe to use cranberry juice to treat a UTI while pregnant?
Cranberry juice is generally safe and may help prevent bacteria from adhering to the urinary tract, but it should be used alongside, not instead of, prescribed antibiotics.
Can untreated UTIs harm the baby?
Yes, untreated UTIs can lead to pyelonephritis, increasing the risk of preterm labor, low birth weight, and maternal sepsis, making prompt treatment essential.
When is it safe to use trimethoprim during pregnancy?
Trimethoprim‑sulfamethoxazole can be used after the first trimester if no safer alternatives are available, but clinicians often avoid it after 28 weeks due to potential bilirubin issues in the newborn.
Can I use ibuprofen for UTI pain while pregnant?
Ibuprofen is generally avoided after 20 weeks gestation because it can affect fetal kidney development and reduce amniotic fluid; acetaminophen is the preferred over‑the‑counter pain reliever during pregnancy.
Are heating pads safe for UTI discomfort during pregnancy?
A warm (not hot) heating pad applied to the lower abdomen for short periods can soothe pelvic pain, but avoid high temperatures that could raise core body temperature, which is not recommended in pregnancy.
When to call your doctor
If you experience any of the following, seek medical care right away:
Fever ≥ 38.5 °C (101.3 °F) or chills.
Severe flank or back pain that doesn’t improve with pain relievers.
Persistent burning or inability to urinate.
Rash, hives, swelling of the face or throat, or difficulty breathing (signs of an allergic reaction).
Newborn jaundice or signs of anemia if you’ve taken nitrofurantoin near term.
These symptoms may indicate a progressing infection or drug reaction that needs urgent attention. This article provides general information and is not a substitute for personalized medical advice. Always discuss any concerns or treatment choices with your obstetric provider.
References
American College of Obstetricians and Gynecologists. “Urinary Tract Infections in Pregnancy.” ACOG Practice Bulletin No. 193, 2023.
National Health Service (NHS). “Urinary Tract Infection (UTI) in Pregnancy.” Updated 2022.
U.S. Food and Drug Administration (FDA). “Drug Safety Communication: Nitrofurantoin Use in Late Pregnancy.” 2021.
Centers for Disease Control and Prevention (CDC). “Antimicrobial Prescribing for Urinary Tract Infections.” 2022.
World Health Organization (WHO). “Guidelines for the Management of Urinary Tract Infections.” 2020.
Mayo Clinic. “UTI treatment: Antibiotics and Home Care.” Accessed July 2026.
National Institute for Health and Care Excellence (NICE). “UTI in Pregnancy: Diagnosis and Management.” 2021.
When Shubhra Mishra was expecting her first child in 2016, she was overwhelmed by conflicting food advice — one site said yes, another said never. By the time her second baby arrived in 2019, she realized millions of mothers face the same confusion.
That sparked a five-year journey through clinical nutrition papers, cultural diets, and expert conversations — all leading to BumpBites: a calm, compassionate space where science meets everyday motherhood.
Her long-term vision is to build a global community ensuring safe, supported, and free deliveriesfor every mother — because no woman should face pregnancy alone or uninformed. 🌿
🌍 Stand with mothers, shape safer guidance
Join a small circle of experts who review BumpBites articles so expecting parents everywhere can decide with confidence.