What Antibiotics Treat UTI During Pregnancy
A urinary tract infection (UTI) during pregnancy is treated with antibiotics that kill the bacteria and are considered safe for the developing baby. Penicillins, cephalosporins, and nitrofurantoin are the families doctors reach for first, while some other antibiotics are avoided. The exact choice depends on your allergy history, how far along you are, and which bacteria is causing the infection.
- A UTI in pregnancy is treated with antibiotics rather than watched, because untreated infection can spread to the kidneys.
- Penicillins, cephalosporins, and nitrofurantoin are the antibiotics used first for a bladder infection in pregnancy.
- Some antibiotics are avoided at certain stages of pregnancy, so tell your clinician how many weeks pregnant you are.
- A urine culture tells the clinician which bacteria is present and which antibiotic will kill it.
- Never start a leftover antibiotic or stop a prescribed course early without talking to your clinician.
Why a UTI in pregnancy needs treatment
A urinary tract infection in pregnancy means bacteria have settled in the bladder or, in some cases, the kidneys. Pregnancy changes the flow of urine and relaxes the tubes that carry it, so bacteria are more likely to travel upward. Leaving the infection untreated raises the risk of a kidney infection, which is a more serious illness for the pregnant person.
A kidney infection during pregnancy can bring fever, back pain, and vomiting, and it can trigger early contractions. Treating a bladder infection promptly lowers that risk. A urine test is the only way to confirm a UTI, because pregnancy itself can cause pressure and frequency that feel like infection.
A pregnant person with burning, urgency, cloudy urine, or pelvic pressure should be tested rather than waiting. Fever, chills, or flank pain suggests the infection may have reached the kidney and needs urgent attention. Antibiotic treatment is the standard approach in both cases, with the setting depending on how ill the person is.
Antibiotics used first for UTI in pregnancy
Penicillins are a group of antibiotics that includes amoxicillin and amoxicillin-clavulanate, and they are used for UTI in pregnancy when the bacteria is susceptible. Cephalosporins are a related group, and options such as cephalexin are used for bladder infections. These drugs have a long record of use in pregnancy and are adjusted to the person's allergies.
Nitrofurantoin is an antibiotic that concentrates in the bladder, which suits a bladder infection rather than a kidney infection. Clinicians use it for UTI treatment in pregnancy with attention to timing, because it is generally avoided near the end of pregnancy. Fosfomycin is another single-dose option that some clinicians use for uncomplicated bladder infection in pregnancy.
Guidance on which antibiotic comes first varies between health systems, and the culture result guides the final choice. A clinician may switch drugs if the first one does not clear symptoms or if the bacteria resists it. Penicillin allergy does not mean no option exists, because cephalosporins and other families can be considered.
| Antibiotic family | Typical use in pregnancy | Points to know |
|---|---|---|
| Penicillins | Bladder infection when bacteria is susceptible | Check for penicillin allergy |
| Cephalosporins | Bladder infection, alternative for mild penicillin allergy | Choice depends on allergy history |
| Nitrofurantoin | Bladder infection | Generally avoided near the end of pregnancy |
| Fosfomycin | Uncomplicated bladder infection | Given as a single dose under clinician direction |
Antibiotics avoided during pregnancy
Fluoroquinolones, such as ciprofloxacin, are generally avoided in pregnancy because of concern about effects on developing cartilage and joints. Tetracyclines, such as doxycycline, are avoided because they can affect the baby's teeth and bones. These drugs may still be used if no other option will treat a resistant bacteria, and that decision belongs to a specialist.
Trimethoprim-sulfamethoxazole is avoided in the first trimester because it interferes with folate, a vitamin important in early development. It is also used with caution near the end of pregnancy. A clinician weighs the stage of pregnancy and the culture result before choosing it.
A pregnant person should not assume an antibiotic from a past prescription is still appropriate. Some drugs that are fine outside pregnancy are not the ones chosen during pregnancy. The safest path is to let the clinician match the antibiotic to the bacteria and to the stage of pregnancy.
How the right antibiotic is chosen
A urine culture is the test that identifies the bacteria causing a UTI and shows which antibiotics will kill it. A urine dipstick or analysis can suggest infection, but culture gives the answer that guides treatment. The clinician combines that result with the person's allergies and the stage of pregnancy.
Pregnancy is measured in trimesters, and some antibiotics are avoided only in a specific trimester. Telling the clinician the number of weeks pregnant helps avoid a drug that is not advised at that stage. Kidney function also matters for some drugs, and a clinician may check it before prescribing.
A prior allergic reaction to an antibiotic should be described in detail, including what happened. A rash differs from swelling or trouble breathing, and the clinician uses that history to pick a safe alternative. A trained clinician or pharmacist makes the final selection rather than the patient choosing among antibiotic names.
What treatment looks like day to day
A pregnant person with a bladder infection can often take an oral antibiotic at home and follow up with the prenatal clinician. A kidney infection with fever or vomiting may need intravenous antibiotics and observation in a clinic or hospital. The setting depends on how ill the person is and whether vomiting prevents keeping pills down.
Drinking enough water helps flush the bladder and eases burning, and urinating when the urge comes is better than holding it. A follow-up urine culture after treatment confirms the bacteria is gone, which matters because pregnancy raises the chance of recurrence. Symptoms that worsen or return should prompt a call to the clinician.
Pregnant people should not take leftover antibiotics or borrow someone else's course. The dose and duration are set for the specific infection, and an incomplete course can allow bacteria to survive. Any side effect such as rash, severe diarrhea, or vaginal itching should be reported to the clinician.
Urine testing after treatment
A test-of-cure urine culture checks that the infection has cleared after antibiotic treatment. Clinicians may also screen the urine at prenatal visits even without symptoms, because bacteria in the urine without symptoms can still matter in pregnancy. Asymptomatic bacteriuria means bacteria are present without the usual burning or urgency.
Finding bacteria without symptoms does not always mean a full bladder infection, but in pregnancy it is treated when confirmed. Treating it lowers the chance of a later kidney infection. The schedule for repeat testing is set by the prenatal clinician based on the person's history.
A recurrent UTI may lead the clinician to consider a different antibiotic or a longer course. Recurrence does not mean the first treatment failed, because new bacteria can enter the bladder. Follow-up testing and clinician guidance decide the next step.
Preventing another UTI while pregnant
Drinking fluids through the day and urinating when needed helps keep bacteria from settling in the bladder. Wiping from front to back after using the toilet lowers the chance of bacteria moving toward the urinary opening. Emptying the bladder after sex may also help some people.
Constipation can put pressure on the bladder and make it harder to empty fully, so treating it supports urinary health. Loose cotton underwear and avoiding scented products in the genital area reduce irritation. These steps support, but do not replace, antibiotic treatment when an infection is present.
A pregnant person with repeated infections should tell the prenatal clinician rather than self-treating. Prevention measures are not a substitute for testing when symptoms appear. Any new burning, urgency, or flank pain during pregnancy warrants a urine test.
Questions about antibiotics for UTI in pregnancy
What antibiotics are safe for a UTI in pregnancy?
Penicillins, cephalosporins, and nitrofurantoin are the antibiotics typically considered safe for a UTI in pregnancy when used at the right stage. Fluoroquinolones and tetracyclines are generally avoided. The clinician confirms the choice with a urine culture and the person's allergy history.
What antibiotic is good for a UTI while pregnant?
A good antibiotic for a UTI while pregnant is one that the urine culture shows will kill the bacteria and that is advised for the current stage of pregnancy. Cephalexin, amoxicillin, and nitrofurantoin are examples. A clinician or pharmacist makes the final selection rather than the patient picking a drug.
What antibiotic is given for a UTI in pregnancy by a clinician?
A clinician treating a UTI in pregnancy orders an oral antibiotic such as a penicillin, cephalosporin, or nitrofurantoin for a bladder infection. For a kidney infection with fever, intravenous antibiotics may be used in a clinic or hospital. The drug and route depend on the culture result and how ill the person is.
Can nitrofurantoin be used for a UTI in pregnancy?
Nitrofurantoin can be used for a bladder infection in pregnancy, but clinicians generally avoid it near the end of pregnancy. Its use is limited to infections that the culture shows it will treat, and it is not the choice for a kidney infection. The clinician weighs the timing of pregnancy before prescribing it.
What happens if a UTI in pregnancy is not treated?
An untreated UTI in pregnancy can spread to the kidney and cause a more serious infection with fever and back pain. A kidney infection can trigger early contractions and make the pregnant person quite ill. Testing and antibiotic treatment lower that risk and are the reason symptoms should not be ignored.
Can a pregnant person take leftover antibiotics for a UTI?
A pregnant person should not take leftover antibiotics for a UTI, because the drug may not match the bacteria or be advised at that stage of pregnancy. The dose and duration are set for the specific infection. A clinician should test the urine and choose the treatment.
Read next
-
List of Urinary Tract Infection Symptoms
-
Pain at the End of Urination: Home Remedies and What to Do
-
What Can Cause Burning Urination in Women
-
What Can Cause Bladder Pain
-
Causes of Bladder Pain in Men
-
What a 5 panel drug test means
-
Urinary Symptoms and Pain in Menopause
-
Urgent Care 12 Panel Drug Test
-
Urinary Tract Infection Symptoms and Types
-
Burning Pee in Kids: Causes and Sensation
Urinary symptoms
-
Urinary Tract Infection Treatment in Men
-
Urinary Tract Infection Treatment Duration and Management
-
What Alcohol Shows Up as on a 12 Panel Drug Test
-
Urinary Tract Infection Treatment for Puppies
-
12 Panel Hair Follicle Drug Test Detection
-
Best At-Home 5 Panel Drug Test and How to Pass It
-
Antibiotics for Bladder Infection in Men
-
What Can Cause Bladder Problems in Men
-
What Is a DOT 5 Panel Drug Test
-
CareNow Urgent Care Drug Test Results