Hydroponic Harvest
← The Growing Journal

Soldier Flies in Compost: Reporting for Duty, Sir!

An unexpected compost crew can look alarming at first. Here is how to investigate black soldier fly larvae and decide how they fit into your composting.

Playful illustrated army of soldier flies in uniforms on compost, with Compost Cleanup Crew and Reporting for duty, sir text

A playful illustrated compost crew. Actual black soldier fly larvae do the feeding; the adults do not wear uniforms.

Meet the compost crew

Big grubs in the compost can be a surprise. If they are black soldier fly larvae (Hermetia illucens), they may be helping process decaying material. The uniformed army in our thumbnail is a playful illustration; the real workers are the larvae, not adult flies.

Identify before you decide

Larvae have a segmented body and no legs. Their appearance changes as they develop: pale young larvae become darker toward pupation. Adults have a slender, wasp-like shape, one pair of wings and no stinger. Compare clear close-up photographs with an identification guide; a grub in compost is not automatically this species.

Their job changes as they grow

Eggs hatch into feeding larvae, followed by a non-feeding pupal stage and then an adult fly. Mature larvae move away from the food to find a drier place to pupate. A few crawling out can be normal development, so inspect the bin before assuming something has gone wrong.

Feed the crew in manageable portions

For a simple home trial, start with small amounts of chopped fruit and vegetable scraps. Observe how much disappears before adding another batch. Too much food can accumulate and smell. Our beginner approach leaves meat, fish, dairy and greasy leftovers out of this bin; use a system suited to those materials instead.

Keep the bin moist, with air and drainage

Protect the bin from heavy rain and avoid standing water. In an ordinary compost pile, dry leaves and plain shredded cardboard help absorb excess moisture and provide structure. Keep ventilation open. If the pile smells sour, pause feeding and check moisture, airflow and the amount of uneaten material.

What if they appear in a worm bin?

They do not normally attack compost worms, but a large population can compete for food and generate heat. If worms are your priority, reduce exposed scraps, add bedding and bury food beneath it. Keep checking the worms and the condition of their bedding rather than judging success by larvae numbers alone.

Think seasonally in the Cowichan Valley

A reminder for our autumn audience: do not assume a warm-weather rearing guide promises year-round outdoor production here. Cooler conditions change what a bin can do. Treat an outdoor trial as seasonal, record conditions and results, and keep ordinary composting available when the insects are inactive. This is a planning recommendation, not a report of a winter-tested Hydroponic Harvest system.

Let the leftovers finish

Reduced food volume does not prove that the residue is mature compost. Research on frass and shed skins shows that quality and maturity can vary after further composting. Continue the composting process and assess the material before garden use. Bin drainage is not a standardized liquid fertilizer; keep it out of the hydroponic reservoir.

Start with one small observation

Photograph the inhabitants, record what goes in, and check the bin regularly. Your first goal is a manageable process you understand. Read the source guides below for identification and more detailed bin designs, then explore our other Growing Journal articles. Have you found these helpers in your own compost?

Further reading

Keep growing

Explore more practical growing guides.

Back to the journal →

Keep growing with us

New journal posts, in your inbox.

Join Steve for real garden projects, preserving ideas and lessons along the way. Get Hydroponic Harvest journal updates by email.

Sign up for journal updates →