Dairy ยท Milking hygiene how-to
Dairy Farm Cleaning Procedures: 7 Steps With Temperatures
Clean milking equipment after every milking in four cycles: warm rinse, hot chlorinated alkaline wash, acid rinse, and a sanitizer cycle just before the next milking (UWโMadison MilkTech). Add clean teats, clean housing and biosecurity, and test both bacteria and somatic cell counts.

Key takeaways
- First rinse at about 100โ130ยฐF, sent to drain, until the water runs clear (UWโMadison MilkTech).
- Start the alkaline wash at 160โ170ยฐF and keep it above about 110โ120ยฐF at the end; circulate 8โ10 minutes.
- Acid rinse at pH 3.5 or lower; sanitize with about 200 ppm chlorine for 3โ4 minutes shortly before milking.
- Raw cow milk SCC limits: 750,000 cells/mL in the US, 400,000 in the UK, EU and Canada.
- US DHI herd SCC fell from 304,000 cells/mL in 1995 to 179,000 in 2021 (CDCB).
In this article
- Why the cleaning routine matters
- Milk quality limits by market
- Dairy farm cleaning procedures at a glance
- Step 1: First rinse right after milking
- Step 2: Hot chlorinated alkaline wash
- Step 3: Acid rinse
- Step 4: Sanitize just before milking
- Step 5: Clean, dry teats at every milking
- Step 6: Housing and parlor sanitation
- Step 7: Biosecurity and manure handling
- Weekly wash cost calculator
- Troubleshooting a high count
- Forage fields and the rest of the farm
- FAQ
Dairy farm cleaning procedures for milking equipment run in four cycles after every milking: a warm first rinse, a hot chlorinated alkaline wash, an acid rinse, and a sanitizer cycle just before the next milking. University of Wisconsin training material gives the usual targets: a first rinse at 100โ130ยฐF, a wash that starts at 160โ170ยฐF and ends near 110โ120ยฐF, and an acid rinse at pH 3.5 or lower (UWโMadison Milk Research and Instruction Lab, MilkTech cleaning cycles).
The equipment routine sits inside a wider plan: clean, dry teats at milking, clean housing, and biosecurity at the farm gate. This guide gives each step with its numbers, the somatic cell count (SCC) and bacteria limits that buyers test against in the US, Canada, the UK and the EU, and a calculator for the weekly cost of your own wash routine.
Why the cleaning routine matters
Milk leaves a film of fat, protein, sugar and minerals on every surface it touches. If that film stays, bacteria grow in it between milkings and get into the next batch of milk. A University of Idaho Extension guide on cleaning and sanitizing milking equipment names unclean equipment as a major cause of high bacteria counts and poor milk quality, and lists four controls for every wash: temperature, time, turbulence and detergent concentration.
Two numbers show whether the routine works:
- Bacteria count (standard plate count or individual bacteria count). This mostly reflects how clean the equipment is and how fast milk is cooled.
- Somatic cell count. This mostly reflects udder health and mastitis. Teat preparation and a clean, dry bed for the cows move it the most.
Buyers and regulators test both. A high count can mean a lower price, lost quality premiums or, if it stays high, a halt on milk pick-up.
Milk quality limits by market
Each market sets its own ceiling for raw cow milk. The table and chart below show the published limits.
Chart
Raw cow milk somatic cell count limits
thousand cells per mL, regulatory ceiling
| Market | SCC limit (cells/mL) | Bacteria limit | How it is judged |
|---|---|---|---|
| United States | 750,000 | Set by the Pasteurized Milk Ordinance | At least 4 official samples in each 6 months; warning if 2 of the last 4 are over the limit, permit suspension if 3 of the last 5 |
| UK and EU | 400,000 | Plate count at 30ยฐC of 100,000 per mL | Rolling geometric average: 3 months for SCC, 2 months for plate count |
| Canada | 400,000 | 50,000 CFU/mL or 121,000 individual bacteria/mL | Set by each province (Saskatchewan example) |
Sources: the UK’s retained version of Regulation (EC) No 853/2004, Annex III, Section IX, which carries the same raw cow milk limits as the EU text; a University of Wisconsin paper by Pamela Ruegg on bulk tank somatic cell count monitoring for the US rule; and the Government of Saskatchewan milk and milk product testing guide for Canada. Your milk buyer may set tighter limits for premiums. Check your contract and your state or provincial dairy authority.
The same UK and EU annex also says milk must be cooled at once to 8ยฐC or less with daily collection, or 6ยฐC or less if collection is not daily. Fast cooling and clean equipment work together: a clean tank still lets bacteria grow if milk sits warm.
Dairy farm cleaning procedures at a glance
This table sums up the four equipment cycles and the three farm routines around them. Temperatures and times are the ranges given in the cited university guides. Your detergent label and your equipment dealer’s wash chart come first.
| Step | When | Key settings | Main job |
|---|---|---|---|
| 1. First rinse | Right after milking | Warm water, 100โ130ยฐF, one pass to drain | Flush loose milk before it dries |
| 2. Alkaline wash | After the rinse | Starts 160โ170ยฐF, ends near 110โ120ยฐF, 8โ10 min | Remove fat and protein |
| 3. Acid rinse | After the wash | pH 3.5 or lower, 100โ120ยฐF | Remove minerals, lower surface pH |
| 4. Sanitize | Just before next milking | About 200 ppm chlorine, 3โ4 min | Kill bacteria left on surfaces |
| 5. Cow prep | Every milking | Pre-dip, fore-strip, dry, post-dip | Clean, dry teats; spot mastitis |
| 6. Housing | Daily and weekly | Scrape, rebed, wash parlor | Keep cows clean and dry |
| 7. Biosecurity | Ongoing | Visitor, vehicle and feed controls | Keep disease off the farm |
The chart below shows the temperature window for each cycle. The wash is the only cycle where the start and end both matter, because the solution cools as it moves through the line.
Chart
Temperature window for each cleaning cycle
ยฐF, low and high end of the recommended range
Step 1: First rinse right after milking
Start the rinse as soon as the last unit comes off. Milk that dries on stainless steel or rubber is much harder to remove.
- Water temperature: warm, about 100โ130ยฐF (38โ55ยฐC), per the UWโMadison MilkTech guide. Water much hotter than this can bake protein onto surfaces; much colder water can leave fat behind.
- Do not recirculate. Send rinse water to drain after one pass. Keep rinsing until the water at the end of the system runs clear.
- Warm the system. The rinse also heats the pipes, so the wash that follows loses less heat.
- Rinse the bulk tank as soon as it is emptied, before the milk film dries.
The Idaho guide says a good rinse removes at least 95% of the milk residue, which leaves less soil for the detergent to handle.
Step 2: Hot chlorinated alkaline wash
The wash removes the fat and protein the rinse left behind. Chlorinated alkaline detergents contain sodium or potassium hydroxide to break down fat and protein, chlorine to help lift soil, and other agents that hold minerals in solution.
- Start hot: 160โ170ยฐF (70โ77ยฐC) at the start is the usual target.
- Stay hot enough: the wash should end at about 110ยฐF (43ยฐC), or 120ยฐF (49ยฐC) for hard-to-clean systems, per MilkTech. For hand-washed calf-feeding equipment, the Cornell University NYSCHAP cleaning protocols treat 120ยฐF as the lowest temperature at any point in a wash. Below that, soil can settle back onto surfaces.
- Circulate long enough: 8โ10 minutes is the MilkTech guide; the older Idaho guide gives 7โ15 minutes, depending on the manufacturer.
- Turbulence: in pipelines, an air injector creates slugs of water that scrub the top of the line. A slow, full pipe does not clean well.
- Right strength: measure detergent by the label for your water hardness and water volume. Too little leaves soil. Too much wastes money and can harm rubber parts.
Never mix acid and alkaline products in the same tank. They cancel each other out, and some mixes with chlorine give off toxic gas. Follow the product label and local rules.
Step 3: Acid rinse
The acid rinse dissolves mineral deposits (milkstone) from hard water and milk, and leaves a low-pH surface where bacteria grow poorly until the next milking. Cornell’s guide to cleaning calf-feeding equipment explains why: the acid rinse lowers surface pH, and bacteria grow best near the neutral pH of milk.
- pH: 3.5 or lower, per MilkTech. If your water has silicates, the guide notes a pH below 5 to 6 may be enough. Check the label.
- Temperature: warm water, about 100โ120ยฐF (38โ49ยฐC). If you rinse at 68ยฐF (20ยฐC) or below, use a non-foaming acid.
- Watch for film: a white or blue-grey film on stainless steel often means the acid step is too weak or too short.
Some farms alternate acid and alkaline products, or run an acid wash on a set schedule. Your chemical supplier can tell you what fits your water test.
Step 4: Sanitize just before milking
Sanitizing kills bacteria that grew on surfaces during the hours since the last wash. Do it shortly before milking starts, not right after the wash.
- Strength: MilkTech gives about 200 ppm final chlorine for the pre-milking sanitizer cycle.
- Time: 3โ4 minutes of circulation.
- Drain well: let the system drain fully so sanitizer does not mix with milk.
- Hand-clean what CIP misses: wash and sanitize small parts, such as gaskets, valves and bulk tank outlets, by hand.
Use only sanitizers that are approved for milk-contact surfaces in your country, at the label rate.
Get the wash system checked regularly
Ask your equipment dealer for a full wash check regularly (many dealers do this yearly): test water hardness and iron, record wash temperatures at the start and the end, check the air injector and slug speed, and confirm the detergent dose. Keep the readings, so a rising bacteria count can be traced to one cycle.
Step 5: Clean, dry teats at every milking
Equipment cleaning keeps bacteria counts down. Cow preparation keeps SCC down. Penn State Extension’s standard operating procedure for the milking facility sets out a routine every milker should follow the same way:
- Pre-dip with a product that has research behind it. Cover at least three-quarters of each teat and leave it on for the time on the label.
- Fore-strip 4โ5 squirts from each teat into a strip cup. This lets you spot mastitis and removes the milk with the highest cell count. It takes about 10 seconds.
- Wipe dry with one clean towel per cow, with a twisting motion that cleans the teat end.
- Attach the unit 60โ90 seconds after the first touch (at least 90 seconds for herds milked three times a day).
- Post-dip as soon as the unit comes off. The teat end stays open for about 30 minutes after milking.
The University of New Hampshire Extension guide to correct milking procedures adds two points: wear disposable gloves, because bare hands spread bacteria between cows, and never strip onto the floor of a tie-stall barn, where cows will lie down. Do not machine-strip cows by weighing down the claw.
For tail clipping, belly hair and more cow-side habits, see our separate guide to dairy farming hygiene tips for milk quality.
What US herd data show
Herds that test with Dairy Herd Improvement (DHI) have cut cell counts over time. Council on Dairy Cattle Breeding (CDCB) data show the national average test-day herd SCC fell from 304,000 cells/mL in 1995 to 179,000 in 2021 (CDCB research report SCC23). A CDCB summary reported in Progressive Dairy (April 2025) put both 2023 and 2024 at 181,000 cells/mL.
The share of herd test days above 400,000 cells/mL, the EU and Canadian limit, fell from 27.2% in 1995 to 8.5% in 2021 in the same report.
Chart
US DHI herd somatic cell count
national average test-day herd SCC, thousand cells/mL, selected years
Step 6: Housing and parlor sanitation
Clean, dry cows come from clean, dry housing. Manure on teats is the main route for environmental mastitis bacteria.
- Parlor: hose down after each milking, and clean the walls, rails and floor so cows walk back on a clean surface.
- Stalls and beds: remove wet or soiled bedding daily and top up with dry bedding. Sand, sawdust and recycled manure solids all need regular raking.
- Alleys and yards: scrape at least as often as cows are milked, so they do not carry manure into the parlor.
- Feed areas: clear spilled and spoiled feed, which draws rodents and birds.
- Disinfect in the right order: remove dirt first, wash, rinse, then apply a disinfectant. Disinfectants work poorly on dirty surfaces.
Plan where the wash water goes. Parlor and wash water carry milk solids, chemicals and manure, and usually belong in the manure storage, not a ditch. Check your state or local water rules.
Step 7: Biosecurity and manure handling
Biosecurity keeps new disease off the farm, so you are not cleaning up after an outbreak.
- Visitors: keep a log, give them clean boots or covers, and keep them away from cows unless they must enter.
- Vehicles: keep milk trucks, feed trucks and dead-stock pick-up on fixed routes away from cow areas, and clean shared machinery before it comes back on the farm.
- New animals: isolate them and test them before they join the herd.
- Feed and water: buy from known suppliers and keep troughs clean.
- Staff: clean clothes for milking (also a UK and EU legal duty under Annex III), hand washing, and boot dips at key doors.
- Manure: store it where cows cannot reach it, and spread it under a nutrient plan. For ideas on cutting the farm’s footprint, see our post on sustainable dairy farming.
Your vet can help you write a herd biosecurity plan that fits your disease risks.
โถ How to add a field boundary for satellite monitoring, all three ways. ยท 3:50
Weekly wash cost calculator
Enter your own numbers to see what the four equipment cycles cost each week, and how that compares with a milk quality premium. The default values are examples only, chosen to land close to break-even. They are not benchmarks.
The calculator counts hot water, chemicals and labour for the rinse, wash, acid and sanitize cycles. It leaves out housing work, equipment depreciation and repairs.
Try the numbers for your own farm below.
Calculator
What does your milking system wash cost each week?
Enter your own washes, water, chemical and labour figures.
- Cost per wash (US$): $12
- Cost per cwt shipped (US$): 0.28
- Quality premium per week (US$): $150
- Premium minus wash cost (US$): -$18
Example values only, not benchmarks, chosen to land near break-even. Every number is your input; prices are examples, use today’s prices. Covers rinse, wash, acid and sanitize cycles only; excludes housing work, depreciation and repairs.
Troubleshooting a high count
When a test comes back high, match the count to the likely cause before changing everything.
Chart
US herd test days above 400,000 cells/mL
% of DHI herd test days, selected years
| Result | Look first at | Checks |
|---|---|---|
| High bacteria count | Equipment cleaning and cooling | Wash start and end temperature, detergent dose, slug action, worn rubber, tank cooling speed |
| High SCC | Udder health | Cow prep routine, bedding, milking machine settings, which cows are high on DHI tests |
| Both high | Mastitis plus cleaning | Run the two lists above, and talk to your vet and equipment dealer |
| Milkstone film | Acid rinse | Acid strength, water hardness, rinse temperature |
| Greasy film | Alkaline wash | Wash too cool or too short, low detergent |
Change one thing at a time and keep testing. If counts stay high, ask your milk buyer’s field staff or a dairy extension specialist to watch a full milking and wash.
Forage fields and the rest of the farm
Many dairy farms also grow their own feed: corn silage, hay and pasture. Clean milk starts in the parlor, but herd health also depends on steady forage quality from those fields.
Satellite crop maps can show which parts of a silage or pasture field are falling behind, so you can check them on foot before harvest. Farmonaut offers this kind of field monitoring. It does not measure milk quality or check your wash system; those stay with your milk tests and your equipment dealer.
Related pages on our site: farm-to-buyer traceability ยท vehicle and fleet records ยท farm carbon footprint tracking ยท managing many farm sites ยท web and mobile apps ยท satellite and weather API docs
โถ How satellite NDVI maps show crop stress across a large corn farm before it is visible. ยท 4:09
FAQ
What are the four steps of cleaning milking equipment?
First rinse with warm water right after milking, a hot chlorinated alkaline wash, an acid rinse, and a sanitizer cycle shortly before the next milking. UWโMadison’s MilkTech material lists these as the cycles most commonly used in the US.
How often should milking equipment be cleaned?
After every milking, with a sanitizer cycle before each milking. UK and EU rules say milk-contact surfaces must be cleaned after use, and milk transport tanks at least once a day.
What temperature should the wash water be?
Start the alkaline wash at about 160โ170ยฐF and keep it above about 110โ120ยฐF at the end. Your detergent label and your dealer’s wash chart take priority.
What is the legal somatic cell count limit?
750,000 cells/mL in the US, and 400,000 cells/mL in the UK, the EU and Canada. Many milk buyers pay premiums for counts well below these limits.
Why is my bacteria count high when the SCC is low?
A high bacteria count with a low SCC usually points to equipment cleaning or slow cooling rather than mastitis. Check wash temperatures, detergent dose, worn rubber parts and how fast the tank cools.
Do dairy farm cleaning procedures differ for robotic milking?
The same four cycles apply, but the robot runs its own wash program on a set schedule. Follow the maker’s program and still check temperatures and chemical use.
Farmonaut crop monitoring
See your forage fields from space
Draw your silage and pasture fields once and Farmonaut shows satellite vegetation maps for them through the season, on web, Android or iOS.

