Species · Insects

Black Soldier Fly Hermetia illucens

The scientific name of the Black Soldier Fly is Hermetia illucens. It is a species of insect in the family Stratiomyidae (soldier flies), order Diptera. The name dates from 1758.

Scientific name
Hermetia illucens (Linnaeus, 1758)
Common name
Black Soldier Fly
Family
Stratiomyidae (Soldier Flies)
Order
Diptera
Class
Insecta
Environment
terrestrial
Recorded in
115 countries
Name status
accepted in the Catalogue of Life
Black Soldier Fly (Hermetia illucens)
(c) Katja Schulz, some rights reserved (CC BY), uploaded by Katja Schulz, CC BY 4.0, via iNaturalist

Overview

The species occurs in urban, rural, and forested environments and has spread across all continents except Antarctica. Adult flies have predominantly black bodies with metallic blue-to-green reflections and resemble wasps because of their elongated antennae and transparent abdominal markings.

Written 26 November 2026 from the sources listed below. Each statement was checked against the passage it cites; statements that could not be supported were removed.

Appearance

Adult flies have predominantly black bodies with metallic blue-to-green reflections on the thorax and sometimes reddish abdominal tips. They have a broad head, well-developed eyes, and antennae approximately twice the length of the head.[1][2]

Adult flies measure approximately 16 millimetres in length. Their black legs have whitish tarsi, and their membranous wings overlap horizontally over the abdomen when resting.[3][4]

Adult flies have one pair of tinted brown wings and a second pair reduced to small white halteres that assist with flight coordination.[5][6]

Newly emerged larvae are creamy white with reddish-brown heads. Larvae can be distinguished from blowfly and housefly larvae by a thin gray-black stripe on their posterior ends.[7][8]

Fully developed male larvae measure approximately 17–18 millimetres, while female larvae measure approximately 21–23 millimetres. Sixth-instar larvae measure approximately 16–17 millimetres in length and 2.8–3.8 millimetres in width.[9][10]

Habitat

The black soldier fly occurs in urban, rural, and forested environments. Adults commonly rest on house walls, windows, tree trunks, and garden plants in residential areas and on farms.[11][12]

Larvae inhabit a wide range of decomposing plant and animal materials. Females deposit eggs on decomposing organic matter and in cracks in the fronts of bee hives.[13][14]

Diet

Larvae consume a wide variety of organic materials, including manure, brewing grains, household food waste, grocery and restaurant waste, paper mill sludge, and carrion. They also consume plant residues, animal manure, food scraps, agricultural byproducts, and straw.[15][16]

Larvae in front of bee hives feed on honey and waste materials from the hives. Adult flies can consume liquids such as flower nectar, although they typically do not eat.[17][18]

Behaviour

Adults become active in the morning when temperatures reach approximately 25 degrees Celsius. They mate during daytime when temperatures reach approximately 27 degrees Celsius.[19][20]

Mature prepupae stop feeding and migrate toward cool, dark, and dry substrates before pupation. Larvae can survive in highly acidic conditions and at higher temperatures than redworms.[21][22]

Adult black soldier flies do not bite or sting.[23]

Reproduction and life cycle

Females lay approximately 200–600 eggs per batch. They typically deposit eggs in crevices or on surfaces above or adjacent to decaying matter such as manure or compost.[24][25]

Eggs hatch approximately four days after being laid. The species undergoes complete metamorphosis through egg, larval, pupal, and adult stages, with larvae passing through six instars before pupation.[26][27][28]

The pupal stage lasts approximately one to two weeks. Adults typically mate and lay eggs at temperatures between 24 and 40 degrees Celsius or higher.[29][30]

Conservation

The black soldier fly is not considered an agricultural pest or disease vector.[31]

Uses

Black soldier fly larvae are used in composting systems to break down household food scraps and agricultural waste. They can reduce the volume of compost by approximately 50 percent.[32][33]

Larval digestate can be applied as a soil amendment and can improve soil water retention. Larval frass can be used directly as an organic fertilizer.[34][35]

Similar species

The adult black soldier fly closely resembles the organ pipe mud dauber wasp and related wasps in size, coloration, and appearance.[36]

Classification of the Black Soldier Fly

