¿Necesitas un médico humano?

Te guiamos cuando se requiere atención profesional presencial.

Evaluador de síntomas

Is It Safe to Take Antibiotics While Breastfeeding?

Most common antibiotics, including penicillins like amoxicillin, cephalosporins, and many others prescribed for everyday infections, are considered safe to take while breastfeeding.

Is It Safe to Take Antibiotics While Breastfeeding?
Pregnancy & Women's HealthBreastfeeding & Medication Safetymedication
Written By: DocAi Health Editorial Team
Last Updated: 2026-08-26
Medically Reviewed By: DocAi Health Medical Review Team
Medical Disclaimer: This article is for general informational and educational purposes only and is not medical advice. It does not create a doctor-patient relationship and is not a substitute for professional diagnosis or treatment by a qualified healthcare provider. Never disregard or delay seeking professional medical advice because of something you have read here. If you think you may have a medical emergency, call 911 or your local emergency number right away. Health information can change and this guidance is general and US-focused, so consult a licensed clinician in your own country about your specific situation.
Most common antibiotics, including penicillins like amoxicillin, cephalosporins, and many others prescribed for everyday infections, are considered safe to take while breastfeeding. Only a small amount of the drug passes into breast milk, and for most antibiotics that amount is too low to affect a nursing infant. A few antibiotic classes do carry real risks for breastfeeding babies, particularly newborns and infants with certain health conditions, so whether a specific antibiotic is safe for you still depends on which drug you have been prescribed, your baby's age, and their health history.

How Antibiotics Get Into Breast Milk

When you swallow an antibiotic, it enters your bloodstream and some of it crosses into your breast milk. The amount that transfers depends on the drug's chemistry: how well it dissolves in fat, how tightly it binds to proteins in your blood, and how long it stays in your system. Most antibiotics used for common infections, such as ear infections, strep throat, urinary tract infections, and skin infections, transfer into milk in very small amounts, usually well under one percent of the dose you took.
Your baby's body also matters. A full-term, healthy baby who is a few months old clears most drugs efficiently through their liver and kidneys. A newborn, a premature baby, or a baby with an illness clears medications more slowly, so the same trace amount of drug can build up more than it would in an older infant. This is why the same antibiotic can be considered low-risk for one baby and worth extra caution for another.

Antibiotics That Are Generally Considered Compatible With Breastfeeding

Several antibiotic classes have a long track record of use during breastfeeding and are commonly prescribed to nursing mothers:
Penicillins, including amoxicillin, amoxicillin-clavulanate, and penicillin V, are among the most studied antibiotics in breastfeeding and are generally considered a first choice when a penicillin-class drug is appropriate for the infection. Cephalosporins, such as cephalexin and cefdinir, are chemically related to penicillins and have a similar safety profile. Macrolides, including azithromycin and erythromycin, are also widely used during breastfeeding, though a small increase in a rare condition called infantile hypertrophic pyloric stenosis has been noted with erythromycin use in the first two weeks of a baby's life, so timing and dose are usually discussed with a pediatrician when a very young infant is involved.
If you are allergic to penicillin, tell your prescriber before you start any antibiotic. A true penicillin allergy in the mother does not change how the drug affects a breastfed baby, but it changes which antibiotic you can safely take, and cross-reactivity with some cephalosporins is possible.

Antibiotics That Need Extra Caution

Sulfonamides (such as sulfamethoxazole-trimethoprim, often sold as Bactrim or Septra) are generally avoided in the first month of life and in any baby who has jaundice, is premature, or has a known or suspected G6PD deficiency. Sulfa drugs can displace bilirubin from proteins in the blood, which may worsen jaundice in a vulnerable newborn, and they can trigger red blood cell breakdown in babies with G6PD deficiency, an inherited enzyme condition that is more common in babies of African, Mediterranean, Middle Eastern, and Southeast Asian descent.
Fluoroquinolones (such as ciprofloxacin and levofloxacin) are usually reserved for situations where no other antibiotic will treat the infection, since animal studies raised concerns about effects on developing cartilage, though human breastfeeding data has not confirmed joint problems in nursing infants. Tetracyclines (such as doxycycline) taken as a short course are generally considered low-risk because they bind to calcium in milk and are poorly absorbed by the baby, but longer courses are typically avoided due to concerns about tooth staining and effects on bone growth with prolonged exposure. Nitrofurantoin, commonly used for urinary tract infections, is usually fine for term, healthy infants older than about one month but is typically avoided in babies under one month old or those with known G6PD deficiency, for the same red-blood-cell risk described above with sulfa drugs. Metronidazole, used for certain vaginal and dental infections, is generally considered compatible with breastfeeding at standard doses, though some clinicians suggest pausing breastfeeding for a few hours after a large single dose to reduce the baby's exposure and limit the bitter taste that can appear in milk.

