Mastitis vs Cancer in Dogs: How to Tell Them Apart

8 min read · updated Nov 9, 2026

Mastitis and mammary cancer cannot be separated at home. Mastitis is an inflamed, usually infected gland that comes on fast with heat, pain and often fever, while a mammary tumor is a firm lump that grows over weeks or months. Only a veterinary exam and a tissue sample can confirm which it is.

A dog being cared for at home, illustrating mastitis vs cancer in dogs: how to tell them apart

Mastitis and mammary cancer can give the same first impression, a swollen, firm, sometimes painful mammary gland, and you cannot reliably separate them with your hands at home. Book a veterinary exam now, and go to an emergency clinic today if your dog has a fever, is dull or refusing food, or if the skin over the gland is dark, cold, weeping or breaking down. In broad terms, mastitis is inflammation of a mammary gland, usually with infection, and it tends to arrive quickly in a nursing or recently pregnant dog with heat, pain and whole-body illness. A mammary tumor is a growth of abnormal tissue, usually felt as a discrete lump, more common in older females that were never spayed or were spayed later in life, and it usually enlarges over weeks or months rather than overnight.

Those are tendencies, not rules. Some aggressive mammary cancers inflame the whole gland and look exactly like a bad infection, and some low-grade infections sit quietly as a single firm nodule. Only a veterinary exam, and in almost every case a needle sample or biopsy of the tissue, can tell these conditions apart, because the way a swelling feels under your hand is not diagnostic. Any new lump along the mammary chain deserves to be checked.

Mastitis: an inflamed gland that usually announces itself

Mastitis is inflammation of one or more mammary glands, most often driven by bacteria that travel up through the teat canal. It shows up most commonly in a dam nursing a litter, especially around the busiest weeks of lactation or at weaning, but it can also occur in a dog going through a false pregnancy that is producing milk, and occasionally after trauma to a gland.

The pattern owners describe is usually sudden. One gland, sometimes two, becomes swollen, warm to the touch and genuinely sore, so the dog flinches, growls or moves away when the area is handled. Milk expressed from the affected teat may look off: thickened, yellow, brown, pink or frankly bloody. The dog herself often feels unwell, with low energy, poor appetite and a fever. Puppies may cry, nurse less, or stop gaining weight, which is sometimes the first clue an owner notices.

Severe mastitis can progress to an abscess or to tissue death, where the skin over the gland turns dark purple or black, feels cool rather than hot, and begins to slough. That version is a medical emergency and the dog needs to be seen immediately, not in the morning.

Mammary tumors: a lump that grows on its own schedule

A mammary tumor behaves differently. It usually starts as a small, firm, well-defined nodule somewhere along the chain of mammary glands, often found by accident during a belly rub. Early on it is frequently painless, the skin over it looks normal, the dog feels entirely well, and there is no fever and no discharge. What makes it concerning is time: it is still there next week, and it is bigger next month.

Mammary tumors in dogs can be benign or malignant, and the two cannot be distinguished by feel, size or location. Firmness, mobility and smooth borders are suggestive at best. Tumors can appear in dogs that were spayed, in older dogs with no breeding history at all, and rarely in male dogs. Research suggests that spaying, and the age at which it is done, influences a dog's lifetime mammary tumor risk, which is one of the reasons this comes up in conversations about when to spay. Your veterinarian is the right person to put that in context for your individual dog.

There is one important overlap worth knowing about. Inflammatory mammary carcinoma is an aggressive form of mammary cancer that mimics severe mastitis almost perfectly: a hot, swollen, red or purple, painful gland, sometimes with swelling of the hind limb and a dog who feels sick. It is the single best argument for not treating a sore gland as a simple infection at home and waiting to see what happens. If a gland looks infected and does not respond the way the vet expects, further testing is how that question gets settled.

Clogged ducts and engorgement, the two milder look-alikes

Not every swollen gland is infection or cancer. Two common, more benign situations account for a lot of worried phone calls.

A clogged or blocked duct happens when milk is not being drained from a gland properly, often because the puppies favor certain teats or a litter is small. The gland becomes firm and full, sometimes a little tender, but the dog is usually bright, eating normally and running a normal temperature. The skin looks normal, not red or purple, and the milk, if it comes out at all, looks like milk. A blocked duct that stays blocked can set the stage for infection, which is why it is worth mentioning to your vet rather than ignoring.

Engorgement is the whole-chain version. Around weaning, after puppies are removed, or during a false pregnancy in an unspayed female, several glands fill at once and become firm, heavy and uncomfortable. The giveaway is symmetry: engorgement typically affects multiple glands on both sides rather than one angry gland, the dog is otherwise well, and the swelling settles as milk production winds down. False pregnancy can also bring behavior changes, nesting, mothering a toy, and a dip in appetite, which rounds out the picture.

Neither of these should be managed by guesswork. Squeezing, hot-packing or massaging a gland that is actually an abscess or a tumor can make things worse, so talk to your vet about what is appropriate before you handle the area.

Side by side: what actually separates them

Use this as a way to organize what you are seeing before the appointment, not as a way to reach a conclusion without one.

Feature Mastitis Mammary tumor Clogged duct Engorgement
Typical onset Hours to a day or two Weeks to months A day or two A few days, often at weaning
Usual context Nursing dam, recent whelping, false pregnancy Older dog, often unspayed or spayed later Nursing dam with uneven milk drainage Weaning, puppy removal, false pregnancy
Glands involved Usually one or two Usually one lump, sometimes several Usually one Several, often symmetrical
Heat and redness Common, gland feels hot Usually absent early Mild or absent Absent
Pain Marked, dog resents handling Often none early Mild Discomfort, not sharp pain
Fever or feeling unwell Common Not typical until advanced Not typical Not typical
Milk or discharge May be discolored, thick or bloody May ulcerate and ooze if advanced Normal milk or none Normal milk
Over time Worsens quickly without care Persists and enlarges Resolves as gland drains Settles as milk dries up

