Skip to main content
SafeMama

Disclaimer: This guide is for education only and is not a substitute for professional medical advice. Always confirm medicine, supplement and product decisions with your obstetrician, midwife, pharmacist or healthcare provider.

Medication

Is Erythromycin Safe in Pregnancy?

Published 2026-07-22 | By SafeMama Editorial Team | Editorial policy

Is Erythromycin Safe in Pregnancy? pregnancy safety guide image

Short answer

Erythromycin can be used in pregnancy when a clinician prescribes it for a bacterial infection. The safer path is not to self-treat: confirm the infection, dose, allergy history, liver or heart-rhythm history, other medicines and whether a different antibiotic would fit better.

Use only when prescribed

Erythromycin in pregnancy: how to think about it

NHS guidance says erythromycin can be taken during pregnancy. MotherToBaby describes available pregnancy data as generally reassuring for miscarriage, birth defects and several other outcomes, while BUMPS says routine antenatal care is usually enough after exposure. UKTIS notes that erythromycin has historically been preferred when a macrolide is needed because there is more pregnancy experience with it, but treatment still depends on the infection and local prescribing guidance. Breastfeeding guidance is also mostly compatible with precautionary infant monitoring for stomach upset, thrush or diaper rash.

Checking a different medicine? The Pregnancy Medication Safety Hub collects all 154 SafeMama medicine guides, including the active-ingredient and dose questions worth raising with a pharmacist.

Erythromycin: safer choices

  • Use erythromycin only for a diagnosed or strongly suspected bacterial infection and only on the schedule your prescriber gives you.
  • Tell your clinician about macrolide allergy, liver disease, jaundice after antibiotics, heart-rhythm history, low potassium or magnesium, and all prescription or OTC medicines.
  • Ask whether culture results, local resistance patterns, trimester, vomiting, reflux medicines or other antibiotics change the plan.
  • Finish the prescribed course unless your clinician tells you to stop or switch.

Erythromycin: what to avoid or double-check

  • Avoid using leftover erythromycin for a sore throat, cough, dental symptoms, acne or urinary symptoms without diagnosis.
  • Avoid combining it with interacting medicines, other macrolides such as azithromycin or clarithromycin, or heart-rhythm medicines without pharmacist review.
  • Avoid stopping an antibiotic early because of nausea, diarrhea or cramps without asking what to do next.
  • Avoid delaying care for fever, worsening pain, flank pain, dehydration, shortness of breath, reduced fetal movement or signs an infection is spreading.

How SafeMama helps

SafeMama can flag erythromycin, Ery-Tab, EES, EryPed, macrolide antibiotics, azithromycin, clarithromycin, allergy terms, QT or heart-rhythm warnings, liver warnings, antacid spacing and breastfeeding questions on prescription labels.

Open the SafeMama app, scan the barcode or search the ingredient, then use the result as a starting point for a conversation with your healthcare provider.

Sources

Frequently asked questions

Is erythromycin safe in pregnancy?

It can be used in pregnancy when prescribed. The decision should come from a clinician who knows the infection, dose, allergies, trimester and other medicines.

Can I take erythromycin while pregnant for a UTI?

Ask your clinician. Antibiotic choice for a UTI usually depends on symptoms, urine culture results, allergies and local guidance. Do not use leftover antibiotics.

Is erythromycin the same as azithromycin?

No. They are both macrolide antibiotics, but dose, side effects, interactions and the reason for prescribing can differ.

Can erythromycin treat a cold?

No. Antibiotics do not treat viral colds or flu. Ask your clinician what is causing the symptoms, especially with fever or breathing symptoms.

What if erythromycin upsets my stomach?

Nausea, diarrhea or cramps can happen with antibiotics. Ask your clinician or pharmacist before stopping, especially if symptoms are severe, bloody or causing dehydration.

Can I use erythromycin while breastfeeding?

Ask your clinician or pharmacist, especially for a premature or medically fragile baby. LactMed and NHS SPS describe erythromycin as compatible with breastfeeding in many cases, with monitoring for irritability, diarrhea, thrush or diaper rash.

Check products faster with SafeMama

SafeMama scans food, skincare, medicine and supplement labels and explains pregnancy-safety flags using published guidance from authorities like ACOG, NHS, FDA, CDC and WHO.

Download SafeMama