Medication
Is Ampicillin Safe During Pregnancy?
Published 2026-08-13 | By SafeMama Editorial Team | Editorial policy
Short answer
Ampicillin is a penicillin antibiotic. It may be used in pregnancy when a clinician prescribes it for a bacterial infection, but it should not be started from an old packet or used for symptoms that have not been diagnosed.
Use when prescribed for infection
What is the safest way to think about this?
UKTIS says penicillins are commonly used in pregnancy when indicated, and Mayo Clinic lists penicillins including ampicillin among antibiotics thought of as safe to take while pregnant. DailyMed ampicillin labeling reports animal data without evidence of harm but notes that controlled human pregnancy studies are lacking, so use should be based on clinical need. ACOG UTI guidance supports appropriate antibiotic treatment for pregnancy UTIs.
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.
What is generally okay?
- Take ampicillin exactly as prescribed and ask whether follow-up testing is needed.
- Tell your clinician about penicillin allergy, cephalosporin allergy, kidney disease, severe antibiotic diarrhea, rash, other antibiotics and breastfeeding plans.
- Ask what symptoms should improve and what to do if culture results recommend a different antibiotic.
What should you avoid or double-check?
- Avoid leftover ampicillin or antibiotics borrowed from someone else.
- Avoid using ampicillin for viral colds, flu, COVID symptoms or undiagnosed urinary, dental, vaginal or throat symptoms.
- Avoid stopping early or changing the schedule without prescriber or pharmacist advice.
How SafeMama helps
SafeMama can flag ampicillin, penicillin antibiotics, amoxicillin, Augmentin, GBS terms, UTI labels, allergy warnings, diarrhea cautions and culture follow-up questions.
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 ampicillin safe in pregnancy?
It is a penicillin antibiotic that may be used when prescribed for a bacterial infection. The infection, allergy history, culture result and dose still matter.
Is ampicillin the same as amoxicillin?
No. They are related penicillin antibiotics, but they are different medicines. Do not swap one for the other without prescriber advice.
Can ampicillin treat a UTI during pregnancy?
Sometimes, if testing and local resistance patterns support it. Pregnancy UTI treatment should be clinician-guided.
What if I have a penicillin allergy?
Tell your clinician what happened, how severe it was and when it occurred before taking ampicillin or a related antibiotic.
Can I take ampicillin while breastfeeding?
Ampicillin can pass into milk in small amounts. Ask your clinician or pharmacist, especially if the baby is premature, newborn, unwell or develops diarrhea or 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