Mastitis While Breastfeeding: Why You Should Keep Feeding, Which Antibiotics Are Safe and the Signs of a Breast Abscess

🤱 A hot, red, painful patch on one breast, a fever that comes on in a few hours and an ache in every muscle: this is how mastitis usually announces itself, most often in the first weeks after birth. It is one of the most common reasons a breastfeeding mother calls a doctor, and also one of the most common reasons she stops breastfeeding earlier than she planned. 🔍 Much of the advice still repeated in families and online (pump until empty, massage hard, use heat, stop feeding from the sore side) has been dropped by lactation specialists because it can make the swelling worse. This guide explains what mastitis really is, how to tell a blocked duct from an infection and from an abscess, what to do in the first 24 hours, when antibiotics are needed, which antibiotics are compatible with breastfeeding, where a macrolide such as roxithromycin fits for mothers with a penicillin allergy, and which warning signs mean you should be seen the same day.
🧬 What mastitis is, and why the advice changed
🔬 Mastitis means inflammation of the breast tissue. For years it was explained as milk “getting stuck” behind a plug in a duct, and the cure was to force the milk out by feeding, pumping and massaging as hard as possible. Lactation medicine now sees most mastitis as swelling of the tissue around the ducts, which squeezes them narrow from the outside, rather than a solid plug inside. When the tissue is already swollen, deep massage and extra pumping add more fluid and more trauma, and the inflammation spreads. In some women bacteria then multiply in the stagnant area, most often Staphylococcus aureus from the skin, and the problem becomes a true infection.
📖 This shift matters for treatment. The first job is to calm the swelling, not to empty the breast completely. Antibiotics are reserved for the women whose symptoms do not settle with that approach, or who are clearly unwell from the start. For general rules on which antibiotics are compatible with pregnancy and nursing, see antibiotics in pregnancy and breastfeeding; this article stays with mastitis itself.
📊 Blocked duct, mastitis or abscess: one spectrum
🔗 Specialists now describe breast inflammation during lactation as a range of conditions that can move from one stage to the next. Most episodes stop at the first or second step if they are handled gently and early.
💡 A narrowed duct usually feels like a tender, pea-sized or larger lump with little or no redness and no fever. Inflammatory mastitis adds redness, warmth and often fever and flu-like aches. Bacterial mastitis looks the same at first but does not settle, or worsens, despite good home care. An abscess is a walled-off pocket of pus that antibiotics alone rarely clear.
👥 Who gets it and when
📅 Mastitis can happen at any time during breastfeeding, but it is most common in the second to sixth week after birth, when supply is still adjusting and the baby and mother are learning to latch. A second peak comes during weaning, when feeds are dropped too quickly. Mothers of a first baby, mothers with cracked nipples and mothers who have had mastitis before are at higher risk.
🗓️ How symptoms usually develop
🩺 Is it mastitis or something else?
🔍 Several conditions cause breast pain while nursing. Telling them apart changes the treatment, because antibiotics will not help nipple thrush, and antifungal cream will not help bacterial mastitis.
| 🔎 Condition | 📋 Clues | 🛠️ Usual approach |
|---|---|---|
| Engorgement | Both breasts full, hard and warm, often day 3 to 5 after birth, mild or no fever | Frequent feeding, cold packs, ibuprofen |
| Narrowed duct | One tender lump, little redness, mother feels well | Gentle care, normal feeds, no deep massage |
| Mastitis | Red, hot, painful area on one side, fever, aches | Home care 12 to 24 h, then antibiotics if not better |
| Breast abscess | Firm or soft lump that keeps hurting despite antibiotics | Ultrasound, needle drainage, antibiotics |
| Nipple thrush | Burning or shooting pain during and after feeds, shiny nipple, baby may have white patches in the mouth, no fever | Antifungal treatment for mother and baby |
| Nipple vasospasm | Nipple turns white then purple after feeds, throbbing pain in the cold | Warmth after feeds, latch review |
🏠 The first 24 hours at home
🧊 If you feel unwell but not seriously ill, the first day is usually spent on simple measures. The goal is to reduce swelling and keep milk moving at the normal pace, not faster.
🍼 Keep feeding, but do not overdo it
✅ The single most important message for mothers with mastitis is that breastfeeding can and usually should continue, including from the sore breast. The milk is safe for a healthy full-term baby even when bacteria are present, because the baby is already colonised with the same skin bacteria and the milk carries antibodies. Stopping suddenly makes the breast fuller and raises the risk of an abscess. Some babies dislike the slightly saltier taste of milk from an inflamed breast for a day or two; starting on the other side and then switching can help.
⚠️ The other half of the message is newer. Feeding or pumping far more than usual to “drain” the breast tends to raise supply and keep the cycle going. Feed the baby as the baby asks. If you are separated from the baby or the baby cannot latch, express about as often as the baby would feed, and stop when the breast feels comfortable rather than when it feels empty.
🔄 Old advice and current advice side by side
💡 A brief warm shower just before a feed to help the let-down is fine for many mothers. The change is about avoiding long heat and force on tissue that is already swollen, not about banning warmth completely.
💊 Pain relief that is safe while nursing
📉 Ibuprofen is the preferred painkiller in mastitis because it reduces inflammation as well as pain, and only tiny amounts pass into breast milk. A common adult pattern is 400 mg every 6 to 8 hours with food; doctors may advise up to 600 mg three or four times a day for a few days, within the usual maximum. Motrin (Ibuprofen) is one option. Paracetamol (Acetaminophen), usually 500 mg to 1 g up to four times a day, can be added or used instead when ibuprofen is not suitable.
📖 Mothers with stomach ulcers, kidney disease or asthma made worse by NSAIDs should use paracetamol instead; more in which painkiller to choose and who should avoid NSAIDs.
🌳 When antibiotics are needed
⏳ Not every red, sore breast needs an antibiotic. Guidelines suggest starting one when symptoms are not clearly better after 12 to 24 hours of good home care, or straight away if the mother is very unwell, the redness is spreading, the nipple is cracked with visible infection, or there are signs of an abscess. Guidance from 2022 also warns against a long wait in a mother who is getting worse.
🥇 First-choice antibiotics
🦠 Because the usual cause is Staphylococcus aureus, first-line tablets are antibiotics that work well against staph and are compatible with breastfeeding. In most countries that means flucloxacillin or dicloxacillin, or a first-generation cephalosporin such as cephalexin. Doses below are typical adult doses; the prescriber may adjust them.
💡 Plain amoxicillin on its own is a weaker choice for mastitis, because many staph strains make an enzyme that breaks it down. That is why the clavulanate combination or a staph-active penicillin is used instead. Tips on spacing doses, food and missed tablets are in how to take antibiotic tablets correctly.
🛡️ Penicillin allergy: where roxithromycin fits
🤔 About one in ten people say they are allergic to penicillin, although many of these labels turn out to be wrong when tested. For a mother with a true penicillin allergy, the usual alternatives are a macrolide or clindamycin. Women whose old reaction was a mild rash, not swelling or breathing trouble, can often take a cephalosporin such as cephalexin safely, but that decision belongs to the prescriber.
| 💊 Option | 📋 Typical adult dose | 📝 Notes for nursing mothers |
|---|---|---|
| Erythromycin | 250 to 500 mg four times a day | Long experience in breastfeeding; stomach upset common. Ilosone (Erythromycin) |
| Clarithromycin | 500 mg twice a day | Used in some guidelines for penicillin allergy. Biaxin (Clarithromycin) |
| Roxithromycin | 150 mg twice a day or 300 mg once a day | Very low levels in milk; registered in many countries; fewer doses. Rulide (Roxithromycin) |
| Clindamycin | 300 mg three or four times a day | Good against staph including many MRSA strains; watch the baby for loose stools. Cleocin (Clindamycin) |
⚖️ Macrolides are a fair second line rather than a first choice, because a share of staph strains are resistant to them, and that share varies from region to region. If a mother on a macrolide is not clearly better within 48 hours, the plan should be reviewed and a milk culture is useful.
💊 Roxithromycin while breastfeeding: dose and what reaches the baby
📋 Roxithromycin is a macrolide antibiotic, a close relative of erythromycin with a longer half-life, so it is taken only once or twice a day instead of four times, which matters for a mother who is up through the night. The usual adult dose is 150 mg twice a day, or 300 mg once a day, taken at least 15 minutes before a meal, because food lowers absorption. For mastitis a doctor will usually aim for a course similar to other options, often 10 to 14 days.
👶 With any macrolide, doctors pay extra attention in the first weeks of life. Erythromycin and azithromycin given directly to newborns have been linked with pyloric stenosis, a narrowing of the stomach outlet that causes forceful vomiting. The risk from the tiny amount in breast milk appears very small, but parents of a baby under about two weeks old should know the sign. Common side effects in the mother are nausea, stomach pain, loose stools and, rarely, rash or liver irritation.
⚠️ Interactions and who should avoid roxithromycin
| 🚫 Situation | 📝 Why |
|---|---|
| Allergy to macrolides | Rash, swelling or breathing trouble with erythromycin, clarithromycin or azithromycin |
| Ergotamine or similar migraine drugs | Dangerous narrowing of blood vessels; the combination is not allowed |
| Long QT or drugs that prolong QT | Some antiarrhythmics, antipsychotics and antidepressants; risk of heart rhythm problems |
| Warfarin | Blood can become thinner; extra INR checks |
| Digoxin, theophylline, some sedatives | Levels may rise; dose checks |
| Serious liver disease | Roxithromycin is cleared by the liver; dose reduction or another choice |
💡 Bromocriptine and cabergoline, sometimes given after birth to stop milk, are ergot derivatives too. Tell the prescriber about every medicine you take, including those started in hospital after the birth.
📈 What improvement on antibiotics looks like
⏱️ Most women feel a real difference within 24 to 48 hours of starting an effective antibiotic. The fever is usually the first thing to go, then the pain, and last the redness and firmness, which can take a week or more to fade completely.
Still sore, fever may peak
Fever gone, pain easing
Redness fades, feeds comfortable
Course finished, small firmness may linger
👶 Watching the baby during treatment
👀 Antibiotics that pass into milk in small amounts can still change the gut bacteria of the baby a little. Most babies show nothing at all, and the benefit of continued breastfeeding outweighs these small effects. A few signs are worth knowing.
Common and usually harmless; mention it if stools become watery or bloody
Oral thrush; treat the baby and check the nipples of the mother
Especially in a baby under 6 weeks after every feed; see a doctor the same day
Rare; tell the doctor who prescribed the antibiotic
ℹ️ For premature babies, babies with jaundice in the first weeks, and babies who are unwell themselves, the choice of antibiotic is made more carefully. Trimethoprim-sulfamethoxazole, for example, is usually avoided while nursing a newborn under about two months, or a jaundiced baby, even though it is useful against MRSA.
🧫 MRSA and when a milk culture is taken
🧪 Methicillin-resistant Staphylococcus aureus (MRSA) does not respond to flucloxacillin, dicloxacillin or cephalexin. It is more likely in mothers who were in hospital recently, who have had MRSA before, or who live where community MRSA is common. A sample of milk from the affected breast, collected after cleaning the nipple and discarding the first few drops, shows which bacteria are present and which antibiotics will work.
🔴 Breast abscess: signs and treatment
⚠️ An abscess develops in a small share of women with mastitis, more often when antibiotics were started late, when breastfeeding stopped suddenly, or after deep massage. The key sign is a lump that stays painful and firm, or turns soft and fluctuant, while the rest of the illness should be improving. The skin over it may be shiny, tight and very red. Fever can persist or come back.
💡 Antibiotics are still given alongside drainage, ideally chosen from the culture of the pus. A breast lump that does not go away after the infection settles should always be checked again, because rarely a breast cancer can look like a stubborn mastitis, especially when there is no fever and the skin looks like orange peel.
🔁 When mastitis keeps coming back
🔍 One episode is common; three or four in a few months is a signal to look for a cause. Repeated mastitis in the same spot needs an ultrasound and a milk culture, and the feeding pattern needs a careful look, ideally with a lactation consultant.
🌻 Some mothers with frequent narrowed ducts try sunflower lecithin or probiotic strains taken from breast milk. The evidence for both is limited; they are generally considered low risk, but they do not replace fixing the latch and the supply.
🍄 Nipple thrush and yeast after antibiotics
🔥 Antibiotics clear harmful bacteria but also some of the friendly ones, which can let yeast grow on the nipple, in the mouth of the baby or in the vagina. Burning, stabbing nipple pain that starts after a course of antibiotics, with no fever and no red patch, points away from mastitis and towards thrush or nipple damage. It is treated differently, usually with antifungal treatment for both mother and baby at the same time. More on prevention and treatment in yeast infection after antibiotics.
🛍️ Exclusive pumping and weaning
💧 Mothers who express all their milk have a slightly different risk pattern. The aim is to pump about as often as a baby would feed and no more, with a well-fitting flange, a comfortable suction level and no long gaps overnight in the early months. Pumping until the breast is “soft and empty” every time tells the body to make more, which keeps the cycle going.
🗿 Myths about mastitis
🌱 Habits that lower the risk
🤝 Cracked nipples are a doorway for bacteria. A nipple that hurts through the whole feed or looks flattened after it is a sign the latch needs adjusting, and a midwife, health visitor or lactation consultant can usually fix it in one or two sessions. Washing hands before feeds and keeping pump parts clean also helps.
🚨 When to see a doctor
⛔ Get medical help the same day if:
🔹 You feel very ill, shaky or confused, or have a fast heartbeat, fast breathing or a fever above 39 °C. These can be signs of sepsis and need urgent care.
🔹 The redness is spreading quickly, or both breasts are affected.
🔹 You are not clearly better 12 to 24 hours after starting home care, or 48 hours after starting an antibiotic.
🔹 There is pus or blood in the milk, a lump that is getting bigger, or skin that is shiny and tight over a swelling.
🔹 A lump stays after the infection has gone, or redness appears when you are not breastfeeding.
📖 Redness spreading on the skin of the chest, away from the breast tissue, can be cellulitis; see cellulitis and skin infections: what needs an antibiotic.
❓ Frequently asked questions
Can I keep breastfeeding with mastitis?
Yes. Feeding from both breasts is safe for a healthy full-term baby and helps recovery. Stopping suddenly raises the risk of an abscess.
Does mastitis always need antibiotics?
No. Many cases settle with normal feeding, cold packs and ibuprofen. Antibiotics are used if there is no clear improvement after 12 to 24 hours or the mother is very unwell.
Which antibiotic is usually used for mastitis?
A staph-active penicillin such as flucloxacillin or dicloxacillin, or cephalexin, usually for 10 to 14 days. All are compatible with breastfeeding.
What if I am allergic to penicillin?
A macrolide such as erythromycin, clarithromycin or roxithromycin, or clindamycin, is usually used. Some women with a mild old rash can take cephalexin after the doctor checks.
Is roxithromycin safe while breastfeeding?
Only very small amounts pass into milk and it is used in nursing mothers in many countries. The label asks for caution, so a doctor should confirm it fits you and your baby.
How should roxithromycin be taken?
Usually 150 mg twice a day or 300 mg once a day, at least 15 minutes before food, for the full course the doctor prescribes.
Should I use heat or ice on mastitis?
Cold packs after feeds are now preferred because they reduce swelling. A short warm shower before a feed is fine, but long heat can increase inflammation.
How do I know if I have a breast abscess?
A lump that stays painful, grows or turns soft while on antibiotics, often with ongoing fever. An ultrasound confirms it and the pus is usually drained with a needle.
How fast should antibiotics work for mastitis?
Most women feel better within 24 to 48 hours. No improvement after 48 hours means the doctor should review the drug and consider a milk culture or ultrasound.
Which painkiller can I take while breastfeeding?
Ibuprofen is preferred because it also reduces inflammation, and paracetamol can be added. Aspirin and codeine are avoided while nursing.
📑 Sources and editorial
- 📘 Breastfeeding medicine protocols on the mastitis spectrum (2022 revision)
- 🏥 National clinical guidance on lactational mastitis and breast abscess
- 💊 Drug and lactation reference databases on antibiotics and painkillers in breast milk
- 🧪 Prescribing information for cephalexin, cefadroxil, amoxicillin-clavulanate, erythromycin, clarithromycin, roxithromycin and clindamycin
- 🔬 Reviews of Staphylococcus aureus and MRSA in lactational breast infection
- 🔊 Surgical and imaging guidance on ultrasound-guided drainage of breast abscess
- 📖 Related reading: antibiotics in pregnancy and breastfeeding, yeast infection after antibiotics, how to take antibiotic tablets correctly, which painkiller to choose, cellulitis and skin infections
- 🛒 Related products: Rulide (Roxithromycin), Keflex (Cephalexin), Duricef (Cefadroxil), Augmentin (Amoxicillin + Clavulanate), Ilosone (Erythromycin), Cleocin (Clindamycin), Motrin (Ibuprofen)
- 🩺 RXshop Editorial Team — reviewed by Anita Sharma, MD — Obstetrician and Gynecologist
Medical Disclaimer: The information in this article is for educational and informational purposes only and is not a substitute for professional medical advice, diagnosis, or treatment. Always seek guidance from a qualified healthcare provider with any questions you may have regarding a medical condition, and before starting, stopping or changing any medication.