KingdomAnimalia
PhylumArthropoda
SubphylumHexapoda
ClassInsecta (Insect)
OrderDiptera (Fly)
FamilyStratiomyidae (Soldier Flies)
SubfamilyHermetiinae
GenusHermetia
SpeciesHermetia illucens (Linnaeus, 1758)

Where the Black Soldier Fly is found

Checklists and occurrence records place Hermetia illucens in 115 countries. GBIF holds 34,898 georeferenced records of it.

Countries

Regions and cities with the most records

32 more countries have a few records outside this range

These countries hold a few records of Hermetia illucens but lie outside the range the checklists give for it. Such records are often zoo or garden specimens, museum material or vagrants, so the species is not counted as occurring there.

A number beside a place is its count of GBIF occurrence records. A place without a number comes from a checklist alone. Records show where a species has been observed or collected, which can include escapes and vagrants.

Common names

English

  • Black Soldier Fly
  • Window-waisted Fly
Names in 20 other languages
Arabic
ذبابة الجندي الأسود
Catalan
Mosca soldat negra
Chinese
亮斑扁角水虻, 光亮扁角水虻, 黑水虻
Croatian
Crna vojnička muha
Dutch
Zwarte soldaatvlieg, Zwarte soldatenvlieg
Finnish
Mustasotilaskärpänen
French
Mouche soldat noire
German
Schwarze Soldatenfliege, Soldatenfliege
Greek
Μαύρη στρατιωτόμυγα
Hebrew
זבוב החייל השחור
Hungarian
fekete katonalégy
Indonesian
Lalat Tentara Hitam
Italian
Mosca soldato
Japanese
アメリカミズアブ
Korean
아메리카동애등에
Lithuanian
Juodoji plokščiamusė
Portuguese
Mosca-soldado-negra
Russian
Чёрная львинка
Spanish
Mosca soldado negra
Thai
แมลงวันลาย

Synonyms

13 other scientific names have been used for this species and are now treated as synonyms of Hermetia illucens.

  • Hermetia geniculata Macquart, 1855
  • Hermetia illucens var. nigritibia Enderlein, 1914
  • Hermetia illuscens Copello, 1926
  • Hermetia illuscens Linnaeus, 1758
  • Hermetia mucens Riley & Howard, 1889
  • Hermetia mucens Linnaeus, 1758
  • Hermetia nigrifacies Bigot, 1879
  • Hermetia pellucens Macquart, 1834
  • Hermetia pellucens Linnaeus, 1758
  • Musca illucens Linnaeus, 1758
  • Musca leucopa Linnaeus, 1767
  • Nemotelus illucens (Linnaeus, 1758)
  • Hermetia rufiventris Fabricius, 1805 ambiguous synonym

Questions and answers

What is the scientific name of the Black Soldier Fly?

The scientific name of the Black Soldier Fly is Hermetia illucens. Written with its author, the full name is Hermetia illucens (Linnaeus, 1758).

Which family does the Black Soldier Fly belong to?

Hermetia illucens belongs to the family Stratiomyidae, in the order Diptera and the class Insecta.

Where is the Black Soldier Fly found?

Checklists and occurrence records place Hermetia illucens in 115 countries, including United States, Australia, Costa Rica, France, India and Mexico.

What other names does the Black Soldier Fly have?

Hermetia illucens is also known in English as Window-waisted Fly.

Is black soldier fly harmful to humans?

Adult black soldier flies do not bite or sting. The species is not considered a disease vector.[23][31]

Can black soldier flies bite or sting?

No. Adult black soldier flies do not bite or sting.[23]

What does the black soldier fly eat?

Larvae consume organic materials including manure, brewing grains, household food waste, grocery and restaurant waste, paper mill sludge, carrion, plant residues, agricultural byproducts, and straw. Adults typically do not eat but can consume liquids such as flower nectar.[15][16][17]

What do black soldier flies do for the environment?

Their larvae break down household food scraps and agricultural waste in composting systems and can reduce compost volume by approximately 50 percent. Larval digestate can improve soil water retention, and larval frass can be used as an organic fertilizer.[32][34][33][35]

Where do black soldier flies lay their eggs?

Females typically deposit eggs in crevices or on surfaces above or adjacent to decaying matter such as manure or compost. They also deposit eggs on decomposing organic matter and in cracks in the fronts of bee hives.[14][25]

