Can You Take Antibiotics While Pregnant? A Pharmacist Explains


Antibiotics are medicines that are used to treat bacterial infections. They work by killing or slowing the growth of bacteria that cause disease. Antibiotics may be prescribed during pregnancy and delivery for a variety of reasons.

However, careful consideration is needed when weighing the benefits and risks of taking any medications, including antibiotics, during pregnancy. This is because some medicines can cross the placenta and harm the fetus.

Antibiotic Safety During Pregnancy

Can you take antibiotics while pregnant? Yes, you can; however, not all are considered safe. Your healthcare provider will help determine which one is best for you while keeping the following in mind:

  • Frequency of antibiotics prescribed during pregnancy: About 25% of pregnant people are prescribed antibiotics. Up to 80% of prescriptions for pregnant people are written for antibiotics. However, data show that the more courses of antibiotics you take during pregnancy, the higher the risk of preterm birth.
  • How medicines impact pregnancy: Some medications can reach a fetus by crossing the placenta. How much of the medicine reaches the fetus is an important consideration when choosing an antibiotic to minimize risks. In addition, antibiotics alter a pregnant person’s gut bacteria, which may also affect the developing fetus.
  • FDA pregnancy categories: Many medicines haven’t been studied during pregnancy due to ethical concerns. Most clinical trials that study side effects and the safety of medicines exclude pregnant people out of caution. Only about 10% of the medicines approved since 1980 have enough data to gauge pregnancy risks. At one time, the Food and Drug Administration (FDA) established pregnancy categories for prescription medicines (A, B, C, D, and X) to help guide prescribers’ decisions. However, these categories are no longer used.
  • Potential risks: Even antibiotics that are considered safe may be associated with increased risks of pregnancy complications, including preterm birth and low birth weight. However, researchers still don’t know whether the medicine or the infection itself is the root cause of these complications. Antibiotics during pregnancy may play a role in the development of conditions like asthma, eczema, or obesity in the baby, but more information is needed to know for sure.
  • Gestational age: Taking antibiotics in the first or second trimesters poses an increased risk of preterm birth. Some medicines are safe in some trimesters but should be avoided in others.

You and your healthcare provider will weigh the benefits and risks of using any antibiotic against the risks the infection itself may pose to both you and your fetus.

Antibiotics Considered Safe During Pregnancy

Several antibiotics are generally considered safe during pregnancy. These include, but are not limited to, the following medicines:

  • Penicillins: Examples of penicillins are Pen VK (penicillin), Amoxil (amoxicillin), and Augmentin (amoxicillin/clavulanate). These are the most commonly prescribed antibiotics during pregnancy; good safety data support their use. Because of changes in the body during pregnancy, you may need to take a higher dose of penicillin or take it more often to be effective.
  • Cephalosporins: Examples of cephalosporins are Keflex (cephalexin), Ceftin (cefuroxime), and Rocephin (ceftriaxone). This class has been used in pregnant people for a long time and is often used in those who cannot take penicillin. Note that Rocephin is associated with risks to the developing fetus, including heart malformations and brain damage.
  • Vancomycin: Vancomycin is often injected into a vein (intravenously or IV) for serious bacterial infections. It can also be taken by mouth. Although IV vancomycin does cross the placenta, it’s generally thought to be safe during the second and third trimesters of pregnancy. Note that there is a concern for kidney damage in the fetus.
  • Macrobid (nitrofurantoin): This antibiotic acts exclusively in the urinary tract. It is generally considered safe for pregnant people with urinary tract infections (UTIs), although it should not be used in the third trimester.

Antibiotics to Avoid During Pregnancy

Antibiotics to avoid during pregnancy include, but are not limited to, the following:

  • Fluoroquinolones: Examples of fluoroquinolones are Cipro (ciprofloxacin) and Levaquin (levofloxacin). This medication class has traditionally been avoided in pregnancy because studies in animals show that it can damage a fetus’s heart, kidneys, bones, and brain. Some newer studies suggest fluoroquinolones may be safe after the first trimester. Discuss the pros and cons of these antibiotics with your healthcare provider before use.
  • Tetracyclines: Examples of tetracyclines are Minocin (minocycline) and Monodox (doxycycline). These medicines can slow fetal bone growth and cause a baby’s teeth to become discolored.
  • Macrolides: Examples of macrolides are Zithromax (azithromycin), erythromycin, and Biaxin (clarithromycin). Conflicting information about pregnancy risks with these medicines exists. Some studies show a link between macrolide antibiotics and heart or genital deformities. Other research concludes the opposite, suggesting these antibiotics do not likely cause congenital disabilities. Your healthcare provider will help you weigh the benefits and risks of taking these medications.
  • Bactrin (sulfamethoxazole/trimethoprim): This antibiotic is often prescribed for UTIs but should be avoided during pregnancy’s first and third trimesters. It may cause congenital disabilities, cleft palate, or miscarriage.

