How to Produce Biogas from Cow Dung: A Step-by-Step Guide for Dairy Farms?

📅 March 31, 2026 👤 By Cathy

Managing massive amounts of cow dung is a constant challenge. It creates environmental risks1 and disposal costs. But what if you could turn this liability into a valuable asset for your farm?

Biogas production is the process of using anaerobic digestion to break down cow manure into methane gas and nutrient-rich fertilizer. This renewable energy can power your farm, while the fertilizer improves your soil, creating a sustainable, closed-loop system2.

A diagram showing the biogas production process from cow dung on a dairy farm.

As a B2B supplier of dairy farm equipment, I've seen firsthand how waste management can make or break an operation's profitability and sustainability. Many farm owners feel overwhelmed by the sheer volume of manure and the regulations surrounding it. The good news is that the solution isn't just about disposal; it's about transformation. The right approach turns a costly problem into a source of energy and revenue. The key is to understand that the best system for you depends entirely on the scale of your operation. A small family dairy has very different needs and capabilities than a large commercial enterprise. Let's break down the practical steps for each.

How Can Small to Medium-Sized Dairy Farms Implement a Biogas System?

Are you running a dairy with 50 to 100 cows? You might think a biogas system is too complex or expensive. The constant manure pile-up feels like a problem with no easy solution.

For smaller farms, we recommend a CSTR (Continuous Stirred-Tank Reactor) anaerobic digester paired with a flexible gas holder. This setup is compact, efficient, and perfectly sized to turn your daily manure output into usable energy and high-quality fertilizer for your fields.

A concrete CSTR anaerobic digester on a small dairy farm.

When I visit farms in this size range, the primary concern is always about return on investment and operational simplicity. You don't have a dedicated engineering team, so the system needs to be robust and straightforward. The CSTR model is ideal for this. It's a proven technology that consistently performs. The process begins with proper sizing and construction.

System Design and Sizing

First, you need to calculate the right size for your digester. A good rule of thumb is to account for 20 to 30 kilograms of manure per cow each day and plan for a 30-day fermentation cycle. This gives the bacteria enough time to break down the organic matter and produce gas efficiently.

Number of Cows Daily Manure (Avg. 25kg/cow) Required Digester Volume (30-day cycle)
50 Cows 1,250 kg (1.25 m³) ~50 m³
100 Cows 2,500 kg (2.5 m³) ~100 m³

We always advise building the digester tank from poured concrete. It's durable and, most importantly, can be properly sealed. You must make it completely waterproof to prevent any slurry from leaking into the ground and contaminating the soil or groundwater. Before the manure even enters the main tank, it should pass through a pre-treatment pond. This simple step removes stones, tough weeds, and other debris that could clog the system.

Gas Storage and By-Product Utilization

Once the digester is producing gas, you need a way to store it. For this scale, a flexible, membrane-style gas holder is the most cost-effective option. It looks like a large, durable bag that inflates as gas is produced. We recommend sizing it to hold at least 50% of your maximum daily gas production. This ensures you have a steady supply for cooking, heating, or running a small generator.

But the biogas is only half of the output. The remaining material is a valuable resource. The liquid portion, or slurry, is an excellent liquid fertilizer. After it settles, you can use it to irrigate your fields, returning vital nutrients to the soil. The solid residue that settles at the bottom of the digester can be collected periodically and composted into a potent organic fertilizer, which you can use on your own farm or even sell. This turns your waste stream into two valuable new products.

What's the Best Biogas Strategy for a Large-Scale Dairy Operation?

For a large dairy with thousands of cows, the scale of manure management is immense. The daily waste output is staggering, and environmental compliance is a major operational pressure.

Large farms should adopt a two-part strategy: first, use solid-liquid separators to process the manure. The solid fiber is composted for cow bedding, while the liquid is fermented in a black membrane digester pond. The resulting biogas is prioritized for heating water before being used for power generation.

An aerial view of a large dairy farm with black membrane anaerobic lagoons.

When we consult with large operations, say a farm with 10,000 head, the conversation shifts from simple waste disposal to industrial-scale resource recovery. A farm this size, with 5,000 to 6,000 milking cows, can produce up to 1,000 cubic meters of slurry every single day. This volume includes manure, urine, and wastewater from the milking parlor. To handle this, we recommend a longer fermentation cycle of 90 to 100 days to maximize biogas yield.

The Critical First Step: Solid-Liquid Separation

The entire process begins at a central collection pit where all the slurry gathers. Here, it's mixed thoroughly before being pumped to a solid-liquid separator. For an operation of this size, I strongly recommend a two-stage separation process. The goal is to get the solid fraction as dry as possible. The first stage removes the bulk of the solids, and the second stage squeezes out even more moisture. This efficiency is key.

The separated solids, which look like damp sawdust, are an incredible resource. Most of our clients now take this material and put it through an aerobic composting process. This kills any harmful pathogens and creates what we call "green bedding"—a soft, dry, and comfortable bedding material that can be used right back in the free stalls. This alone can save the farm hundreds of thousands of dollars a year on bedding costs.

Anaerobic Digestion and Biogas Use

The liquid fraction that remains after separation is perfect for anaerobic digestion. It's pumped into a large, cost-effective black membrane biogas pond. This is essentially a massive, lined lagoon that is covered to trap the methane produced during fermentation.

So, what do you do with all that gas? We advise a clear hierarchy of use.

  1. Priority One: Heating Water. The most valuable and immediate use for the biogas is to fuel a boiler that heats the vast amounts of water needed in the milking parlor for cleaning and sanitization. This provides a direct and significant operational cost saving.
  2. Priority Two: Power Generation3. If you produce more biogas than you need for heating, the excess can be used to run a generator. This electricity can power the farm, further reducing utility bills, and in some regions, can even be sold back to the grid for an additional revenue stream.

The final liquid digestate from the pond is stored in a series of two or three oxidation and storage ponds. This stabilized, nutrient-rich liquid is then used for "fertigation"—irrigating and fertilizing croplands. This closes the loop, turning a massive waste problem into a complete, sustainable cycle of resources.

Conclusion

Whether your farm is large or small, cow dung is a powerful resource. By implementing the right biogas system, you can reduce costs, create energy, and operate a more sustainable dairy.



  1. Understanding the environmental risks can help you appreciate the importance of transforming waste into a resource.

  2. Discover how biogas systems contribute to sustainability by recycling waste into energy and fertilizer.

  3. Using biogas for power generation can reduce utility bills and create additional revenue.