Is It Safe to Take Antibiotics While Breastfeeding?

Most antibiotics are safe to take while breastfeeding. The vast majority of antibiotics transfer into breast milk in very small amounts, typically well below the threshold that could affect your baby. That said, a few specific antibiotics carry extra risks for nursing infants, and your baby’s age and health can shift the safety picture.

How Antibiotics Get Into Breast Milk

Drugs enter breast milk mainly by diffusing from your bloodstream. How much gets through depends on the drug’s chemical properties: its molecular size, whether it dissolves in fat, how acidic or basic it is, and how tightly it binds to proteins in your blood. Breast milk is slightly more acidic than blood, which means acidic drugs tend to stay in the bloodstream while basic ones may concentrate slightly more in milk. Fat-soluble drugs can also accumulate in the fat portion of milk.

The standard measure for drug safety in breastfeeding is the relative infant dose, or RID. This compares what a baby would receive through milk to the mother’s dose, adjusted for body weight. The World Health Organization considers any drug with an RID below 10% acceptable during breastfeeding, labels those between 10% and 25% as warranting caution, and flags anything above 25% as unacceptable. By this measure, roughly 87 to 90% of all medications fall into the safe category.

RID is a useful starting point, but it doesn’t tell the whole story. A highly toxic drug could cause problems even at a very low RID, while a gentle one might be fine at higher levels. For antibiotics specifically, there’s also the question of what even small amounts do to the bacteria in your baby’s gut, which we’ll get to below.

Antibiotics Generally Considered Safe

Penicillin-type antibiotics are among the most commonly prescribed during breastfeeding, and all of them can be used with routine monitoring of your baby. This includes amoxicillin, ampicillin, and flucloxacillin. These drugs are acidic, which means only negligible quantities pass into milk. Studies measuring breast milk levels of these antibiotics consistently find very low concentrations.

Cephalosporins, a related class often prescribed for ear infections, urinary tract infections, and skin infections, follow a similar pattern. They share the same basic chemical characteristics as penicillins and transfer into milk in small amounts.

Erythromycin, a macrolide antibiotic frequently used for respiratory infections, is also generally considered compatible with breastfeeding.

Antibiotics That Need Extra Caution

A handful of antibiotics deserve more careful consideration, especially depending on your baby’s age and health status.

  • Trimethoprim/sulfamethoxazole: This combination antibiotic, commonly prescribed for urinary tract infections, should be avoided if your baby is under one month old, was born premature, is jaundiced, or has a condition called G6PD deficiency (a genetic enzyme disorder). In these vulnerable infants, the sulfa component can interfere with how bilirubin is processed, raising the risk of a dangerous buildup.
  • Nitrofurantoin: Another common UTI antibiotic, nitrofurantoin carries the same restrictions. It should not be used during the first month of your baby’s life or if your baby has G6PD deficiency, because it can trigger the breakdown of red blood cells.
  • Metronidazole: Often prescribed for dental infections and certain vaginal infections, metronidazole can increase the likelihood of yeast infections and diarrhea in breastfed infants.
  • Clindamycin: This antibiotic may cause diarrhea in nursing babies. There have been reports of bloody stools in infants whose mothers received clindamycin intravenously.
  • Doxycycline: A tetracycline antibiotic used for conditions like acne, Lyme disease, and certain respiratory infections. Short courses of up to 21 days are considered safe during breastfeeding. The calcium in breast milk actually binds to the drug and reduces how much your baby absorbs.
  • Fluoroquinolones: Antibiotics like ciprofloxacin fall into this group. The calcium in breast milk decreases how much the baby absorbs orally, which provides some buffer, but these are still used with caution during breastfeeding when safer alternatives exist.

Your Baby’s Age Matters

Newborns, especially those born premature, are more vulnerable to medication effects than older infants. Their livers and kidneys are still maturing, so they clear drugs from their bodies more slowly. A three-month-old processes a small antibiotic exposure much more efficiently than a one-week-old.

This is why some antibiotics that are perfectly fine for mothers of older babies carry restrictions during the first month. If you’re nursing a newborn and need antibiotics, your prescriber may choose a different drug than they would for the mother of a six-month-old, even for the same infection.

Effects on Your Baby’s Gut Bacteria

Even when an antibiotic is classified as safe based on the amount that reaches your baby, there’s growing awareness that very low doses of antibiotics can still affect the developing microbiome. Research suggests that small antibiotic exposures through breast milk may shift the balance of bacteria in your baby’s gut and potentially promote antibiotic-resistant bacterial genes.

The clinical significance of this isn’t fully understood yet, but it’s one reason diarrhea is the most commonly reported side effect in breastfed babies whose mothers are taking antibiotics. Allergic reactions, though rare, are also possible. Watching for loose stools, diaper rash (which can signal a yeast overgrowth), fussiness, or a rash on your baby gives you an early signal if something needs attention.

How to Reduce Your Baby’s Exposure

If you’re concerned about minimizing how much antibiotic your baby gets through milk, timing can help. Most drugs reach their peak concentration in your blood (and therefore in your milk) one to three hours after you take them. Nursing right before you take your dose means your baby feeds when levels are at their lowest. By the time you nurse again, the drug concentration is already declining.

This strategy works best with medications you take once or twice daily. With antibiotics dosed three or four times a day, the windows are shorter, but you can still aim to take each dose right after a feeding session rather than right before one.

The most practical step, though, is making sure your prescriber knows you’re breastfeeding before they write the prescription. In most cases, there’s a well-studied, compatible antibiotic available for whatever infection you’re treating. Stopping breastfeeding or “pumping and dumping” is rarely necessary for common antibiotics, and the benefits of continued breastfeeding almost always outweigh the minimal drug exposure your baby receives.