Composting barns can be a dairy solution

There is increasing recognition that 24/7 paddock wintering of cows is not the way forward for New Zealand dairy. The challenge is to find solutions. These solutions need to achieve good environmental management, they need to be animal friendly, and they also need to make economic sense.

Over recent months I have been on a personal journey of learning about composting barns. That journey is ongoing and I have more to learn. But I am now at a point where I am confident that composting barns can be a major part of the strategic solution for New Zealand dairy. They can be win-win-win for the environment, for animals, and for profitability.

There is one important qualification to the above statement. It is that none of us yet have all of the answers for New Zealand conditions. Also, there is evidence that some farmers are going into composting barns with a poor understanding of the critical factors for success.

With a composting barn, if things go wrong they can go really wrong. In that situation, what should be sweet smelling, dry and warm compost, which cows love to lie in, turns to smelly sludge. At that point, it is ‘out with the sludge’, and back to square one. But if the basic design of the shed is wrong, things will go wrong again.

If working well, the compost stays in the barn for 12 months. It then gets taken out, left for some further decomposition, and used as valuable fertiliser.

For success, the key requirement is to first get the infrastructure right, and then manage the barn so as to maintain an environment that favours aerobic bacteria (the good fellows) rather than anaerobic bacteria (the bad fellows).

The distinguishing concept of a composting barn is that composting occurs in situ. The cows roam freely in the barn and lie on a mix of wood chips and straw, with the wood-chip component being critical.

It would be nice if the cows could be toilet trained but they can’t. So, the cows defecate and urinate directly into their beds. However, as long as there is adequate ventilation combined with daily mechanical aeration, then the beds remain dry, warm and sweet smelling.

Composting barns are not new, but it is only in the last few years that the requirements to make the system work have become better understood.

The first time I took much notice of composting barns was close on ten years ago, when I heard that Fonterra had constructed some at Hangu, the first of their China farms. From all accounts, it was less than successful. For their subsequent farms at Yutian and also at the third hub, they have gone to the tried and tested American free-stall system. It is to Yutian, rather than Hangu, where they take visitors who are lucky enough to be allowed to visit their China farms.

Knowing something of the problems at Hangu, I subsequently cautioned an international corporate client of mine in another part of the world from building composting barns. I remain cautious in relation to dairy corprorates going that way until more experience is gained, because of the need for hands-on monitoring and early recognition if something is not quite right.

Of course, that proviso of hands-on monitoring is relevant to any farm. It needs someone on-site who is passionate about making it work. A probe thermometer and moisture meter should be basic tools.

The key event that set me on the composting journey was a visit in May of this year to two composting barns in Oregon, separately owned by the Cowan and Bennett families. I was there in Oregon with a team from construction company Calder Stewart and our main focus was to learn about hybrid systems that combine barns with grazing. But as so often on such trips, the key insights came out of left field. In this case it was composting barns.

What I saw there were two barns that were working well. At the Bennetts farm, I saw robot-milked cows that had a post-milking choice of whether they went to a free-stall barn or a composting barn. Most were going to the composting barn. The compost was dry and sweet smelling and the cows were clean. The Bennetts described how their replacement rates and somatic cell counts had both dropped since building the compost barn.

The Bennett composting barn in high rainfall Western Oregon

On returning to New Zealand, I started talking to Waikato-based consultants Sue Macky and Bryan McKay about their experiences with composting barns. Bryan quickly pointed out to me that it was better to talk about ‘composting barns’ rather than ‘compost barns’. This is to reduce confusion between these and other systems where the cow poo and urine are collected, with the liquid then squeezed out, and the dry poo then used as cow bedding.

I have seen this second system working very well in the Netherlands in association with free-stall barns, and it too has potential here in New Zealand. However, it is fundamentally different to in-situ composting which is the focus of this article.

So, to avoid confusion I now use the term ‘composting’, but note much of the overseas literature still calls them ‘compost’ barns.

Sue Macky subsequently introduced me Tony Allcock who is one of her Waikato-based clients. Tony farms with his wife Fran and son Lucas, and they are now into the fourth year with a composting barn.

I arrived at the Allcock farm with cold feet on a miserable wet winter day, but after standing in the barn for a few minutes my feet warmed up nicely. That is what happens in a composting barn which is working properly.

