Hermetia illucens, the black soldier fly, is a common and widespread fly of the family Stratiomyidae. Since the late 20th century, H. illucens has increasingly been gaining attention because of its usefulness for recycling organic waste and generating animal feed.
This species is native to the Neotropical realm, but in recent decades has spread across all continents, becoming virtually cosmopolitan. It is present in most of North America and Europe, including the Iberian Peninsula, southern France, Italy, Croatia, Malta, the Canary Islands, and Switzerland, and on the Black Sea coast of Russia in the Krasnodar Territory. It can also be found in the Afrotropical realm, the Australasian realm, the east Palaearctic realm, the Nearctic realm, North Africa, Southern Africa, and the Indomalayan realm.
The adults of H. illucens measure about long. These medium-sized flies have a predominantly black body, with metallic reflections ranging from blue to green on the thorax and sometimes with a reddish end of the abdomen. The second abdominal tergite has translucent areas, from which the Latin specific epithet derives. The head is wide, with very developed eyes. The antennae are about twice the length of the head. The legs are black with whitish tarsi. The wings are membranous; at rest, they are folded horizontally on the abdomen and overlapped.
H. illucens is a mimic fly, very close in size, color, and appearance to the organ pipe mud dauber wasp and its relatives. The mimicry of this particular kind of wasp is especially enhanced in that the fly's antennae are elongated and wasp-like, the fly's hind tarsi are pale, as are the wasp's, and the fly has two small, transparent "windows" in the basal abdominal segments that make the fly appear to have a narrow "wasp waist". Black soldier fly larvae can be differentiated from blowfly or housefly larvae by a thin gray-black stripe on their posterior ends.
An adult female lays between 206 and 639 eggs at a time.