What to Do If I Unintentionally Take an Unsafe Antibiotic

If you unintentionally take an unsafe antibiotic during pregnancy or before you know you’re pregnant, do not panic. You can do the following to minimize risk:

  • Contact your healthcare provider: They can help you determine the next steps, which might include additional monitoring of the fetus.
  • Reach out to your pharmacist: Pharmacists are typically available after hours and are excellent resources on medication safety.
  • Visit the MotherToBaby website: The Centers for Disease Control and Prevention (CDC) recommends this site. It has drug fact sheets in English and Spanish about specific medications and their safety during pregnancy. You can also call or chat online with an expert.

When Are Antibiotics Used During Pregnancy?

Antibiotics may play a vital role in ensuring the health and safety of both the pregnant person and fetus during pregnancy. Healthcare providers may prescribe these medications to treat a range of infections, including upper respiratory tract infections (URTIs), urinary tract infections (UTIs), sexually transmitted infections (STIs), bacterial vaginosis, and group B streptococcus.

If left untreated, such infections can pose significant risks, leading to complications like miscarriage, premature birth, low birth weight, and even stillbirth.

In addition to their use during pregnancy, antibiotics may also be necessary during labor and delivery to address certain medical situations. For instance, preterm delivery, the presence of fever during labor, or the need for a cesarean section are possible reasons for antibiotic use.

Ultimately, the judicious use of antibiotics is essential for managing infections that may otherwise jeopardize the well-being of both the pregnant person and their child. Ensuring timely and appropriate treatment is crucial for promoting positive pregnancy outcomes.

Managing Infections During Pregnancy

Keep in mind that the immune system is suppressed (less active) during pregnancy. This immune suppression prevents a pregnant person’s body from rejecting the fetus. Knowing that pregnant people may be more prone to infections can help you proactively optimize your health. Tips to keep in mind include the following:

  • Prevention: Good hygiene is crucial to minimize infection risks. As much as possible, try to avoid contact with people who are sick. In addition, some lifestyle changes can help prevent infections, including getting recommended vaccines, preparing food carefully, avoiding unpasteurized foods and milk, wearing bug repellent, and washing your hands after contact with pets or litter boxes. If you’re prone to UTIs, consider prevention tips such as voiding the bladder after sexual intercourse, or ask your healthcare provider if drinking cranberry juice is worth a try.
  • Recognize symptoms: Signs of bacterial infections during pregnancy can vary. They are often nonspecific, meaning they could also be due to other causes. Symptoms of infection during pregnancy may include fever, headache, fatigue, or gastrointestinal symptoms like diarrhea or stomach pain. If you experience these or other changes that concern you, contact your healthcare provider immediately.
  • Monitoring: Regular checkups are essential for monitoring maternal and fetal health. Keep up with scheduled appointments with your healthcare providers and reach out promptly when any concerns arise. If you develop an infection, you may be monitored more frequently.

Other Considerations

Not every infection will respond to antibiotics. Importantly, they aren’t effective against viruses like colds, the flu, or COVID-19.

The following considerations can help you decide if an antibiotic is your best choice:

  • Importance of medical advice: Always consult a healthcare provider before taking any medication during pregnancy. Remember that “medication” also includes supplements like herbs and vitamins as well as over-the-counter (OTC) medicines.
  • Alternatives: Effective diagnosis and treatment are crucial during pregnancy. If you’re unsure, don’t rely on self-diagnosis and treatment alone. Depending on what’s causing your symptoms, potential non-antibiotic treatments could include hydration, rest, humidifiers, or OTC medications.

Summary

Antibiotics may be prescribed during pregnancy to treat infections such as UTIs or respiratory tract infections. They may also be given during labor and delivery.

When choosing an antibiotic, your healthcare provider will consider factors like whether the medicine crosses the placenta and the risks of infection compared to the risks of taking the antibiotic.

In general, penicillins and cephalosporins are considered safe during pregnancy. Fluoroquinolones and tetracyclines are typically not recommended.

During pregnancy, a person is more susceptible to infections. You can minimize risks during this time by practicing good hygiene, getting recommended vaccinations, and safely preparing foods. Do your best to keep up with regularly scheduled visits with your healthcare provider. Reach out promptly if you have any concerns about an infection.