The Allcocks’ barn is designed so that liquid can flow out of the compost and into the dairy effluent management system. In practice, there is no liquid; it all evaporates away.

The Allcock Waikato composting barn, freshly aerated, with cows about to return from grazing

I am aware of other barns where either the liquid does not evaporate, or where it evaporates but then descends in a condensation rain event. It is all about getting the design right.

Shifting to a composting barn has required a fundamental shift of farming system for the Allcocks. They have moved from a typical NZ grazing system to one where the cows spend part of every day in the barn and part grazing outside.

Under the old system, the production varied between 88,000 and 99,000 kg milksolids per year. Since making the change, production was 128,000 kg in the first year, 134,000 kg in the second year and 147,000 kg in the third year. The target going forward is 180,000 kg.

Nearly all of the production increase has come from higher production per cow rather than increased cow numbers. Production per cow has lifted from about 380 kg milksolids to 544 kg last year.

Tony described to me how in total they have spent $900,000 on the new system, including lots of concreting in the surrounds, and also the purchase of a feed mixer wagon and small tractor for aerating the compost. The roof structure itself is well under half the total cost.

By my calculations, the total capital spend has been $18 per additional kg of milksolids, based on last season’s production. This will drop further using this year’s increased production.

The two most important feed components are pasture and home-grown maize silage. Additional feed includes some PKE and soy, but by my calculations over 80% of the feed is produced on-farm.

I have yet to do a full economic analysis of the transition to a hybrid system comprising pasture grazing plus a composting barn. But everything I have seen so far tells me that the outcomes are triple bottom line in relation to reducing the nitrogen leaching from cow urine, being very strong on cow welfare, and also stacking up as a financial investment.

The Allcocks still farm with seasonal calving. However, 12-month milking with its increased biological feed conversion efficiency combined with off-season premiums would certainly be feasible.

In moving towards broader acceptance of composting barns, there are lots of issues to consider. Sue Macky has strong concerns that some farmers are failing to recognise the key requirements for success and in some cases are getting things horribly wrong. It can be a Kiwi trait to try and figure things out ourselves without learning from those who have gone before.

Some of the basic mistakes relate to insufficient compost area per cow, insufficient wood chips or shavings, insufficient open wall height, insufficient roof pitch, lack of roof venting, wrong placement of drinking troughs (they should be outside the composting area), and group sizes too large.

One of the issues I am currently exploring is where all the bedding is going to come from if everybody starts building composting barns. This has potential to be the greatest constraint. On-farm coppiced poplars, or other fast-growing species such as eucalypts, might be part of the way ahead. Industrial hemp also makes excellent bedding. Our research institutions need to step up and get involved.

About Keith Woodford

Keith Woodford is an independent consultant, based in New Zealand, who works internationally on agri-food systems and rural development projects. He holds honorary positions as Professor of Agri-Food Systems at Lincoln University, New Zealand, and as Senior Research Fellow at the Contemporary China Research Centre at Victoria University, Wellington.
This entry was posted in Agribusiness, Composting mootels, Dairy, Fonterra, Land and water. Bookmark the permalink.

