Livestock Wastewater Treatment: Farm Design Guide

Livestock wastewater treatment starts with a decision about where the water should end up, not with a tank. A pig farm produces 10 to 20 litres of wastewater per head per day at a strength ten to fifty times municipal sewage. That strength is an asset if the farm has land, and a cost if it does not. So the design question is always the same: return it to the fields, digest it for gas, or treat it to a discharge standard.

Concrete treatment basins with stainless steel handrails and fibreglass walkway beside a farm building
Concrete basins and a walkway beside a farm building. Every litre in these tanks arrived as drinking water, wash water or rain, and the design has to say where it leaves.

What makes farm wastewater different

Three things separate livestock wastewater treatment from a municipal plant, and each one changes the design.

The first is strength. Municipal sewage arrives at 300 to 500 mg/L of COD. Pig slurry arrives at 3,000 to 12,000 mg/L, and unmixed flushing water from a barn with no separation can reach 20,000. The same volume carries twenty to forty times the oxygen demand, which is why a farm plant cannot simply scale down a town plant.

The second is variability. A farm washes down in shifts. Flow arrives in slugs, and the strength swings with feed, season and how often the pens are cleaned. A lagoon absorbs that; a small activated sludge tank does not, unless it has equalisation ahead of it.

The third is that the nutrients are valuable. Nitrogen and phosphorus that would be a discharge problem at a town plant are fertiliser on a farm with fields. That single fact explains why livestock wastewater treatment looks different from site to site. Two farms with the same herd size can need different plants.

Where the water comes from, and how much

Three streams make up the total, and only one of them is manure.

Wash water is usually the largest volume, and the way a barn is cleaned decides it. A dry-scrape barn uses 10 to 20 litres per head a day. A high-pressure washdown with no separation can triple that. Drinking water spillage is smaller but continuous, and it carries a higher nitrogen load than its volume suggests.

Manure and urine carry most of the pollution. A market hog produces about 2.7 kg of manure a day, and a dairy cow produces 40 to 50 kg. When that material mixes with wash water, the whole volume becomes wastewater. When a screw press removes the solids first, the volume that reaches the tanks drops and its strength falls with it.

Indicative figures per head per day, to be confirmed with farm records
AnimalWastewaterCODAmmonia NNote
Fattening pig10–20 L3,000–12,000 mg/L500–1,500 mg/LDry-scrape barn, low end
Sow (gestating)30–50 LHigherHigherMore wash water per head
Dairy cow56–100 L3,000–8,000 mg/L300–800 mg/LMilking parlour wash included
Beef cattle40–80 L2,000–6,000 mg/L200–600 mg/LBedding raises solids
Layer poultry0.3–0.5 LVery high, low volumeHighOften handled as dry manure

Design on the measured flow, not on the table. Two weeks with a flow meter and three lab samples will settle more than any guideline. Where that data does not exist, apply the standard figure for the housing type and add 15% for peak washdown.

Four routes off the farm

Every farm scheme resolves into one of four routes for livestock wastewater treatment, or a combination. The route decides the tanks, the footprint, the power bill and the paperwork. It also decides the capital cost, which is why the choice belongs at the start.

Farm wastewater 1 · Land application Store, then spread at the rate the crop can use. Cheapest where land exists. 2 · Anaerobic digestion Remove COD as biogas, cut the load reaching the aerobic stage. 3 · Aerobic to discharge Nitrogen removal by design, then meet the discharge limit. 4 · Ponds and wetlands Long residence, low energy, high land take. Suits warm climates.

Four routes, and most farms combine two. Digestion in front of land application is the most common pairing, because it cuts the odour and the volume while producing gas the farm can use.

Route 1: land application

Land application is the cheapest livestock wastewater treatment route, and the one most farms should evaluate first. The principle is simple. The crop takes up the nitrogen, the soil holds the phosphorus, and the farmer avoids buying fertiliser. There is no discharge, so no effluent standard applies to the outlet.

The sizing rule is a nitrogen balance, not a volume rule. Start with the nitrogen the crop removes in a year. Subtract what the soil and the previous crop supply. Divide the remainder by the nitrogen concentration in the slurry. That gives cubic metres per hectare per year.

In practice, a maize crop takes up 150 to 250 kg of nitrogen per hectare. Pig slurry carries roughly 1 kg of total nitrogen per cubic metre at the strength typical of a dry-scrape barn. So the field can take 150 to 250 m³ per hectare, and that is the ceiling, not a target. Applying more than the crop uses means the surplus leaves as nitrate.