Sources

Passages the profile rests on

  1. Adult flies have predominantly black bodies with metallic blue-to-green reflections on the thorax and sometimes reddish abdominal tips. Source passage: “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.” — English Wikipedia
  2. The adult fly has a broad head with well-developed eyes and antennae approximately twice the length of its head. Source passage: “The head is wide, with very developed eyes. The antennae are about twice the length of the head.” — English Wikipedia
  3. Adult flies have black legs with whitish tarsi and membranous wings that overlap horizontally over the abdomen when resting. Source passage: “The legs are black with whitish tarsi. The wings are membranous; at rest, they are folded horizontally on the abdomen and overlapped.” — English Wikipedia
  4. Adult flies measure approximately 16 millimetres in length. Source passage: “The adults of H. illucens measure about 16 millimetres (5⁄8 in) long.” — English Wikipedia
  5. Adult flies have one pair of tinted brown wings and a second pair reduced to small halteres. Source passage: “Like other dipterans ( true flies ), the thorax is the main part of the body, where only one pair of tinted brown wings are located, with the second pair being reduced to small protrusions of the thorax called halteres.” — animaldiversity.org
  6. The halteres are white and assist with flight coordination. Source passage: “White in color, Black Soldier Fly halteres aid in flight coordination.” — animaldiversity.org
  7. Larvae can be distinguished from blowfly and housefly larvae by a thin gray-black stripe on their posterior ends. Source passage: “Black soldier fly larvae can be differentiated from blowfly or housefly larvae by a thin gray-black stripe on their posterior ends.” — English Wikipedia
  8. Newly emerged larvae are creamy white and have reddish-brown heads. Source passage: “The larvae pass through six instars, larvae that have recently emerged from their eggs are opaque, creamy white, with a reddish-brown head.” — animaldiversity.org
  9. Fully developed male larvae measure approximately 17–18 millimetres, while female larvae measure approximately 21–23 millimetres. Source passage: “Male larvae are about 17-18mm at full size and females are about 21-23mm in size.” — animaldiversity.org
  10. Sixth-instar larvae measure approximately 16–17 millimetres in length and 2.8–3.8 millimetres in width. Source passage: “The 6th instar is similar in size to adults ranging from 16 to 17mm in length and 2.8 to 3.8 in width.” — animaldiversity.org
  11. The species occurs in urban, rural, and forested environments. Source passage: “Black soldier flies can be found in a variety of urban, rural, and forested environments.” — animaldiversity.org
  12. Adults commonly rest on house walls, windows, tree trunks, and garden plants in residential areas and on farms. Source passage: “Adults are often seen resting on the walls and windows of houses, on tree trunks, on garden plants in built-up residential areas, and farms where livestock and poultry are located.” — animaldiversity.org
  13. Larvae inhabit a wide range of decomposing plant and animal materials. Source passage: “The larvae live in a wide range of decaying plant and animal materials, and they are terrestrial scavengers.” — animaldiversity.org
  14. Females deposit eggs on decomposing organic matter and in cracks in the fronts of bee hives. Source passage: “The black soldier fly has been found laying its eggs on decomposing organic matter and in the cracks in the front of bee hives.” — animaldiversity.org
  15. Larvae consume a wide variety of organic materials, including manure, brewing grains, household food waste, grocery and restaurant waste, paper mill sludge, and carrion. Source passage: “They feed on a wide range of organic materials, including manure, spent grains from brewing, household food waste, grocery or restaurant waste, paper mill sludge, and carrion (dead animals).” — extension.entm.purdue.edu
  16. Larvae can consume plant residues, animal manure, food scraps, agricultural byproducts, and straw. Source passage: “Furthermore, BSFL are easily reared and propagated on any nutrient substrate such as plant residues, animal manure and waste, food scraps, agricultural byproducts, or straw.” — pmc.ncbi.nlm.nih.gov
  17. Adult flies can consume liquids such as flower nectar, although they typically do not eat. Source passage: “Unlike houseflies, adult black soldier flies have greatly reduced sponging mouthparts, meaning they can only consume liquids such as flower nectar, although they typically do not eat at all.” — English Wikipedia
  18. Larvae in front of bee hives feed on honey and waste materials from the hives. Source passage: “The larvae in front of the beehives hatch after 4-6 days, feeding on the honey and waste materials from the hives.” — animaldiversity.org
  19. Adults become active in the morning when temperatures reach approximately 25 degrees Celsius. Source passage: “Black soldier flies become active in the morning when temperatures reach 25 degrees Celsius.” — animaldiversity.org
  20. Adults mate during daytime when temperatures reach approximately 27 degrees Celsius. Source passage: “Mating occurs in the day when temperatures reach 27 degrees Celsius in midair.” — animaldiversity.org
  21. Mature prepupae stop feeding and migrate toward cool, dark, and dry substrates before pupation. Source passage: “When the larvae have completed their larval development through six instars, they enter a stage called the "prepupa" wherein they cease to eat, and tend to migrate toward cool, dark, and dry substrates to pupate.” — English Wikipedia
  22. Larvae can survive in highly acidic conditions and at higher temperatures than redworms. Source passage: “Black soldier fly larvae are quite hardy and can handle more acidic conditions and higher temperatures than redworms.” — English Wikipedia
  23. Adult flies do not bite or sting. Source passage: “They are very easy to catch and relocate when they get inside a house, as they do not avoid being picked up, they are sanitary, and they neither bite nor sting.” — English Wikipedia
  24. Females lay approximately 200–600 eggs per batch. Source passage: “An adult female lays approximately 200 to 600 eggs at a time.” — English Wikipedia
  25. Females typically deposit eggs in crevices or on surfaces above or adjacent to decaying matter such as manure or compost. Source passage: “These eggs are typically deposited in crevices or on surfaces above or adjacent to decaying matter such as manure or compost” — English Wikipedia
  26. Eggs hatch approximately four days after being laid. Source passage: “and hatch in about 4 days.” — English Wikipedia
  27. The species undergoes complete metamorphosis through egg, larval, pupal, and adult stages. Source passage: “Black soldier flies go through a complete metamorphosis life cycle, with an egg, larva (maggot), pupa, and an adult stage of development.” — animaldiversity.org
  28. Larvae pass through six instars before pupation. Source passage: “When the larvae have completed their larval development through six instars” — English Wikipedia
  29. The pupal stage lasts approximately one to two weeks. Source passage: “The pupal stage lasts from 1 to 2 weeks.” — English Wikipedia
  30. Adults typically mate and lay eggs at temperatures between 24 and 40 degrees Celsius or higher. Source passage: “Adults typically mated and oviposited at temperatures of 24 to 40 °C (75 to 104 °F) or more.” — English Wikipedia
  31. The species is not considered an agricultural pest or disease vector. Source passage: “Neither larvae nor adults are considered to be agricultural pests or disease vectors.” — English Wikipedia
  32. Larvae are used in composting systems to break down household food scraps and agricultural waste. Source passage: “The larvae have voracious appetites and can be used for composting household food scraps and agricultural waste products.” — English Wikipedia
  33. Larvae can reduce the volume of compost by approximately 50 percent. Source passage: “The use of BSFL in a compost system typically reduces the volume of compost by around 50%.” — English Wikipedia
  34. Larval digestate can be applied as a soil amendment and can improve soil water retention. Source passage: “The resulting BSF digestate (compost) can be applied as a soil amendment. It is high in organic matter and can aid in water retention of the soil.” — extension.entm.purdue.edu
  35. Larval frass can be used directly as an organic fertilizer. Source passage: “Fly larval frass is a granulated and odorless residue that can be used as organic fertilizer directly or through conversion by earthworms.” — English Wikipedia
  36. The adult black soldier fly closely resembles the organ pipe mud dauber wasp and related wasps in size, coloration, and appearance. Source passage: “H. illucens is a mimic fly, very close in size, color, and appearance to the organ pipe mud dauber wasp and its relatives.” — English Wikipedia

Data

References

  1. Linnaeus, [T.Y., Carl (1758) Systema naturae... Ed. 10, Vol. 1. 824 pp. L. Salvii, Holmiae [= Stockholm]. [1758.01.01]. where the name was published

This species in other databases

Page built on 2 December 2026. See how the catalog is made and all sources and licences.

Cite this page

ScientificNames.org. (2026). Hermetia illucens (Black Soldier Fly). Retrieved December 2, 2026, from https://scientificnames.org/species/hermetia-illucens