Mastitis is inflammation of the udder, almost always caused by bacteria, and the most useful first question is not “which medicine?” but “which type is it?” Contagious mastitis spreads from cow to cow during milking, while environmental mastitis comes from dirty, damp bedding and wet teats. They need different control. Most infected cows show few signs at all (subclinical mastitis): the milk looks normal, but the somatic cell count is high and the yield is falling. This guide explains the two types, how to detect each form, the classic five-point plan, and when a cow needs a vet.
Written for dairy farmers and students. It is educational and does not replace a veterinarian, who should choose any treatment for a cow with mastitis.
Two ways to describe mastitis (do not mix them up)
| Question | Answer one | Answer two |
|---|---|---|
| How does it look? | Clinical: you can see it (abnormal milk, a hot, swollen, painful quarter) | Subclinical: nothing visible; the cell count is high and yield falls |
| Where do the bacteria come from? | Contagious: from other infected cows, spread at milking | Environmental: from bedding, dung and the surroundings |
Either type can show up as clinical or subclinical, so the two descriptions cross. The division is not perfect (some environmental bacteria can spread at milking, and the reverse), but it is the best starting point for control.

Contagious versus environmental
| Contagious | Environmental | |
|---|---|---|
| Main bacteria | Staphylococcus aureus, Streptococcus agalactiae, Mycoplasma | E. coli, Streptococcus uberis and other bacteria from the cow’s surroundings |
| Reservoir | The udders of infected cows | Bedding, dung, mud and water |
| How it spreads | At milking, through the milking machine, milkers’ hands, teat-washing cloths and treatment procedures | Mostly between milkings, when teats are wet or dirty |
| Typical picture | High cell count, often subclinical, recurring flare-ups | Sudden clinical cases, sometimes severe |
| Key control | Post-milking teat dip, milk infected cows last, cull chronic cases, clean milking | Clean, dry bedding and clean, dry teats before milking |
Since the five-point plan was introduced, the old contagious bacterium Strep. agalactiae has become uncommon, and Strep. uberis and E. coli are now bigger causes. Staph. aureus is harder: it is often at the root of long-term high cell counts and recurring mastitis, it is difficult to treat, and cure rates are low even with dry cow therapy.
How to detect it
- Clinical mastitis: changes in the milk (clots, flakes, a change of colour or consistency) and swelling, heat, pain or redness of the quarter. Strip a few squirts from each quarter into a cup or onto a dark surface before milking. A strip cup works only for clinical cases.
- Subclinical mastitis: use the California Mastitis Test (see our CMT guide) or a somatic cell count. Somatic cells are mostly white blood cells, so the higher the count, the more inflammation in the udder. A count above about 200,000 cells per ml in a quarter points to infection.
- Culture: milk culture identifies the bacteria and the antibiotics that kill them. Take samples before starting treatment. If the problem is a high cell count, sample 10 to 12 cows with high counts, because samples from clinical cases will not represent the problem.
A fall in milk yield almost always accompanies infection. Heat stress also raises cell counts and clinical cases: see heat stress in dairy cows.
The five-point plan
Developed in the 1960s to control mastitis in dairy herds, the plan rests on two principles: remove existing infections, and prevent new ones.
- Treat and record every clinical case promptly, following your vet’s advice. Records show which cows and quarters keep relapsing.
- Disinfect every teat after every milking (post-milking teat dip). It is an excellent control for contagious bacteria, especially Staph. aureus and Strep. agalactiae.
- Dry cow therapy: a long-acting antibiotic infused into the udder at the end of lactation to clear existing infections, usually with a teat sealant to block the teat canal. Ask your vet whether to treat all cows or selected cows.
- Cull chronic cases. A cow with repeated flare-ups of a resistant infection is a source of infection for the others.
- Maintain the milking equipment and the routine, so that the machine does not push bacteria up the teat canal.
A milking routine that protects the udder
- Wash and dry your hands, and use a clean, single-use cloth or towel for each cow where you can, because cloths and hands carry contagious bacteria between cows.
- Clean the teats, dip them in a pre-dip disinfectant for the contact time on the label, and wipe them dry.
- Strip 3 to 5 squirts from each quarter and look for abnormal milk.
- Attach the unit (or milk by hand) calmly and remove it promptly when milk flow stops.
- Dip every teat immediately after milking.
- Milk cows with mastitis last to reduce cross-infection.
For environmental mastitis, the most important point is the cow’s surroundings: clean, dry, comfortable bedding, and clean, dry teats at milking. Flies that bite the teats can add to the problem.
When to call the vet
- The cow is dull, off feed, hot, or has a very hard or swollen udder: a severe mastitis can make a cow seriously ill within hours.
- The milk is bloody, watery or contains clots, or the quarter is hard and painful.
- The same quarter or cow keeps relapsing, or several cows have high counts.
- You are thinking of antibiotic treatment: the vet will choose the product and tell you how long to discard the milk.
A cow off feed after calving with a hot udder may have more than one problem: see cow not eating after calving and milk fever.
Frequently asked questions
Can milk from a cow with mastitis be used?
Milk from an infected quarter should not go for sale, and milk from cows treated with antibiotics must be withheld for the period stated on the label or by your vet. Never feed that milk to calves unless your vet says it is safe.
What is the most important single measure?
It depends on the type. For contagious mastitis, post-milking teat dipping and milking infected cows last. For environmental mastitis, clean, dry bedding and teats. Knowing which type you have comes first, and that needs cell counts and culture.
Why is my cell count high when the milk looks normal?
That is subclinical mastitis. Most infected cows show few clinical signs, but have a high cell count and give less milk.
Does mastitis occur in buffaloes?
Yes. The principles are the same: clean milking, teat dipping, early detection and veterinary advice. Cell-count thresholds for buffaloes and local breeds can differ, so ask your vet or dairy cooperative.
Sources and further reading
- NADIS (UK): Mastitis part 2: the bacteria (contagious versus environmental, control by the five-point plan, sampling).
- University of Missouri Extension: Mastitis manual (M188) and the mastitis control conference notes (clinical signs, cell counts, strip cup, pathogen groups).
- Pennsylvania State University Extension: Mastitis-causing pathogens and how they get on your farm (pre-dip, forestripping, wiping, attaching the unit).
- eXtension (US land-grant universities): A practical look at contagious mastitis (spread by machines, hands and cloths; subclinical infection and falling yield).
- University of Kentucky: Staphylococcus aureus mastitis (ID-190) (milking order, dry cow therapy, fly control); WikiVet: streptococcal mastitis in cattle (cell count above 200,000, five-point plan).
- Norbrook: Best practice guide for on-farm mastitis control (somatic cells, the five-point plan; a company guide).
Reviewed by Dr. Rameez Bloch, BVSc & AH, MVSc (Gujarat Veterinary Council Reg. 3570). Last reviewed: November 2026. For education only. Treatment, dry cow products and milk withdrawal must be decided with your veterinarian.