Two honest caveats. Inflammatory mammary carcinoma can tick most of the mastitis column, and a quiet, chronic infection or an old scarred gland can feel like a tumor. Tables narrow the possibilities. They do not close the case.

What your veterinarian does to sort it out

The exam itself does a lot of work: temperature, a careful map of every gland on both chains, checking the local lymph nodes, assessing how the dog feels overall, and asking about reproductive history and timing.

From there, your vet decides which tests fit the dog in front of them. A fine needle sample of the swelling, examined under the microscope, is often the fastest way to separate inflammatory and infectious cells from tumor cells. Milk or discharge may be sampled and cultured when infection is suspected. Bloodwork shows how hard the body is fighting. Ultrasound can show whether a swelling is fluid, abscess or solid tissue. When cancer is on the list, chest imaging and lymph node sampling help answer the staging question, and definitive answers about tumor type and grade come from histopathology after tissue is removed.

Treatment follows the diagnosis, not the other way around, and it is your vet's call. Infection, abscess, blocked duct, benign growth and malignancy are managed in genuinely different ways, and the right plan also depends on whether a litter is nursing. No home remedy, supplement or over-the-counter product substitutes for that decision, and results vary from dog to dog even within the same diagnosis.

Signs that mean same-day or emergency care

Some presentations should not wait for a routine slot. Seek urgent veterinary attention if your dog has a fever or is lethargic, is not eating, is vomiting, has skin over a gland that is purple, black, cold or open, has an abruptly enlarging or ulcerated mass, is hiding from her puppies or refusing to let them nurse, or if the puppies themselves are crying constantly or failing to gain weight. A dam who is systemically ill with mastitis can deteriorate fast, and an aggressive mammary cancer loses ground with every week of watchful waiting.

Key takeaways and what to do next

  • Mastitis usually comes on fast in a nursing or recently pregnant dog, with a hot, painful gland, abnormal milk and a dog who feels unwell.
  • A mammary tumor is more often a firm, painless lump that persists and grows over weeks or months, in a dog who otherwise seems fine.
  • Clogged ducts and engorgement are milder, usually painless or mildly tender, and tied to milk flow rather than infection or growth.
  • Inflammatory mammary carcinoma can look exactly like severe mastitis, which is why a gland that does not behave as expected gets re-examined.
  • Only a vet can distinguish these conditions, and a needle sample or biopsy is usually what provides the answer.
  • Any new mammary lump, in a spayed or unspayed dog, should be examined rather than monitored at home.

The practical move is simple: write down when you first noticed the change, which glands are involved, whether your dog has a fever or seems off, and photograph the area so the progression is documented. Then talk to your vet. The diagnosis and the treatment plan belong to the veterinarian who can examine your dog, run the tests that fit her situation, and look at the tissue itself. Everything else, including anything you read online, is background reading for that conversation.

Related reading: Dog Emergency Signs.

Frequently asked questions

Can mastitis turn into cancer in dogs?
Mastitis is an inflammatory and usually infectious condition, and it is not the same process as cancer. The real concern is the reverse direction of confusion: an aggressive mammary cancer can look like mastitis from the outside. If a gland that was treated as an infection does not behave the way your vet expects, further testing is how that gets clarified.
How can I tell if my dog's mammary lump is cancer or an infection?
You cannot tell reliably at home. Infection tends to arrive quickly with heat, pain, fever and abnormal milk, while a tumor is more often a firm lump that grows slowly in a dog who feels well. Those patterns overlap often enough that a needle sample or biopsy is what actually answers the question.
Can a spayed dog get mastitis?
It is uncommon but possible, usually after trauma or infection reaching the gland rather than through lactation. In a spayed dog, a swollen or lumpy mammary gland raises the index of suspicion for other causes, including mammary tumors, so it should be examined rather than watched.
What does inflammatory mammary carcinoma look like in dogs?
It typically presents as a hot, red or purple, swollen and painful mammary area, sometimes with swelling of the hind limb and a dog who feels generally unwell. Because that description also fits severe mastitis, telling them apart depends on veterinary examination and tissue sampling, not appearance alone.
Is a clogged milk duct in a dog dangerous?
A single blocked duct in an otherwise bright, afebrile dog is usually the mildest situation on this list, but milk that is not draining can set the stage for infection. It is worth reporting to your vet, especially if the gland becomes hot or painful, the milk changes color, or your dog's energy or appetite drops.
How do I know if it is just engorgement after weaning?
Engorgement usually affects several glands on both sides at once, feels firm and uncomfortable rather than sharply painful, and happens in a dog with a normal temperature who is eating and behaving normally. It eases as milk production winds down. One angry, hot gland in a sick dog is a different situation and needs an exam.
Should I use warm compresses or massage a swollen mammary gland?
Ask before you do anything. What helps an engorged gland can worsen an abscess or irritate a tumor, and handling a painful gland may also hurt your dog. Your vet will tell you whether local care is appropriate once they know what they are dealing with.
Can male dogs get mammary tumors?
Yes, although it is rare. Any lump along the mammary chain in a male dog should be examined and sampled rather than assumed to be benign, since appearance and location do not indicate what a growth actually is.
Will my vet need to do a biopsy?
Often the first step is a fine needle sample, which can be done during the visit and frequently separates inflammatory cells from tumor cells. A full biopsy, usually on tissue removed during surgery, is what confirms the exact tumor type and grade. Your vet decides which tests fit your dog's situation.

Educational content, not veterinary advice. Ask your vet about your dog.