Verywell Health uses only high-quality sources, including peer-reviewed studies, to support the facts within our articles. Read our editorial process to learn more about how we fact-check and keep our content accurate, reliable, and trustworthy.
  1. Cantarutti A, Rea F, Franchi M, et al. Use of antibiotic treatment in pregnancy and the risk of several neonatal outcomes: A population-based studyInt J Environ Res Public Health. 2021;18(23):12621. Published 2021 Nov 30. doi:10.3390/ijerph182312621

  2. Bookstaver PB, Bland CM, Griffin B, et al. A review of antibiotic use in pregnancyPharmacotherapy. 2015;35(11):1052-1062. doi:10.1002/phar.1649

  3. Gamberini C, Donders S, Al-Nasiry S, et al. Antibiotic use in pregnancy: A global survey on antibiotic prescription practices in antenatal careAntibiotics (Basel). 2023;12(5):831. Published 2023 Apr 29. doi:10.3390/antibiotics12050831

  4. Nguyen MH, Fornes R, Kamau N, et al. Antibiotic use during pregnancy and the risk of preterm birth: a population-based Swedish cohort studyJ Antimicrob Chemother. 2022;77(5):1461-1467. doi:10.1093/jac/dkac053

  5. Blattner CM, Danesh M, Safaee M, et al. Understanding the new FDA pregnancy and lactation labeling rulesInt J Womens Dermatol. 2016;2(1):5-7. Published 2016 Feb 28. doi:10.1016/j.ijwd.2015.12.005

  6. Corrales M, Corrales-Acosta E, Corrales-Riveros JG. Which antibiotic for urinary tract infections in pregnancy? A literature review of international guidelinesJ Clin Med. 2022;11(23):7226. Published 2022 Dec 5. doi:10.3390/jcm11237226

  7. Hesse MR, Prins JR, Hooge MNL, et al. Pharmacokinetics and target attainment of antimicrobial drugs throughout pregnancy: Part I-penicillinsClin Pharmacokinet. 2023;62(2):221-247. doi:10.1007/s40262-023-01211-z

  8. Joshi MD, Pais GM, Chang J, et al. Evaluation of fetal and maternal vancomycin-induced kidney injury during pregnancy in a rat modelAntimicrob Agents Chemother. 2019;63(10):e00761-19. Published 2019 Sep 23. doi:10.1128/AAC.00761-19

  9. Yefet E, Schwartz N, Chazan B, et al. The safety of quinolones and fluoroquinolones in pregnancy: a meta-analysisBJOG. 2018;125(9):1069-1076. doi:10.1111/1471-0528.15119

  10. Muanda FT, Sheehy O, Bérard A. Use of antibiotics during pregnancy and the risk of major congenital malformations: a population based cohort studyBr J Clin Pharmacol. 2017;83(11):2557-2571. doi:10.1111/bcp.13364

  11. Fan H, Gilbert R, O’Callaghan F, et al. Associations between macrolide antibiotics prescribing during pregnancy and adverse child outcomes in the UK: population based cohort study [published correction appears in BMJ. 2020 Mar 4;368:m766. doi: 10.1136/bmj.m766]BMJ. 2020;368:m331. Published 2020 Feb 19. doi:10.1136/bmj.m331

  12. Andersson NW, Olsen RH, Andersen JT. Association between use of macrolides in pregnancy and risk of major birth defects: nationwide, register based cohort studyBMJ. 2021;372:n107. Published 2021 Feb 10. doi:10.1136/bmj.n107

  13. Muanda FT, Sheehy O, Bérard A. Use of trimethoprim-sulfamethoxazole during pregnancy and risk of spontaneous abortion: a nested case control studyBr J Clin Pharmacol. 2018;84(6):1198-1205. doi:10.1111/bcp.13542

  14. Centers for Disease Control and Prevention. Medicine and Pregnancy.

  15. Kumar M, Saadaoui M, Al Khodor S. Infections and pregnancy: Effects on maternal and child healthFront Cell Infect Microbiol. 2022;12:873253. Published 2022 Jun 8. doi:10.3389/fcimb.2022.873253

  16. Martinez de Tejada B. Antibiotic use and misuse during pregnancy and delivery: benefits and risksInt J Environ Res Public Health. 2014;11(8):7993-8009. Published 2014 Aug 7. doi:10.3390/ijerph110807993

  17. Chan MY, Smith MA. Infections in PregnancyComprehensive Toxicology. 2018;232-249. doi:10.1016/B978-0-12-801238-3.64293-9

  18. Ghouri F, Hollywood A, Ryan K. A systematic review of non-antibiotic measures for the prevention of urinary tract infections in pregnancyBMC Pregnancy Childbirth. 2018;18(1):99. Published 2018 Apr 13. doi:10.1186/s12884-018-1732-2

Megan Nunn headshot

Megan Nunn headshot

By Megan Nunn, PharmD

Nunn is a community pharmacist in Tennessee with 12 years of experience in medication counseling and immunization.


اكتشاف المزيد من LoveyDoveye

اشترك للحصول على أحدث التدوينات المرسلة إلى بريدك الإلكتروني.