Yes, you can safely continue breastfeeding while taking antibiotics for mastitis. In fact, continuing to nurse is one of the most important things you can do to help the infection clear. The Academy of Breastfeeding Medicine states directly that bacterial mastitis is not contagious to infants and does not require any interruption in breastfeeding. The milk from an infected breast is safe for your baby to consume, even while you’re on antibiotics.
Why Breastfeeding Helps You Heal
Mastitis often starts with milk stasis, where milk isn’t draining well from part of the breast. That backed-up milk creates an environment where bacteria can thrive and inflammation builds. The single most effective thing you can do is keep the milk moving. Nursing frequently, starting on the affected side, helps drain the congested tissue. After feeding, expressing remaining milk by hand or pump and gently massaging the painful area toward the nipple can improve emptying further.
Stopping breastfeeding during mastitis actually makes things worse. It increases stasis, raises pressure in already-inflamed tissue, and can push a treatable infection toward abscess formation. Your body needs to clear that milk, and your baby is the most efficient way to do it.
How Much Antibiotic Reaches Your Milk
The first-line antibiotics prescribed for mastitis pass into breast milk at extremely low levels. Dicloxacillin, one of the most commonly prescribed options, has been measured in breast milk at concentrations that deliver roughly 8 micrograms per kilogram daily to an infant. That’s about 0.03% of the mother’s weight-adjusted dose. To put that in perspective, your baby would need to consume thousands of times more milk than physically possible to approach a therapeutic dose of the drug.
Cephalexin, the other common first-line choice, has a similarly reassuring safety profile during breastfeeding. Both are widely used in nursing mothers and are considered acceptable by the National Institutes of Health’s Drugs and Lactation Database.
Second-Line Antibiotics
If you have a penicillin allergy or your infection involves resistant bacteria, your provider may prescribe clindamycin or trimethoprim-sulfamethoxazole. Clindamycin does carry a slightly higher chance of affecting your baby’s gut bacteria, so your provider may want to monitor for signs like diarrhea or thrush. But even with clindamycin, breastfeeding should continue. The Lactation Database notes explicitly that requiring clindamycin “is not a reason to discontinue breastfeeding.”
What Your Baby Might Experience
The most commonly mentioned concern is a temporary shift in your baby’s gut bacteria from the small amount of antibiotic in your milk. In practice, this can occasionally show up as looser stools, mild diarrhea, or oral thrush (white patches in the mouth). These effects are uncommon with the first-line antibiotics used for mastitis and tend to resolve once you finish the course.
Watch for fussiness during feeding, unusually watery or frequent stools, a white coating on your baby’s tongue or inner cheeks, or a persistent diaper rash that looks red and bumpy (which can signal yeast). If any of these appear, they’re typically manageable and not a reason to stop nursing. Rarely, with clindamycin specifically, blood in an infant’s stool has been reported, though this was documented in a case involving intravenous dosing, not oral.
Managing Pain While Nursing
Mastitis hurts, and pain itself can make breastfeeding harder. Ibuprofen is the preferred pain reliever for nursing mothers with mastitis because it reduces both pain and inflammation while passing into milk at negligible levels. Studies have found that a breastfed infant receives roughly 0.2% of a standard pediatric dose through milk, and at least 23 reported cases in the medical literature document no adverse effects in breastfed infants during maternal ibuprofen use. Taking it regularly for the first few days can make nursing on the affected side much more tolerable.
Applying warm compresses before feeding can help with milk flow, while cold packs afterward can reduce swelling. Some women find it easier to nurse in a position where the baby’s chin points toward the blocked area, which directs the strongest suction to the congested part of the breast.
How Long Treatment Lasts
A typical course of antibiotics for bacterial mastitis runs 10 to 14 days. This is longer than many people expect, and it’s important to finish the full course even if you start feeling better within a few days. Stopping early increases the risk of the infection returning or becoming harder to treat. A shorter course may be appropriate if the surrounding redness and swelling resolve quickly, but that’s a decision to make with your provider rather than on your own.
Most women notice improvement within 48 to 72 hours of starting antibiotics. If your symptoms aren’t improving or are getting worse after two to three days of treatment, that’s worth a call back to your provider. It could mean the bacteria aren’t responding to the chosen antibiotic, or that the infection has progressed.
Signs That Need Urgent Attention
While most mastitis resolves with antibiotics and continued breastfeeding, a small percentage of cases develop into a breast abscess, which is a walled-off pocket of pus within the breast tissue. You might notice a firm, well-defined lump that feels different from the general swelling of mastitis. It may feel like it’s filled with fluid. Abscesses generally require drainage in addition to antibiotics.
Seek immediate care if you develop a rapid heart rate with fever and chills, if the redness is spreading quickly, or if you feel seriously unwell. These can be signs of sepsis, which requires hospital treatment. A lump that persists after the infection clears should also be evaluated, as providers will want to rule out other causes.
Reducing the Risk of Recurrence
Once you’ve had mastitis, you’re more likely to get it again. One strategy that has shown promise in clinical trials is taking a specific probiotic strain during breastfeeding. In a randomized controlled trial, nursing women who took a daily probiotic capsule containing the bacterial strain L. fermentum CECT5716 for 16 weeks had 51% fewer cases of mastitis compared to those taking a placebo. This approach aims to support the breast’s natural microbial balance, which antibiotics can temporarily disrupt.
Beyond probiotics, the basics matter: avoid long gaps between feedings, make sure your baby has a good latch, and address any signs of plugged ducts early before they escalate. Wearing loose-fitting bras and avoiding anything that puts sustained pressure on your breast tissue also helps keep milk flowing freely.