Storage is the part that gets underbuilt

Slurry cannot be spread all year. Fields are frozen, waterlogged or under crop for much of it. So the store has to hold the production of the months when spreading is impossible, plus a margin for a wet spring.

Six months of storage is the working minimum in a climate with a real winter. A 1,000-head pig farm at 15 litres per head a day needs around 2,700 m³ of storage. That is a serious structure, not a hole in the ground. Underbuilding it forces spreading in bad conditions, which is how nutrient runoff cases start.

Concrete storage basins with stainless steel handrails on a farm site, seen into low sun
Storage basins on a farm site. Volume, not treatment capacity, is what limits most land-application farms.
The number to write down Storage volume, not treatment capacity, is the figure that limits most land-application farms. Before buying any equipment, confirm the hectares available, the spreading window and the store volume. If those three do not line up, land application is not the route.

Route 2: anaerobic digestion

Digestion sits inside livestock wastewater treatment as the stage that pays something back. It removes 70 to 85% of the COD, and it turns that carbon into methane the farm can burn for heat or power. On a large farm with high-strength slurry, the gas often pays for a good part of the plant.

The design follows from a single constant. Digested sludge yields about 0.35 m³ of biogas per kilogram of COD removed at mesophilic temperature. At ambient temperature the figure is closer to 0.25 m³. A 5,000-head pig farm making 100 m³ of wastewater a day at 8,000 mg/L COD removes about 640 kg of COD a day. At 80% efficiency that corresponds to 160 to 225 m³ of gas.

Three digester types cover most farms. A covered lagoon with an HDPE membrane is the low-cost option, with a long residence time and modest mixing. A CSTR with a heating loop gives better control and a shorter residence time. A UASB suits warmer climates and higher loads where the solids have already been separated.

What digestion does not do

It does not remove nitrogen or phosphorus. Ammonia leaves the digester at about the same concentration it entered, sometimes higher because the organic nitrogen has been mineralised. So the digestate still needs land or a further stage.

It also does not sterilise the material. Pathogens are reduced, particularly at thermophilic temperature, but the digestate is not a treated effluent and should not be discharged to a watercourse.

The trap in a biogas project A digester built for gas alone tends to be sized on COD, and then the digestate has nowhere to go. Decide the digestate route before the digester volume, because the storage and spreading cost usually exceeds the value of the gas on a mid-size farm.

Route 3: aerobic treatment to a discharge standard

Where there is no land, or where the regulator requires a discharge, livestock wastewater treatment has to remove carbon and nitrogen to a limit. On a farm that means two stages, and the second one is the expensive half.

The carbon comes out easily. A well-run anaerobic stage followed by an aerobic stage will take COD from 8,000 to under 400 mg/L. Nitrogen is the hard part. The common discharge standard wants ammonia at 80 mg/L, down from 800. That needs a nitrification stage with enough oxygen, sludge age and alkalinity.

Sizing the aerobic stage

Nitrification is a slow process run by a slow-growing organism, so the design lever is sludge age rather than tank volume alone. A farm plant doing nitrogen removal typically runs 15 to 25 days of sludge age, against 5 to 10 for carbon removal only.

Two configurations dominate. A two-stage A/O train with internal recycle handles nitrogen reliably and tolerates load swings. An MBR does the same job in a smaller footprint with better effluent quality, at the cost of membranes, cleaning and power. For a farm with limited space and a tight limit, the MBR is often the only option that fits.

Below about 15°C, nitrification slows sharply. A plant designed on summer kinetics will fail in winter unless the tank volume carries that margin, or unless it is covered and heated.

Meeting the discharge limits

The common Chinese standard for livestock farms caps COD at 400 mg/L, BOD at 150, suspended solids at 200, ammonia at 80 and total phosphorus at 8. Those figures look generous against municipal limits, and they are not, because the inlet is twenty times stronger.

Phosphorus usually needs a chemical step. Alum or ferric dosing ahead of the clarifier takes total phosphorus below 1 mg/L without much trouble. Disinfection is the last stage if the receiving water is sensitive.

Route 4: ponds and constructed wetlands

Natural systems suit livestock wastewater treatment where land is cheap and the climate is warm. They fail where either is missing.

