Postpartum & newborn

Mastitis: signs, causes and treatment while breastfeeding

How to recognise a blocked duct and mastitis, what helps at home, when you need antibiotics and how to keep breastfeeding.

Milk drop with a warm red patch beside a thermometer, illustrating mastitis while breastfeeding
Mastitis causes a painful, red area and sometimes fever while breastfeeding.

3 min read · Updated

Mastitis is inflammation of the breast tissue, which can be caused by milk that is not flowing well, or by infection. It is common in the first weeks of breastfeeding, though it can happen at any time. It is painful, but it is treatable, and you can usually carry on feeding.

Blocked duct vs mastitis

  • Blocked duct: a tender, wedge-shaped lump in one area of the breast, without fever. It may feel like a hard knot.
  • Mastitis: a red, hot, swollen and painful area of the breast, often with flu-like symptoms such as fever, chills, aching and tiredness.
  • Breast abscess: a painful, firm lump filled with pus, which can happen if mastitis is not treated. It needs medical care.

Symptoms of mastitis

  • A swollen, hard, painful area of the breast
  • Redness, often in a wedge or patch, and warmth
  • Burning pain, sometimes constant during feeds
  • Fever of 38.5 °C or higher, chills, aches
  • Feeling generally unwell

What causes it?

  • Milk not being removed effectively, such as from a poor latch, missed feeds or sudden changes in feeding patterns
  • Pressure on the breast, such as from a tight bra or a bag strap
  • Cracked or sore nipples letting bacteria in
  • Oversupply of milk
  • Stress, fatigue and illness
  • Previous mastitis

What helps at home

  • Keep feeding or expressing. The NHS says the main thing is to carry on breastfeeding, even though it can be painful, because stopping makes the blockage worse. It is safe for your baby, although your milk may taste a little salty. Feed whenever your baby wants, and avoid over-expressing beyond your baby's needs, which can raise supply.
  • Check your baby's latch and positioning
  • Try different positions, with your baby's chin pointing towards the blocked area
  • Very light touch only. The 2022 Academy of Breastfeeding Medicine protocol advises against deep or vigorous massage, which can increase swelling and inflammation
  • Warm flannels or a warm shower before feeds are suggested by the NHS to help milk flow, and the ABM protocol suggests a cold compress after feeds to reduce swelling
  • Rest, fluids and food, and ask for help at home
  • Pain relief. Ibuprofen reduces inflammation and pain, and paracetamol can be added. Both are compatible with breastfeeding.
  • Wear a supportive but not tight bra
  • Avoid heavy pumping beyond your baby's needs, which can increase supply

When to see a doctor

Contact a doctor, midwife or health visitor if:

  • Symptoms have not improved after 12 to 24 hours of home care, or you feel worse, or you have a fever (the NHS advises contacting a GP or NHS 111 then)
  • You feel very unwell
  • Both breasts are affected
  • There is pus or blood in your milk
  • A hard lump stays after a few days, or a red area gets worse
  • Your nipples are cracked and infected

Treatment

If infection is likely, a doctor will prescribe antibiotics that are safe for breastfeeding. Regional NHS guidelines commonly list flucloxacillin, with courses of 7 to 14 days depending on the area and severity. Finish the course, even if you feel better. An abscess may need draining by a healthcare professional, and usually you can still breastfeed.

Preventing mastitis

  • Feed on demand, and do not skip feeds
  • Ensure a good latch, and get help early if feeding hurts
  • Avoid long gaps between feeds, or sudden weaning
  • Change position through the day
  • Avoid tight clothes or underwire bras
  • Treat nipple damage early
  • Look after yourself with rest and good nutrition

Frequently asked questions

Can I carry on breastfeeding with mastitis?

Yes. The milk is safe for your baby, and the NHS advises continuing to feed.

Will my baby get sick?

Usually not. Your baby may refuse the milk if it tastes salty, but that is temporary.

Is it okay to massage hard?

No, vigorous massage can worsen inflammation. Keep it gentle.

Can mastitis happen when not breastfeeding?

Yes, but it is less common, and should always be checked by a doctor.

How long does it take to get better?

Most improve within 24 to 48 hours of treatment.

A lactation consultant can help fix feeding problems that cause mastitis.

Sources: NHS breastfeeding guidance on mastitis; NHS regional antimicrobial guidelines for mastitis; Academy of Breastfeeding Medicine Clinical Protocol #36 (revised 2022).

This article is for general information, not medical advice. If you're worried about your health, talk to a doctor or other clinician.

Track what you just learned.

Log how you feel and Masik shows you the patterns in your own cycle. Free.