Featured sponsorYour brand here — Sponsor MamaAnswers
MamaAnswers
Antibiotics & infections

Is Cephalexin safe while breastfeeding?

Also known as: Keflex

Generally compatible

Quick answer

Cephalexin produces low levels in milk and isn't usually expected to affect breastfed babies. It's commonly used for mastitis.

Good to know

  • Occasional loose stools or thrush in babies have been reported with this antibiotic class.

What the research says

Summarized from the cited source below

Limited information indicates that maternal cephalexin produces low levels in milk that are usually not expected to cause adverse effects in breastfed infants. Cephalexin is an alternative for the treatment of mastitis. Occasionally disruption of the infant's gastrointestinal flora, resulting in diarrhea or thrush have been reported with cephalosporins, but these effects have not been adequately evaluated. A rare case of a severe allergic reaction occurred in an infant previously exposed to intravenous cefazolin whose mother began taking cephalexin while breastfeeding. Cephalexin is acceptable in nursing mothers.

Sources

Last reviewed: November 2026

Featured sponsorYour brand here — Sponsor MamaAnswers

Related in Antibiotics & infections

Newsletter

Newsletter from MamaAnswers

Get the weekly 'Safe or Not?' email from MamaAnswers — one straight answer plus the gear worth buying. Free, no spam.