Cephalexin is considered safe to take while breastfeeding. The drug passes into breast milk in very small amounts, far below what would be needed to affect a nursing infant. LactMed, the U.S. government’s drug and lactation database, classifies cephalexin as “acceptable in nursing mothers,” and it is one of the go-to antibiotics prescribed specifically for breastfeeding women with infections like mastitis.
How Much Reaches Your Baby
The amount of cephalexin that transfers into breast milk is tiny. After a single 1-gram dose (a high end dose), peak milk levels in six women averaged just 0.51 mg/L, with a range of 0.24 to 0.85 mg/L. Those peak levels appeared 4 to 5 hours after the dose. In a woman taking 500 mg four times daily for over two weeks, researchers calculated that a fully breastfed infant would receive about 112 micrograms per kilogram per day through milk.
To put that in perspective, when cephalexin is prescribed directly to infants for an infection, the therapeutic dose is 25 to 100 milligrams per kilogram per day. The amount reaching your baby through breast milk is roughly 0.5% of your weight-adjusted dose, hundreds of times lower than what a pediatrician would give a baby who actually needed the drug. The milk-to-plasma ratio ranges from 0.008 to 0.140, meaning the vast majority of the drug stays in your bloodstream and never makes it into your milk.
Possible Side Effects in Infants
Most breastfed infants show no reaction at all when their mother takes cephalexin. The potential side effects that have been reported with this class of antibiotic (cephalosporins broadly, not cephalexin alone) are mild digestive changes: looser stools, diarrhea, or oral thrush. These happen because trace amounts of antibiotic can slightly shift the balance of bacteria in a baby’s gut. If you notice watery stools or white patches in your baby’s mouth during your course of treatment, those are the likely explanation, and they typically resolve once you finish the antibiotic.
One rare but notable case involved an infant who had a severe allergic reaction to cephalexin in breast milk. That baby had previously been given a related antibiotic (cefazolin) intravenously, which likely sensitized the infant’s immune system before the breast milk exposure. For a baby with no prior antibiotic exposure, this kind of reaction is extremely uncommon. If your infant has previously received any cephalosporin-type antibiotic directly, it’s worth mentioning that to your prescriber.
Why It Is Commonly Prescribed Postpartum
Cephalexin is one of the preferred antibiotics for mastitis, the painful breast infection that affects breastfeeding women. It is also commonly prescribed for urinary tract infections, skin infections, and wound infections after a cesarean delivery. Its safety profile during breastfeeding is a major reason providers reach for it over other options during the postpartum period. You do not need to pump and dump while taking it.
Do You Need to Time Feedings?
Because the amount of cephalexin in breast milk is so low, there is no medical need to schedule nursing sessions around your doses. Milk levels peak about 4 to 5 hours after a dose, but even at their highest they remain far below any clinically meaningful concentration. In one study of a woman taking cephalexin four times daily, milk levels ranged from roughly 0.4 to 1 mg/L throughout the day with little correlation to when the doses were actually taken. In practical terms, you can nurse on your normal schedule without worrying about timing.
If Cephalexin Isn’t an Option
If you or your baby has a known allergy to cephalosporins, several other breastfeeding-compatible antibiotics cover similar infections. Amoxicillin (with or without clavulanate), flucloxacillin, erythromycin, and azithromycin are all considered safe during breastfeeding. Your provider can choose the best fit based on the type of infection you’re treating and any allergy history in you or your infant.