Maggot farming is the act of growing maggots for industry. It is distinct from vermicomposting, as no separate composting process is occurring and maggots are used to consume flesh, rather than earthworms to consume plant-based materials.
A variety of species can be used, including the black soldier fly. Due to convenience, fly species that are indigenous to the area of cultivation are often used.
When using indigenous fly species, one tactic (employed by the Songhai Center in Benin) is to simply dump offal or meat that has exceeded the sell-by date in concrete bins. The bins are then covered with chicken wire to prevent any large animals from feeding. Then, flies deposit eggs on the offal and meat, and maggots hatch and consume it. After that, the bins are filled with water, so the maggots start to float (separating themselves from any leftovers). The maggots are then harvested and the leftover is discarded or further processed (e.g., bones can be ground to bone meal). An alternative method can be seen used more commonly in small-scale applications, such as two trash bins stacked on top of each other. The bottom bin has a large hole cut on top, while the top has smaller, filtered holes on the bottom. Food (waste) is then inserted and left into the top bin, where the flies lay their eggs and produce maggots, shifting and separating into the bottom bin.
The maggots are often sold and used as animal feed, in particular, for fish, chickens, pigs, and ducks. AgriProtein, a British company specializing in insect protein production, is pushing for more international business, claiming to hold the potential to shift the fish-feed market away from energy-expensive fish farming. They can also be sold as fishing bait. Extracting insect fat, protein (for human consumption), and chitin is also possible. AgriProtein claims to produce over 3000 tons of fatty-acid oil as a byproduct and 16 tons of frass, or fly droppings, per plant, which can be used as a valuable fertilizer.