Black Soldier Fly Farming for Beginners: A Complete Starting Guide
Black soldier fly farming is one of the more efficient things you can do if you're raising animals in a backyard. The larvae eat your food waste, convert it into high-protein feed, and leave behind a byproduct that's actually useful for your garden. The adults don't bite, don't spread disease, and don't end up in your kitchen. It's a genuinely good deal.
The problem is that starting without understanding the biology is how most people fail. I see it a lot, and I did some of it myself. This guide is the honest version of what BSF actually need at each stage, what commonly goes wrong, and what a working small-scale system actually looks like.
What Are Black Soldier Flies?
Hermetia illucens is a fly in the family Stratiomyidae, native to the Americas but found on every continent except Antarctica. They're often mistaken for wasps, and that's kind of by design, they evolved to mimic the organ pipe mud dauber, which keeps predators away.
A few things that make them different from every pest fly you've ever hated:
Adults don't feed. They have reduced mouthparts and survive entirely on fat reserves they built up as larvae. Their only job as adults is to mate and lay eggs.
They don't spread disease. No contact with human food, no pathogen transmission.
Larvae outcompete houseflies. Put BSFL in the same environment as a housefly population and the houseflies lose, through resource competition and probably some chemical signaling, but the practical result is fewer pest flies.
They self-harvest. When larvae hit the prepupae stage, they migrate away from feed toward dry, dark environments on their own. With the right bin design, collection is mostly passive.
The BSF Lifecycle, Stage by Stage
This is the most important thing a beginner can learn. Almost every failure I've seen, or done myself, traces back to not meeting what the larvae need at a specific stage.
Eggs
Females lay 200 to 600 eggs per clutch, up to 1,500 total, in dry crevices near, but not in, moist organic material. Corrugated cardboard positioned above an attractant substrate is the standard egg trap, and it works. Eggs hatch in about 4 days at 27 to 30°C (80 to 86°F).
*One thing that matters a lot here: eggs desiccate fast. Keep hatching substrate at 60 to 70% moisture and hold RH at 60% or above.
Neonates (1st to 2nd Instar)
About 1mm at hatch and genuinely vulnerable. Desiccation is the number one killer at this stage. Temperature needs to stay at 25 to 30°C. Keep substrate moisture consistent, this is not a set-it-and-forget-it stage.
Growth Larvae (3rd to 5th Instar)
This is where most of the feeding and weight gain happens, roughly 10 to 14 days of serious eating. Optimal temperature is 27 to 30°C. The fat little larvae are generating their own metabolic heat in dense populations, so if you have a high-density bin, monitor substrate temperature, not just ambient air.
Prepupae (6th Instar)
They darken to brown-black, stop feeding, and start migrating. This is your harvest window. Nutritional value is at its peak at this stage, highest protein and fat content. If you're using them for feed, don't let them pupate.
Pupae
About 14 days at 27 to 28°C. No feeding. Keep them in slightly moist, dark medium. Don't disturb them, physical damage during pupation is lethal.
Adults
They emerge ready to mate within 2 to 3 days. Lifespan is 8 to 14 days, longer if you offer sugar water. Mating is aerial and requires high-intensity light. This is the single most common failure point for indoor beginner setups. Standard fluorescent bulbs don't work. Low-wattage LEDs don't work. You need direct sunlight, full-spectrum LEDs with a UV component, or metal halide lighting above around 200 µmol/m²/s. If your flies aren't mating, the light is almost certainly why.
What You Need to Get Started
The Bin
A rearing bin with a self-harvesting ramp is the core piece of equipment. Prepupae are photophobic and will migrate upward and out when they're ready, so the ramp channels them into a collection container without you having to sort through anything manually. You can build one from storage bins and cardboard, or get a ready-made kit.
Our BSFL Bin Kit is designed specifically for this, a kit with egg-laying surfaces, a fly entrance, and an exit ramp with everything calibrated for a functioning colony from day one.
Feed and Substrate
Any moist organic waste works. Kitchen scraps, fruit and vegetable trimmings, coffee grounds, spent grains from homebrewing, or poultry feed are all excellent starting substrates. The Gainesville diet (50% wheat bran, 30% alfalfa meal, 20% corn meal) is a consistent research-validated option if you want something controlled. Moisture target: 60 to 70% by weight. If it clumps when squeezed without dripping, you're there. Too wet and you get anaerobic odor and larvae trying to escape. Too dry and you get desiccation.
Temperature Control
You need consistent warmth. Below 24°C mating slows. Below 20°C larval development nearly stops. In Colorado winters, that means supplemental heat. An Inkbird ITC-308 dual-stage controller paired with a ceramic heat emitter or space heater handles this cleanly.
Lighting for Adults
Don't skip this. A south-facing window with direct sunlight is the best option. For indoor setups, full-spectrum LED grow bars with UV-A output or metal halide bulbs are the proven alternatives. Plan for 12 to 16 hours of light per day during the adult mating period.
Humidity Control
Target 60 to 75% RH during larval stages. Colorado's dry climate, especially with forced-air heat in winter, will fight you on this. An ultrasonic humidifier on a humidity controller (Inkbird IHC-200) is a simple, reliable fix.
Colony Starter
You'll need either purchased eggs, neonates, or prepupae to begin. Blue Grub Farms offers BSF pupae, a reliable, locally-sourced starting point if you're in Colorado or nearby.
Step by Step: Setting Up Your First Colony
1. Set up your rearing bin with a ramp and collection container. Position the egg trap (corrugated cardboard) above a small amount of attractant substrate, moist food waste or prepared substrate.
2. Add your starter culture. If using prepupae, place them in a pupation medium (moist sawdust or coir) in a covered container. Transfer emerging adults to your breeding cage.
3. Set your breeding cage environment. Minimum 1m³ of space. Light running 12 to 14 hours per day. Temperature at 27°C or above. Shallow sponge water dish for adults.
4. Wait for eggs. Females will lay in the cardboard crevices within 4 to 8 days of mating. Remove egg cards every 1 to 2 days and transfer to your hatching substrate.
5. Manage the grow-out bin. Feed daily or every other day. Monitor substrate moisture. Watch for larvae evacuating (sign of anaerobic conditions) or any ammonia smell (sign of overfeeding or too much moisture).
6. Harvest prepupae. As they migrate up the ramp and into the collection bin, feed them fresh to animals, blanch and dry them, or freeze them.
7. Collect frass. After prepupae have cleared, what remains is your frass. Air-dry it before storing.
Common Beginner Mistakes
1. Insufficient lighting for adults.
Already covered this, but it bears repeating. If you're not seeing eggs, check the light first. It is almost always the light.
2. Overfeeding the grow-out bin.
If the substrate smells sour or like ammonia, you're overfeeding. Feed only what larvae consume within 24 to 36 hours. Start conservative and scale up as the colony grows.
3. Letting substrate get too wet.
Fruit-heavy inputs especially can push moisture above 70%. Balance wet inputs with dry carbon material, cardboard, spent grains, sawdust, dried straw.
4. Temperature crashes.
A cold garage night, a failed heater, a power outage, any of these can kill a colony, especially at the neonate and egg stage. Set temperature alerts on your sensors so you're notified before damage is done.
5. Expecting results in week one.
A new colony from purchased prepupae takes 3 to 5 weeks before the mating, egg, larvae, harvest cycle stabilizes. Give it time.
What You'll Harvest
Prepupae, live, dried, or frozen, are high-protein feed. Good for chickens, ducks, fish (tilapia, trout), reptiles, hedgehogs, and other insectivores. Protein content is roughly 40 to 45% on a dry matter basis, fat 25 to 35%. Our Golden Grubbies dried larvae are the retail-packaged version of this.
Frass is a soil amendment with a mild NPK profile, chitin content (chitin stimulates plant immune responses and suppresses some root pathogens), and a rich beneficial microbial community. See Frassquatch on our products page for the formulated, standardized version.
Frequently Asked Questions
How much space do I need?
A single grow-out bin can fit in a closet or corner of a room. The breeding cage needs to be at least 1 cubic meter, a 2'x2'x4' cage is a comfortable starting size.
Can I do this in an apartment?
Possibly. You need a space that can hold warmth and humidity, and you'll need a window with good sun exposure or supplemental lighting. The smell of a well-managed bin is minimal, but overfeeding creates odor. Apartment BSF farming is done, it requires attentive management.
How much does it cost to start?
A functional small-scale setup can be assembled for $100 to $200 using our Bin Kit and basic environmental controls. A more automated setup with temperature and humidity controllers runs $300 to $500.
Where do I get starter larvae?
Blue Grub Farms offers Larvae and Pupae ready for emergence locally. If you’re not in Colorado, Symton is a great supplier, or you can try your luck at attracting wild Black Soldier Flies outdoors during spring and summer.
How long until I'm producing consistently?
Most beginners see consistent prepupae harvests within 4 to 6 weeks of establishing a stable colony. The first few batches are learning batches, use them to calibrate your environment.