A facultative lagoon needs 20 to 50 days of residence to do the job an aerated tank does in a day. That is not inefficiency, it is the trade: no blowers, no sludge handling, no operator, and a large area of land that has to stay wet.

A constructed wetland polishes a lagoon outlet, and its design parameter is the loading rate. Around 200 g of COD per square metre per day is a safe figure for a subsurface-flow bed. Above that the bed clogs, and a clogged bed is a rebuild rather than a repair.

Two constraints catch people out. Cold weather cuts biological activity in a lagoon for months, so the storage has to carry winter. And groundwater rules often treat a lagoon as a potential source, which means a liner and monitoring wells whether the farm expected them or not.

Matching livestock wastewater treatment to the farm

Herd size is a rough proxy for which combination makes sense, because it drives both the flow and the land requirement. The table below is a starting point for a conversation, not a substitute for a calculation.

Under 500 headsmallholding

Land application with a lined store is usually the whole answer. Add a solid-liquid separator ahead of the store, because it cuts the volume and makes the solids stackable for composting.

500 to 2,000 headfamily farm

Separation, then a covered lagoon or small CSTR, then land. The digester earns its place once the gas offsets heating or cooking, and the covered lagoon also cuts odour complaints.

2,000 to 10,000 headcommercial

Separation, heated digestion, and then a choice: land if hectares exist, aerobic if they do not. This is the band where a proper design pays for itself, and where a picture of the site saves a redesign.

Above 10,000 headindustrial

Two-stage biological treatment with nitrogen removal, biogas utilisation and dewatering. The plant is a small factory, and it needs an operator, not a caretaker.

Concrete treatment tanks under construction with exposed reinforcement and formwork on a hillside site
Tanks under construction on a hillside farm. The civil works usually cost more than the equipment, and the layout is fixed long before the process is.

Pre-treatment that decides the rest

In livestock wastewater treatment, everything downstream performs better when the solids come out early. A plant that skips solid-liquid separation sends fibre, feed residue and grit into the digester. There it takes up volume and cuts the gas yield per cubic metre.

A screw press or a screw-extruder separator is the usual choice. It takes slurry at 3 to 8% dry matter and produces a stackable cake at 30% or better. The filtrate flows and pumps like a liquid. The cake goes to compost or bedding; the filtrate goes to the digester or the aerobic stage.

Screw press separator under a shelter with polymer tanks and a stack of bagged separated solids in front
A screw press under a shelter, with the separated solids bagged in front. This one machine decides the strength of everything that follows it.

Add a screen and a grit trap ahead of the press, and an equalisation tank after it. The tank is not optional on a farm, because washdown arrives in slugs and the biology downstream prefers a steady feed. Size it for at least a day of average flow, and put a mixer in it.

Five mistakes that sink a farm plant

These repeat across projects, and each one is cheap to avoid at design stage.

The first is designing on a per-head figure without measuring. Two farms with the same herd can differ by a factor of three in flow, purely on cleaning practice.

The second is underbuilding storage. A plant that cannot hold a wet month will spread at the wrong time. The nutrient loss then shows up in the groundwater, not on the bill.

The third is treating nitrogen as an afterthought. Carbon is easy and visible. Ammonia is the parameter that fails the test, and it needs tank volume and oxygen from the first sketch.

The fourth is buying a package plant sized for municipal sewage. The hydraulics work; the biology does not, because the load per cubic metre is far above what the unit was designed for.

The fifth is leaving the digestate out of the plan. A digester without a digestate route is a tank that fills up.

What drives the cost

Farm plant budgets vary so widely between regions that a single number per head is misleading. What travels better is the structure of the cost, because the same four items dominate every project.

Storage volume is the first. On a land-application farm it is usually the largest single item, and it is pure civil work. Doubling the store doubles that cost, which is why the spreading window and the hectares have to be settled before the concrete is priced.

Tank volume is the second. Anaerobic and aerobic volume both scale with the load, and the aerobic volume scales again with the nitrogen target and the winter temperature. A plant asked to hold 80 mg/L ammonia in a cold climate carries noticeably more tank than one working at 20°C.

The oxygen demand is the third, and it shows up on the electricity bill rather than the capital sheet. Aeration for nitrogen removal runs continuously, and on many farms it becomes the largest operating cost after labour. That is the argument for removing as much COD as possible in the anaerobic stage first, where the energy is produced rather than consumed.