Sources
- UWโMadison Milk Research and Instruction Lab, MilkTech: Cleaning and sanitation cycles (2021): uwmril.wisc.edu
- University of Idaho Extension, Cleaning and Sanitizing Milking Equipment: objects.lib.uidaho.edu
- Cornell University NYSCHAP, Cleaning protocols: vet.cornell.edu
- legislation.gov.uk, Regulation (EC) No 853/2004 Annex III: legislation.gov.uk
- University of Wisconsin (Ruegg), Understanding the changes in bulk tank SCC monitoring: outagamie.extension.wisc.edu
- Government of Saskatchewan, Milk and milk product testing: publications.saskatchewan.ca
- Penn State Extension, Standard operating procedure for the milking facility: extension.psu.edu
- University of New Hampshire Extension, Correct milking procedures: extension.unh.edu
- Council on Dairy Cattle Breeding, research report SCC23 (2022): queries.uscdcb.com
- Progressive Dairy, National DHI test-day SCC unchanged at 181,000 (April 2025): agproud.com
- Penn State Extension, Milking management: consistency is the key: extension.psu.edu
Discussion
Questions, corrections or field experience? Share them below. First-time comments are reviewed before they appear, and your email is never published.
No comments yet. Be the first to add a question or your experience.







Exploration consultancy · South Africa · Gold
Licence holder · Niger · Gold
Licence holder · Nigeria · Gold + lithium
Client · Tanzania · Gold
Client · Somalia · Gold
Client · Oregon, USA · Gold
Client & affiliate partner · Ghana · Gold