14 Responses to Composting barns can be a dairy solution

  1. Maybe you could add a few more wins to your winx3 by including biochar in the bedding. This is growing in popularity in Europe ( and USA (

    The additional benefits could include: improved nutrient retention and cycling; reduced emissions (ammonia, methane, Nox, CO2, leachate); improved moisture management – improved aerobic environment; reduced odor / less flies; improved pathogen control and animal health; improved humidity control and animal comfort; increased bedding lifespan; enhanced biochar for subsequent direct farm application or composting; potential for farm nutrient cap management.
    Lots of untested claims here for NZ conditions… we are looking for trial partners for this biochar application.

    • Keith Woodford says:

      Biochar should work well given its porosity and hygroscopic nature. Do you have an indicative cost per cubic metre? Cost will be a key ssue.

      • There are locations in NZ where low cost products (similar pricing to existing bedding materials) are available now. BoP/Waikato is where we hope to find trial partners.
        Future biochar pricing is a big subject. Lots of factors: biomass type/availability/cost; production system (scale; technology; co-products); post-production processing; transport distance; cascading services; final application value. The costs will always range between free (your labor cost) to whatever specific high value market applications will bare (think activated carbon). A farm coop could share equipment costs with small energy user (say greenhouse), provide biomass and retrieve biochar… there are many scenarios.

    • Gillian Mangin says:

      This was my first thought as well. Would be interested to be linked in to any developments in this concept for using biochar, which would have the advantage of then also becoming a soil conditioner when compost is spread. Have thought in the past that biochar could be usefully added under Herd Homes etc.

      • Keith Woodford says:

        The challenge with the standard Herd Home trademarked design is the hard slatted floor which is not good for cow comfort with ongoing confinement (but OK for short periods). If biochar (or other bedding) is used with standard Herd Homes then there are likely to be issues of getting sufficient ventilation for the necessary evaporative processes.

      • Hi Keith, on your reply to Gillian… one of biochar’s key attributes relates to moisture and humidity management. The Japanese have been using charcoal in the walls and floors of their homes for decades, to manage their environment ( These bedding issues have been tested overseas and now need proving in NZ. I guess slatted floor designs and rubber mats systems may not be appropriate for conversion but I’m betting the composting barn will be ideal/

      • Keith Woodford says:

        I can probably find a farmer who would provide the barn (actually a modest sized section thereof) for a biochar trial, but I would prefer not to ask him to pay for that trial. In other words, he would provide the barn environment and assist with measurements, but you folk might need to provide the biochar.

  2. Daniel viotti says:


  3. Tom Walker says:

    I first heard of the compost barn idea Keith when Joel Salatin from Poly Farms was touring NZ a few years ago…I think he had the novel idea of sprinkling corn in the bedding and then would bring in pigs to do the aeration!

  4. Pingback: Rural round-up | Homepaddock

  5. John W Hill says:

    Keith, I left the farm in New Zealand immigrated to Canada where I now work as a contractor specializing in computer integrated manufacturing so I work with computerized machine tools, robots, and automated systems. I’m a licensed tool & die maker with a mechanical engineering degree, diplomas in Computer Integrated Manufacturing, Robotics & Automated Systems and a diploma in Project Management. It is in the last 3 years that I have paid any attention to farming and only because a young farmer came to my office to have a talk on automating his milking operation. That is when I started to get interested in dairy again, I ran away farming in New Zealand only for it to catch up to me in Canada but things have changed dramatically. I did realize how much automation was becoming part of modern agriculture along with the amount of data that is being captured to monitor production.
    Here are some links that may interesting. The old dairy barns are being bulldozed down and burned and a new barn goes up with automation and sensors and milking robots. Composting in its various forms seems to be catching on but there is still a lot of barley and oat straw used. This is because it is part of the potato farm rotation. The combines have choppers. After direct heading, the straw is windrowed round bailed. Its readily available and goes for $12 a big round bale which has replaced the small rectangular bale
    Here are some links that may interesting. The old dairy barns are being bulldozed down and burned and a new barn goes up with automation and sensors and milking robots. Composting in its various forms seems to be catching on but there is still a lot of barley and oat straw used. This is because it is part of the potato farm rotation. The combines have choppers. After direct heading, the straw is windrowed round bailed. Its readily available and goes for $12 a big round bale which has replaced the small rectangular bale

    Click to access id206.pdf

    Click to access Nova-Scotia-Test-final.pdf

    Hope you find this helpful.

  6. Hi Keith
    An inspirational piece on composting barns. We saw these in South Africa some 27 years ago but in this case for chickens. I suppose it was easier for them because of the almost solid urine that chickens produce. Instead of wood shavings they used the chunky saw dust that comes from lumber mills. Labor was not dear so the daily aeration was done by hand. The farmer we visited mentioned, as you did, how much healthier his animals were on this medium. Over the duration of a batch of chickens, the light tan colored saw dust turned to a rich brown with virtually no smell what so ever. Since ammonia was apparently not being produced, all that nitrogen was presumably fixed into biomass in the compost. What a fantastic product. Apropo, I grew up in Vancouver and we had a saw dust burner in the basement for heating the house. There they use huge trucks to transport the sawdust and blow it via a flexible pipe of about 120mm wherever you want it. If we go for composting barns, this would be a great way of bringing saw dust from a lumber mill.
    It strikes me that the work by David R Montgomery would fit beautifully with such a method. Below is a book review of his book on the subject.

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s