Pregnancy

Antibiotics in Pregnancy: How Clinicians Choose

Save

Antibiotics are frequently appropriate in pregnancy, because an untreated infection often carries more risk than a carefully chosen medicine. Clinicians favor classes with long track records, such as penicillins and cephalosporins, and avoid a smaller set tied to fetal concerns. The right choice depends on the infection, trimester, and allergies.

Last updated: July 2026

Talk to a clinician

A primary-care clinician

Gale can help you find one in your state and request a visit.

Find care →

Are antibiotics safe to take while pregnant?

Antibiotics are frequently appropriate during pregnancy, and for many infections the larger risk is leaving the infection untreated 1. A urinary tract infection, for instance, can climb to the kidneys or contribute to preterm labor if ignored, so guidelines favor prompt treatment over watchful waiting 1. When the right drug is started, many bacterial infections begin easing within about 24 to 48 hours.

Clinicians think in classes rather than single brand names. Some families of antibiotics carry decades of reassuring pregnancy use, while a smaller number are set aside for specific trimesters or infections. Reviewing medication safety during pregnancy alongside your clinician turns a scary yes-or-no question into a more precise match of drug to problem, which is what prepregnancy guidance recommends 4.

Which antibiotics are the usual go-to choices?

Penicillins, including amoxicillin, and cephalosporins are longtime standbys clinicians reach for across pregnancy 1. Their track record is long enough that penicillin is the standard drug given during labor to protect newborns from group B strep, which colonizes about 1 in 4 pregnant people 2. According to the American College of Obstetricians and Gynecologists, giving that antibiotic during labor sharply lowers the newborn's risk 2.

Erythromycin and azithromycin serve as alternatives for certain infections and for penicillin allergies. A reported penicillin allergy is worth revisiting, since many people who believe they are allergic turn out not to be, which can needlessly push care toward second-choice drugs. Questions such as whether antibiotics affect birth control or mix with alcohol surface later, once pregnancy is behind you, but the same class-based thinking applies.

Which antibiotics do clinicians usually swap out?

A smaller set of antibiotics gets substituted during pregnancy because of specific fetal or timing concerns 1. Tetracyclines, for example, can affect developing teeth and bone and are generally avoided after the first several weeks, and a few other classes carry cautions tied to particular trimesters rather than a blanket ban.

This is why self-treating with a leftover prescription is discouraged: the antibiotic that suited a past infection may not suit this one or this trimester, and a partial course can leave an infection undertreated. A clinician weighs the infection's severity, the drug's pregnancy data, and your allergy history together. According to obstetric guidance, treating a genuine bacterial infection generally outweighs the theoretical risk of a well-chosen antibiotic 1.

Does the trimester or breastfeeding shift the choice?

The trimester shapes antibiotic selection, since a medicine sidestepped during the first 12 weeks may be reasonable later, and a few are limited only near delivery 1. Organ formation in early pregnancy and the newborn's readiness at birth are the two windows clinicians watch most closely.

Beyond pregnancy, most first-line antibiotics are also considered compatible with breastfeeding, though the assessment is made drug by drug 3. A pregnant adolescent faces the same class-based logic with attention to her own development, and older adults metabolize some drugs differently again. Because a sinus infection may or may not need antibiotics at all, confirming that an infection is truly bacterial comes before choosing which drug fits your stage.

When an infection in pregnancy needs a clinician

An infection in pregnancy that brings fever, back or flank pain, burning with urination, or spreading redness is a reason to seek clinician review rather than a wait-and-see approach 1. Trouble breathing, a stiff neck, or reduced fetal movement raise the urgency further and warrant same-day or emergency care.

Because the right antibiotic depends on details a label cannot capture, a prescriber matches the drug to the infection, the trimester, and your allergies. According to prenatal guidance, confirming and treating an infection early is safer than waiting it out 1. Gale can help you gather your symptoms and medication history before that visit.

Common questions

Amoxicillin belongs to the penicillin family, one of the longtime standbys clinicians reach for across pregnancy because of its long track record. As with any medicine, the choice depends on the specific infection, your trimester, and your allergy history, so the prescribing clinician makes the final call for your situation.

A smaller set is usually substituted, including tetracyclines, which can affect developing teeth and bone. A few other classes carry cautions tied to specific trimesters. Rather than memorizing a list, the safest approach is letting a prescriber match the drug to your infection and stage.

Self-treating with a leftover prescription is discouraged. The antibiotic that suited a past infection may not fit this one or this trimester, and taking a partial course can leave an infection undertreated. A clinician can confirm whether an antibiotic is needed and which one.

Group B strep colonizes about 1 in 4 pregnant people and can pass to a newborn during birth. Giving penicillin or an alternative during labor greatly lowers that risk. It is a good example of how a well-established antibiotic is used routinely and safely in pregnancy.

Related

Say it back

How would you explain this to someone you love?

Two or three sentences, just as you’d say it. Gale reflects back what you focused on — a mirror, not a quiz.

Talk to a clinician

A primary-care clinician

Gale can help you find one in your state and request a visit.

Find care →

When an infection in pregnancy needs prompt care

  • A fever with back or flank pain, or burning and urgency with urination, is a reason to seek same-day clinician review.
  • Spreading redness, warmth, or a wound that keeps worsening is a reason to contact your clinician promptly.
  • Vomiting that prevents you from keeping fluids or medicine down is a reason to seek medical care.
  • A stiff neck, confusion, trouble breathing, or reduced fetal movement is a reason to seek emergency care.

A high fever with flank pain, trouble breathing, a stiff neck, or reduced fetal movement needs urgent evaluation: contact your clinician the same day, or call 911 or go to the nearest emergency department for severe symptoms.

This article is general health education, not medical advice. The right antibiotic for you depends on the infection, your trimester, and your allergies, and should be chosen by your obstetric clinician or primary care provider.

References

  1. 1.National Institute for Health and Care Excellence (2024). Antenatal care (NG201). National Institute for Health and Care Excellence (NICE). linkAntenatal-care guidance that infections such as urinary tract infections are treated promptly in pregnancy, that antibiotic choices differ by trimester, and that the benefit of treating a genuine infection is weighed against theoretical drug risk.
  2. 2.American College of Obstetricians and Gynecologists (2020). Prevention of Group B Streptococcal Early-Onset Disease in Newborns: ACOG Committee Opinion, Number 797. Obstetrics & Gynecology. doi:10.1097/AOG.0000000000003668Group B streptococcus colonizes roughly 1 in 4 pregnant people, and intrapartum penicillin (or an alternative for allergy) is the standard prophylaxis that sharply lowers early-onset newborn disease.
  3. 3.Office on Women's Health (U.S. HHS) (2025). Your Guide to Breastfeeding. Office on Women's Health (womenshealth.gov), U.S. HHS. linkMost commonly used medicines, including many first-line antibiotics, are assessed individually for compatibility with breastfeeding.
  4. 4.American College of Obstetricians and Gynecologists (2019). ACOG Committee Opinion No. 762: Prepregnancy Counseling. Obstetrics & Gynecology. doi:10.1097/AOG.0000000000003013Reviewing current and past medications with a clinician, including antibiotic and allergy history, is part of medication management around pregnancy.

4 sources, numbered by first appearance. General health information, not medical advice. AI-assisted editorial content — every citation independently verified. Editorial policy