The digestate route is the fourth, and the one most often left out of the budget. Storage, transport and spreading all carry a cost per cubic metre, and that cost does not fall when the digester is added. On some farms it is the item that decides whether digestion pays at all.

Where the money actually goes Civil works usually exceed equipment on a farm project, and storage often exceeds the treatment tanks. Ask for the budget split into civil, equipment, installation and annual operating cost. A quotation with one lump figure cannot be compared with another.

Permits, records and the site visit

Livestock wastewater treatment is regulated on two fronts at once: what leaves the site, and what happens to the land that receives it.

Where the farm discharges, the permit fixes the limits and the monitoring point. That means a sampled outlet, a flow record and a lab schedule, not an occasional dip with a handheld meter. Where the farm applies to land, the approval usually rests on the hectares and the nutrient balance, so the land agreement and the spreading plan are part of the submission.

Lagoons and stores attract a third set of requirements in many regions. A liner, groundwater monitoring and a freeboard rule are common, and they change the civil design rather than the process design.

Then there is the site visit, which is where most surprises appear. A farm is rarely flat. Levels decide whether the plant flows by gravity or needs a lift station, and a lift station adds pumps, power and a failure point. Access decides whether a tanker can reach the store. Distance to housing decides whether odour control is a permit condition or a goodwill gesture.

Bring a site plan with contours and a note of the power supply to the first meeting. Those two items answer more design questions than any process discussion.

What a farm design package should contain

A usable scheme answers these questions before it shows a single tank. Ask for them in writing.

  • Measured or justified daily flow, with the peak washdown allowance stated separately.
  • Influent COD, ammonia, total nitrogen, phosphorus and solids, with sample dates.
  • The chosen route and the reason, including the hectares available and the storage volume.
  • Effluent target: a discharge limit, or a land application rate per hectare.
  • Sludge and digestate volume per year, and where it goes.
  • Power demand and the gas yield if digestion is included.
  • Layout with levels, because farm sites are rarely flat and gravity flow saves pumps.

If a supplier cannot answer the storage and digestate questions, the process design is not finished. Those two items cause more operational failures than any equipment choice.

Frequently asked questions

These come up in most first conversations about livestock wastewater treatment, usually before the site visit.

Design basis

How much wastewater does a pig farm produce per day?

A dry-scrape fattening barn produces 10 to 20 litres per head per day, and a sow unit runs 30 to 50 because there is more washing per head. A washdown system without separation can be higher still. Measure for two weeks before fixing the design flow.

Can I discharge treated farm wastewater to a river?

Only where the regulator permits it and the plant meets the limit. The common standard caps COD at 400 mg/L, ammonia at 80 and phosphorus at 8, which needs nitrogen removal, not just carbon removal. Many farms are approved for land application instead, which avoids the discharge limit entirely.

How much land does land application need?

Work it out from the nitrogen balance, not from a rule of thumb. A maize crop removes 150 to 250 kg of nitrogen per hectare, and pig slurry carries about 1 kg per cubic metre, so a hectare takes 150 to 250 m³ a year. A farm producing 5,000 m³ a year therefore needs 20 to 33 hectares of receiving land.

Process and equipment

Is a biogas digester worth building?

It depends on what happens to the digestate. Digestion cuts COD by 70 to 85% and produces 0.25 to 0.35 m³ of gas per kilogram of COD removed, which is real value on a large farm. But it removes no nitrogen, so the digestate still needs land or a further stage. Price the storage before the digester.

Do I need solid-liquid separation?

Almost always, and it pays back in several places at once. Separation cuts the volume reaching the tanks, raises the gas yield per cubic metre, reduces the solids load on the aerobic stage, and produces a stackable material for compost or bedding. A screw press is the usual machine.

How long does a lagoon need to hold the wastewater?

Twenty to fifty days of residence for a facultative lagoon doing the main treatment. That is why lagoons need so much land. In a cold climate, add winter storage on top, because biological activity nearly stops for months and the lagoon cannot be emptied to the field while the ground is frozen.

Send us the farm data and we will size the plant

Share the herd size and housing type, the daily flow if you have measured it, the effluent target or the hectares available, and a site plan with levels. We will come back with a route recommendation, tank volumes, the storage figure and a budget range.

Request a quotation

Newsletter Updates

Enter your email address below and subscribe to our newsletter