Laying hen next to a nest box in a poultry house, with a tray of eggs

Black Soldier Fly on the Farm: Turning Waste Into Larvae for Your Hens

How a small black soldier fly setup works, what to grow the larvae on and what not, how many live larvae to give hens, what they offer beyond protein, and which rules apply.

Toss a handful of live larvae to a hen and she drops everything else. That's not a whim: insects are her natural food, and hunting for them is one of her main occupations. Black soldier fly larvae are today the most realistic of the "new" proteins. Factories grow them for meal; on a small farm they're raised in boxes right next to the coop.

What this fly is

The black soldier fly (Hermetia illucens) is a large, dark, wasp-like fly. The adult doesn't eat, doesn't bite and doesn't come indoors: it lives about a week and only breeds. All the work is done by the larvae. They eat almost any plant residue and in 2–3 weeks grow from tiny to two centimeters long, while the substrate shrinks by half or more.

Fly5–8 days, no eating Eggs3–4 days Larvae14–20 days, feeding Prepupaecrawl out alone to the hens: larvaeand prepupae
At 27–30 °C the full cycle takes about 5–6 weeks. Below 20 °C larvae grow slowly; below 15 °C they almost stop.

What makes them valuable

A small setup

For 50–100 hens, a few boxes are enough:

  1. A fly cage. A mesh box with natural light: the flies only mate in bright light. Inside, a smelly bit of substrate with corrugated cardboard next to it — the flies lay eggs in its gaps.
  2. Larva bins. Plastic containers with a 5–10 cm layer of substrate. The eggs go on top, cardboard and all.
  3. Self-harvesting. Before pupating, larvae look for a dry place. Give the bin a gentle ramp leading into a bucket, and they'll crawl in on their own. That's your harvest.
  4. Warmth and moisture. The ideal is 27–30 °C with substrate as damp as a wrung-out sponge. In winter, a heated room.

What to feed the larvae

FineNot allowed, or with care
Bran, cracked off-grade grainKitchen and restaurant waste — banned in many countries
Brewers' grains, distillers' grains, beet pulpMeat, fish, dairy — banned in the EU, smell and attract pests
Vegetables, fruit and trimmings, not rottenManure — banned in the EU for larvae fed to poultry
Bread with no packaging or moldMoldy feed: larvae tolerate some toxins, not all
The rules

In the EU, insect larvae are farmed animals, and they may only be fed what is permitted as animal feed. Processed insect meal was approved for poultry in 2021. Rules differ in other countries, and some haven't written them yet. Before you sell eggs or meat from larva-fed hens, check your local rules.

How much to give hens

Larvae don't replace complete feed: they're low in calcium for a layer (unless they're prepupae), low in carbohydrate and high in fat. They're a protein supplement, not a ration.

Will it pay?

A home setup makes sense if you have a free substrate — waste from a nearby brewery, vegetable warehouse or your own fields. Buying grain to feed larvae, then feeding the larvae to hens, is almost always more expensive than giving the hens grain and soy. A side benefit is the leftover substrate (frass): it's a good fertilizer (composting and selling manure).

Larvae in your records

In EggPulse, larvae go into the store as a separate ingredient with their weight and protein. If you weigh what you feed and log it, you'll see how much feed they replaced, and feed conversion tells you whether it's worth the effort. For other new protein sources, see new protein sources for poultry.