UTI in Pregnancy: Which Antibiotics Are Safe in Each Trimester, Why Silent Bacteria Are Treated and When to Worry

🤰 A urinary tract infection is one of the most common infections of pregnancy, and it behaves differently from the cystitis a woman may know from before. In pregnancy, bacteria in the bladder are more likely to climb to the kidneys, and they can do it without causing any symptoms first. That is why every pregnant woman is offered a urine culture early on, why a positive result is treated even when she feels fine, and why the choice of antibiotic depends on the stage of pregnancy. 🔍 This guide covers silent bacteriuria, the antibiotics used in each trimester and those usually avoided, how long treatment lasts, and the signs of a kidney infection that needs care the same day.
🤰 Why pregnancy changes the urinary tract
🧬 From the first weeks, the hormone progesterone relaxes smooth muscle all over the body, including the walls of the ureters, the two tubes that carry urine from the kidneys to the bladder. Relaxed, wider ureters move urine more slowly, and slow urine gives bacteria time to multiply. Later, the growing uterus presses on the ureters at the edge of the pelvis, more often on the right side because of the way the uterus rotates.
💧 Other changes add to the effect. The kidneys filter more blood, urine can contain a little more sugar and amino acids that bacteria feed on, and the bladder does not always empty completely when the baby sits on it. 📖 For a general picture of how urinary infections start and how they are treated outside pregnancy, see what urinary tract infections are and how they are treated.
🦠 How bacteria climb from the bladder to the kidney
🔬 Most urinary infections in pregnancy are caused by E. coli from the bowel, with Klebsiella, Proteus, Enterococcus and Group B streptococcus behind it. The route is the same as in any woman, but in pregnancy the slow, dilated ureters make the climb from bladder to kidney much easier. The infection that would have stayed a short bout of cystitis can become a kidney infection within a few days.
🔇 Asymptomatic bacteriuria: the infection you cannot feel
🧪 Asymptomatic bacteriuria means a significant number of bacteria in a properly collected urine sample, with no burning, urgency or pain. Outside pregnancy, doctors usually leave it alone, because it rarely causes harm. In pregnancy it is treated, because a large share of women with untreated bacteriuria go on to develop a kidney infection. Older studies found this in up to about one in three untreated women, while treatment cut the risk sharply.
🧫 The urine culture at the first visit
📋 Guidelines in most countries advise one urine culture for every pregnant woman at the first antenatal visit or around 12 to 16 weeks. A culture, not just a dipstick, is the test that counts, because dipsticks miss many cases of silent bacteriuria. The lab also tests which antibiotics the germ is sensitive to.
📅 Urine checks through the trimesters
🔍 Normal pregnancy bladder or an infection?
🚻 Pregnant women pass urine more often almost from the start, wake at night to go, and may leak a little when they cough late in pregnancy. Frequency on its own is normal; frequency with burning, pain, blood or a new smell is not.
🩺 Three kinds of urinary infection in pregnancy
📋 Doctors separate urinary infections in pregnancy into three levels, and the level decides whether treatment happens at home with tablets or in hospital. The same germ can move from one level to the next if it is not treated.
⚠️ Kidney infection in pregnancy and what it means for the baby
🔥 Pyelonephritis affects around 1 to 2 in 100 pregnancies, most often in the second and third trimesters, and more often on the right side. It is one of the leading non-obstetric reasons for a pregnant woman to be admitted to hospital. Bacteria in the kidney can enter the blood. Complications include sepsis, anaemia, breathing problems from fluid in the lungs, kidney damage and contractions that lead to early labour.
🧭 How a kidney infection is usually managed:
🔹 Admission for intravenous fluids and antibiotics, often a cephalosporin such as ceftriaxone, with blood and urine cultures first.
🔹 Monitoring of the mother for fever, breathing and blood pressure, and of the baby for heart rate and contractions.
🔹 Switch to tablets chosen by the culture result once the fever has gone for about 24 to 48 hours, to complete a course of 10 to 14 days.
🔹 Then, in many cases, a low nightly dose of antibiotic for the rest of the pregnancy, because the risk of another episode is high.
👶 For the baby, the main risk comes from the illness of the mother rather than from the bacteria directly. High fever and inflammation can trigger contractions, which is why untreated urinary infection has been linked with preterm birth and low birth weight. Treating silent bacteriuria early is one of the simplest steps that lowers this risk. 📖 Outside pregnancy, kidney infection is covered in pyelonephritis: causes and treatment.
💊 Which antibiotics are used in pregnancy
🧪 The ideal antibiotic in pregnancy kills the usual urinary germs, reaches high levels in urine, has decades of use in pregnant women and does not harm the baby. Penicillins and cephalosporins fit this best and are the backbone of treatment in all three trimesters. Nitrofurantoin and fosfomycin are good choices for bladder infections. The final choice should follow the culture result and local resistance patterns, and always the advice of the doctor or midwife who knows the pregnancy.
🧬 Cephalosporins: cefadroxil, cephalexin and relatives
💊 Cephalosporins work by breaking the cell wall of bacteria, a target human cells do not have. They have been used in pregnant women for decades without a pattern of harm to the baby, and they work in the bladder and the kidney, so they suit both cystitis and the tablet phase after a kidney infection. Cefadroxil, sold as Duricef (Cefadroxil), stays in the body longer than cephalexin, so it is taken twice a day, which many women with morning sickness find easier. A common adult dose for a urinary infection is 500 mg to 1 g twice daily; cephalexin, as Keflex (Cephalexin), is often given as 500 mg two to four times a day.
🧪 Newer oral cephalosporins cover more resistant gram-negative germs and are useful when the culture shows that first-generation drugs will not work. Cefuroxime, cefpodoxime and cefixime are the usual second-line tablets, available as Ceftin (Cefuroxime), Vantin (Cefpodoxime) and Suprax (Cefixime).
| 💊 Cephalosporin | 📋 Usual adult pattern | 📝 Note |
|---|---|---|
| Cefadroxil | 500 mg to 1 g twice daily | Twice a day, easy to remember |
| Cephalexin | 500 mg two to four times daily | Most pregnancy data |
| Cefuroxime | 250 mg twice daily, with food | Second generation, wider cover |
| Cefpodoxime | 100 mg twice daily | Third generation, with food |
| Cefixime | 400 mg once daily | Third generation, once a day |
💊 Nitrofurantoin: good for the bladder, with timing limits
💧 Nitrofurantoin concentrates in the urine and barely reaches the blood or the kidney tissue. That makes it a good bladder antibiotic and a poor choice for a kidney infection. The usual adult dose of the modified-release form, sold as Macrobid (Nitrofurantoin), is 100 mg twice daily with food for 5 to 7 days in pregnancy.
⏳ There are two timing limits. In the first trimester, some studies raised questions about birth defects, and while the evidence is weak, many guidelines prefer a cephalosporin or penicillin when one is suitable and keep nitrofurantoin for when it is the best fit. Close to the due date, usually from about 36 to 38 weeks and in labour, nitrofurantoin is avoided because of a small risk of breaking down red blood cells in the newborn, especially in babies with G6PD deficiency. It should also not be used when kidney function is clearly reduced.
💊 Amoxicillin and amoxicillin-clavulanate: only when the culture fits
🧪 Amoxicillin is among the safest antibiotics in pregnancy, but many urinary E. coli strains now resist plain amoxicillin, so it is used mainly when the culture shows the germ is sensitive, or for Group B streptococcus and Enterococcus. Adding clavulanate restores activity against many resistant strains. Options include Amoxil (Amoxicillin) and Augmentin (Amoxicillin + Clavulanate). Common adult doses for a urinary infection are amoxicillin 500 mg three times daily or amoxicillin-clavulanate 500/125 mg three times daily or 875/125 mg twice daily, taken with food to reduce nausea.
Very long safety record in pregnancy
Plain amoxicillin often fails against E. coli
When the lab confirms sensitivity
🚫 Antibiotics usually avoided in pregnancy
⛔ Several antibiotics that work well for urinary infections outside pregnancy are avoided or restricted, either because of known effects on the baby or because safer options exist. A tablet left over from an earlier infection, or one that worked for a friend, is not a safe choice in pregnancy.
| 🚫 Antibiotic | 📝 Why it is avoided or restricted |
|---|---|
| Ciprofloxacin, levofloxacin, ofloxacin | Fluoroquinolones; concerns from animal studies about cartilage, and safer options exist |
| Doxycycline, tetracycline, minocycline | Can stain the teeth and affect bone growth of the baby |
| Trimethoprim, sulfamethoxazole-trimethoprim | Folate antagonist in the first trimester; risk of jaundice in the newborn near term |
| Nitrofurantoin near term | Risk of red cell breakdown in the newborn |
| Aminoglycoside tablets or long IV courses | Risk to the hearing of the baby; used only in hospital when needed |
🗓️ Trimester by trimester: what usually fits
| 🤰 Stage | ✅ Usual first choices | ⚠️ Use with care or avoid |
|---|---|---|
| First trimester (to 13 weeks) | Cephalexin, cefadroxil, amoxicillin-clavulanate, fosfomycin | Nitrofurantoin only if best fit; avoid trimethoprim |
| Second trimester (14 to 27 weeks) | Cephalosporins, nitrofurantoin, amoxicillin-clavulanate, fosfomycin | Trimethoprim combinations only on specialist advice |
| Third trimester to 36 weeks | Cephalosporins, nitrofurantoin, amoxicillin-clavulanate | Avoid sulfonamides as term approaches |
| From about 36 weeks and in labour | Cephalosporins, amoxicillin-clavulanate | Avoid nitrofurantoin and sulfonamides |
⏱️ How long treatment lasts
📆 Outside pregnancy, a bladder infection is often treated with three to five days of tablets. In pregnancy, most guidelines use 5 to 7 days for silent bacteriuria and cystitis, with a single 3 g dose of fosfomycin as an alternative in some countries. A kidney infection needs 10 to 14 days in total. Stopping early is a common reason the infection comes back.
Urine culture sent, tablets started
Burning eases; culture result may change the drug
Course finished, even if well
Test of cure culture
🔁 Test of cure: why the urine is checked again
🧪 In pregnancy, an infection that seems gone may still leave bacteria in the bladder. A repeat culture one to two weeks after the course ends shows whether the treatment really worked. If bacteria are still there, a second course with a different drug, matched to the new culture, is usually given. After one treated episode, many clinics keep checking the urine once a trimester or more often until the birth, because recurrence is common in pregnancy.
🛡️ When infections keep coming back: low-dose prevention
🔒 For women who have two or more bladder infections in one pregnancy, persistent bacteriuria despite treatment, or one kidney infection, doctors often suggest a small dose of antibiotic every night until the birth. Typical choices are cephalexin 250 to 500 mg or nitrofurantoin 50 to 100 mg at bedtime, with nitrofurantoin stopped near term. Women whose infections follow sex may take a single dose after intercourse instead. The urine is still cultured at intervals. 📖 Prevention outside pregnancy, including after menopause, is covered in prophylaxis of cystitis that fits real life.
🦠 Group B streptococcus found in the urine
👶 Group B streptococcus is a common bacterium of the bowel and vagina that is harmless to most adults but can cause serious infection in a newborn. If it is found in the urine at any time in pregnancy, even in small numbers, the woman is treated as a carrier and is offered intravenous antibiotics during labour. A urinary infection with Group B strep is treated at the time, usually with a penicillin. Make sure the birth team knows about the result.
🤧 Penicillin allergy and other special cases
🍄 Side effects and the thrush problem
💊 Penicillins and cephalosporins are usually well tolerated. The most common problems are nausea, loose stools and vaginal thrush, which is already more frequent in pregnancy because of higher oestrogen. Taking tablets with food helps with nausea. A rash, swelling of the face or breathing trouble means stopping the drug and getting help at once. Repeated watery diarrhoea with cramps or blood should be reported.
🌿 Itching, soreness and a thick white discharge after a course of antibiotics usually point to thrush. In pregnancy, vaginal creams or pessaries are preferred over oral antifungal tablets. 📖 See vaginal candidiasis: a common, often misunderstood condition.
✅ Everyday habits that help, and what home remedies can do
🍒 Cranberry juice and capsules are safe as food in pregnancy, but the evidence that they prevent infection is mixed and they do not treat one. D-mannose has hardly been studied in pregnant women, and herbal bladder teas may contain plants not advised in pregnancy.
🍼 After the birth: postpartum infection and breastfeeding
🏥 The weeks after birth bring their own risks: a urinary catheter during a caesarean or epidural, swelling and numbness that make the bladder empty poorly, and stitches that make women hold urine because it stings. Fever after the birth always needs a doctor, because it can come from the kidney, the womb, the breast or a wound.
🤱 Most antibiotics used for urinary infections are compatible with breastfeeding. Cephalosporins and amoxicillin pass into milk in small amounts and may at most cause loose stools or thrush in the baby. Nitrofurantoin is usually acceptable, but is avoided while feeding a baby in the first month of life or one with G6PD deficiency.
🗿 Myths about UTIs in pregnancy
🌳 Where to go with which symptom
🚨 When to see a doctor
⛔ Get same-day care if you are pregnant and have:
🔹 A temperature of 38 °C or higher, shivering or chills.
🔹 Pain in the side, back or under the ribs, with or without fever.
🔹 Nausea or vomiting that stops you keeping fluids or tablets down.
🔹 Tightenings or contractions, bleeding, leaking fluid or fewer movements of the baby.
🔹 No improvement after 48 hours of antibiotics, or symptoms that return after the course.
🔹 Feeling faint, confused or breathless. In that case call emergency services.
❓ Frequently asked questions
Why are UTIs more dangerous in pregnancy?
Pregnancy hormones and the growing uterus slow the flow of urine, so bacteria in the bladder reach the kidneys more easily. A kidney infection can lead to sepsis and early labour.
What is asymptomatic bacteriuria?
It means bacteria in a urine culture without any symptoms. In pregnancy it is treated, because untreated cases often progress to a kidney infection.
Which antibiotics are safe for a UTI in pregnancy?
Cephalosporins such as cephalexin and cefadroxil, penicillins such as amoxicillin-clavulanate, and fosfomycin are used in all trimesters. Nitrofurantoin is used with limits early and near term.
Is cefadroxil safe during pregnancy?
Cefadroxil is a cephalosporin, a group with a long record of use in pregnancy. It is used when prescribed by a doctor who knows the pregnancy and the culture result.
Can I take nitrofurantoin in the third trimester?
Yes until about 36 to 38 weeks. Close to the due date and in labour it is avoided because of a small risk of red cell breakdown in the newborn.
Why is ciprofloxacin not used in pregnancy?
Fluoroquinolones raised concerns about cartilage development in animal studies, and safer antibiotics work well, so they are generally avoided.
How long is a UTI treated in pregnancy?
Usually 5 to 7 days for silent bacteriuria or cystitis, or a single dose of fosfomycin, and 10 to 14 days for a kidney infection.
Why do I need another urine test after treatment?
A test of cure culture one to two weeks after the course shows whether bacteria are really gone. Persistent bacteria need a second course.
Can a UTI cause preterm labour?
A kidney infection with fever can trigger contractions. Treating bacteria early and getting fast care for fever lowers this risk.
Does cranberry juice prevent UTIs in pregnancy?
It is safe as a drink, but the evidence for prevention is mixed and it does not treat an infection. Bacteria in pregnancy need an antibiotic.
📑 Sources and editorial
- 📘 Obstetric guidelines on screening and treatment of asymptomatic bacteriuria in pregnancy
- 🧪 Clinical guidance on urinary tract infection and pyelonephritis in pregnant women
- 💊 Prescribing information for cefadroxil, cephalexin, nitrofurantoin and amoxicillin-clavulanate
- 👶 Reviews of antibiotic safety in pregnancy and breastfeeding
- 🦠 Guidance on Group B streptococcus in pregnancy and intrapartum antibiotics
- 📊 Systematic reviews of antibiotic treatment for bacteriuria and its effect on kidney infection and preterm birth
- 📖 Related reading: urinary tract infections and treatment, pyelonephritis, prophylaxis of cystitis, vaginal candidiasis, kidney stones
- 🛒 Related products: Duricef (Cefadroxil), Keflex (Cephalexin), Macrobid (Nitrofurantoin), Augmentin (Amoxicillin + Clavulanate), Amoxil (Amoxicillin), Ceftin (Cefuroxime), Vantin (Cefpodoxime), Suprax (Cefixime)
- 🩺 RXshop Editorial Team — reviewed by Anita Sharma, MD — Obstetrician and Gynecologist
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.