Special Situations: Newborns, Premature Babies, and G6PD Deficiency

Extra caution applies whenever your baby falls into a higher-risk group. Newborns under one month old have immature kidneys and livers, so drugs that are cleared quickly by an older infant can linger longer in a newborn's system. Premature babies clear medications even more slowly and are more likely to have jaundice or feeding difficulties that can be worsened by certain antibiotics. Babies with G6PD deficiency, a condition often identified on newborn screening, are at risk of a sudden drop in red blood cells if exposed to sulfa drugs, nitrofurantoin, or a handful of other medications, so it is worth telling your prescriber if your baby's newborn screen flagged this or if there is a family history of it.
If your baby fits any of these categories, your prescriber or your baby's pediatrician can usually choose an antibiotic from the safer, well-studied group described above rather than avoiding treatment altogether. Untreated infections in a nursing mother, including mastitis and urinary tract infections, generally carry more risk to both mother and baby than a well-chosen antibiotic does.

Practical Steps While You're on Antibiotics

Always tell every prescriber and pharmacist involved in your care that you are breastfeeding and how old your baby is, even for a quick urgent care visit or a dental prescription. Ask specifically whether the antibiotic they are prescribing is one of the well-studied, compatible options, or whether it falls into a caution category for your baby's age.
You generally do not need to pump and discard your milk (sometimes called "pump and dump") for antibiotics that are considered compatible with breastfeeding, and you do not need to stop nursing while you take them. Continuing to breastfeed as usual, rather than interrupting it, keeps your milk supply steady and avoids unnecessary formula supplementation. If your prescriber does recommend a short pause around a specific dose, such as with a single large dose of metronidazole, they will typically tell you how long to wait and whether pumping and discarding milk during that window is worthwhile.
Taking your antibiotic right after a feeding, when practical, can reduce the amount in your milk at the next feeding for drugs with a shorter half-life, though this timing trick matters less for most modern antibiotics than it does for a handful of other medication classes. Finish the full course your prescriber gave you even if you feel better early, since stopping an antibiotic partway through can allow the infection to return and contributes to antibiotic resistance.

What to Watch for in Your Baby

Trace amounts of antibiotic in breast milk occasionally cause mild, temporary effects in a nursing baby. The most common is loose or more frequent stools, since the antibiotic can disturb the normal bacteria in a baby's gut the same way it can in yours; this usually resolves on its own once you finish the course and does not usually mean you need to stop breastfeeding. Diaper rash from more frequent or acidic stools, and oral thrush (white patches inside the cheeks or on the tongue) from a shift in normal yeast balance, can also appear during or shortly after a course of antibiotics and are typically treated on their own without stopping breastfeeding.
A true allergic reaction in a breastfed baby from antibiotic exposure through milk is uncommon but possible, and it looks the same as a drug allergy from any other route: hives, widespread rash, facial or lip swelling, or breathing difficulty. This is different from the mild fussiness or loose stools described above and needs prompt medical attention, which is covered in the emergency guidance below. Separately, any fever in a baby under 3 months old is always an emergency regardless of whether you are on antibiotics, because a young infant's immune system cannot reliably fight off a serious infection on its own and needs urgent evaluation.

When to Seek Medical Care

When to Seek Urgent or Emergency Care

Most babies tolerate a mother's antibiotic course without any problem, but a true allergic reaction or a serious infection can escalate quickly in a young infant. This guidance is in addition to, not a replacement for, the general disclaimer above.

Emergency, call 911 or go to the emergency room immediately if:

  • Your baby develops facial or lip swelling, hives spreading over the body, or sudden difficulty breathing during or after a feeding while you are taking an antibiotic.
  • Your baby becomes limp, unusually hard to wake, or unresponsive.
  • You, the breastfeeding parent, develop swelling of the face or throat, sudden difficulty breathing, wheezing, or dizziness and fainting after taking a dose of your antibiotic, which can signal a severe allergic reaction (anaphylaxis).
  • Your baby has a fever with a rectal temperature of 100.4°F (38°C) or higher and is under 3 months old, or has a fever with lethargy, poor feeding, or a bulging soft spot at any age.

See a doctor soon (same-day or next available appointment) if:

  • Your baby develops a widespread rash, or has vomiting or watery diarrhea that lasts more than a day or continues to worsen.
  • Your baby seems unusually fussy, is feeding poorly, or develops white patches inside the cheeks or on the tongue (possible thrush) during or after your antibiotic course.
  • Your baby's skin or the whites of their eyes look yellow (jaundice), especially if your baby is a newborn or you were prescribed a sulfa-class antibiotic.
  • You develop watery or bloody diarrhea, stomach cramping, or a fever while taking or shortly after finishing an antibiotic, which can signal a Clostridioides difficile (C. diff) infection.
  • Your own infection symptoms, such as fever, breast pain and redness, or urinary burning, are not improving after 48 to 72 hours on the antibiotic.
Still concerned about your symptoms?
Use the DocAi Health AI Symptom Checker for a personalized health assessment and guidance.
Start Your Assessment →

Frequently Asked Questions

Do I need to pump and dump my milk while taking antibiotics?

Usually not. Most antibiotics considered compatible with breastfeeding, including amoxicillin and cephalexin, do not require you to pump and discard milk or pause nursing. Pumping and dumping is more often suggested around a single large dose of a specific drug like metronidazole. Ask your prescriber whether your particular antibiotic needs any timing adjustment.

Can antibiotics change the taste of my breast milk or make my baby refuse to nurse?

Some antibiotics, particularly metronidazole, can give milk a slightly bitter or metallic taste that a small number of babies notice and briefly resist. Most babies keep nursing normally through a course of antibiotics. If your baby suddenly refuses to feed, mention it to your pediatrician along with which antibiotic you are taking.

Is amoxicillin safe while breastfeeding?

Yes, amoxicillin is one of the most studied and commonly used antibiotics during breastfeeding and is generally considered a first-choice option when a penicillin-class drug is appropriate. Only a very small amount passes into milk. Watch for mild loose stools in your baby, which occasionally happen but are usually not a reason to stop nursing.

What if my baby gets diarrhea or a diaper rash while I'm on antibiotics?

Mild loose stools and diaper rash are a fairly common, temporary side effect when trace antibiotic in milk shifts your baby's normal gut bacteria. Keep the diaper area clean and dry and continue breastfeeding as usual. If diarrhea is watery, frequent, or lasts more than a day or two, or your baby seems unwell, call their pediatrician.

Can I take antibiotics for a urinary tract infection while breastfeeding?

Yes, most UTI antibiotics, including nitrofurantoin and cephalexin, are compatible with breastfeeding for term, healthy babies older than about one month. Nitrofurantoin is typically avoided in babies under one month old or with known G6PD deficiency, so tell your prescriber your baby's age and any newborn screening results before starting treatment.

Should I tell my pharmacist I'm breastfeeding when I pick up an antibiotic prescription?

Yes, every time, even for a short course from an urgent care visit or dentist. Tell them you are breastfeeding and your baby's age so they can flag any antibiotic that needs extra caution, such as sulfa drugs in a newborn, before you leave the pharmacy rather than after you have already started taking it.

Are IV antibiotics given after a C-section safe for breastfeeding?

Yes, the IV antibiotics commonly given after a cesarean delivery, typically cefazolin or a similar cephalosporin, are considered compatible with breastfeeding and do not require any interruption in nursing or skin-to-skin contact. You can breastfeed as soon as you and your baby are ready after delivery.

Is it different to take antibiotics while breastfeeding a newborn versus an older baby?

Yes. Newborns clear medications more slowly and are more vulnerable to certain antibiotic classes, particularly sulfa drugs and nitrofurantoin, so prescribers are typically more selective in the first few weeks of life. Once your baby is a few months old and feeding and growing well, the range of antibiotics considered low-risk is broader.

Sources

Need a Human Doctor?
We guide you when professional in-person care is required.
Connect with a Board-Certified Doctor