Home / Invertebrates / Soldier flies / Black soldier fly
No federal permit to keepBlack soldier fly
Hermetia illucens
Invertebrates › Soldier flies (Diptera) › Stratiomyidae (Soldier flies)
Hermetia illucens, known colloquially as the black soldier fly, is a widespread fly of the family Stratiomyidae.
From Wikipedia: Hermetia illucens, CC BY-SA 4.0 (excerpt)

Care at a glance
Species-specific values
Values researched for this exact species. Air, surface and water temperatures are listed separately, and each source is kept as published rather than averaged.
| Minimum enclosure | Use a ventilated cup or smooth-sided tub with enough surface area and separated dry and moist areas. Source: academy.herpeton.net | |
| Uvb lighting | UVB is not needed; a standard room day-night cycle suffices. Source: academy.herpeton.net | |
| Diet | Use commercially raised larvae or clean plant-based home-culture feed; avoid unsafe scraps and contaminants. Source: academy.herpeton.net | |
| Substrate | Use clean feed or bedding and manage moisture so it drains; avoid wet anaerobic substrate. Source: academy.herpeton.net |
Understanding the animal
About this animal
About this animal
Black soldier fly larvae are commonly utilized in composting systems due to their ability to rapidly break down food waste. In recent years, H. illucens has increasingly been gaining attention because of its hyperaccumulation of protein and fats via consumption of renewable substrates.
From Wikipedia: Hermetia illucens, CC BY-SA 4.0 (excerpt)
In the wild
In the wild
| Overview | Hermetia illucens, known colloquially as the black soldier fly, is a widespread fly of the family Stratiomyidae. Black soldier fly larvae are commonly utilized in composting systems due to their ability to rapidly break down food waste. In recent years, H. illucens has increasingly been gaining attention because of its hyperaccumulation of protein and fats via consumption of renewable substrates. — From Wikipedia: Hermetia illucens, CC BY-SA 4.0 (excerpt) |
Read about this species in the wild at Animal Diversity Web.
Native climate (measured)
Native climate (measured)
| Warm-season highs | about 84°F (up to 93°F in the hottest sampled areas) |
| Cool-season lows | about 47°F (down to 38°F in the coldest sampled areas) |
| Average temperature | 58–81°F across sampled records |
| Relative humidity | 68–77% on average (driest month about 65%) |
| Rainfall | about 1239 mm a year |
Measured at 82 wild occurrence records sampled against WorldClim 2.1 climate data (1970–2000 averages). Air conditions in the range are ecological context, not enclosure settings: microhabitats such as burrows, leaf litter or basking rocks can be cooler, warmer or more humid.
Data and studies
Veterinary & husbandry research
Veterinary & husbandry research
- Digestibility and safety of dry black soldier fly larvae meal and black soldier fly larvae oil in dogs Freel TA et al., Journal of animal science 2021
Peer-reviewed papers that mention this species alongside captivity, zoos, veterinary care or aquaculture. Some cover several species or mention it only in passing, so check the abstract. See all 154 on PubMed → PubMed
Sources for this sheet
- GBIF Backbone Taxonomy (Global Biodiversity Information Facility) (CC BY 4.0) Peer-reviewed researchInternational scientific taxonomy used here for classification. GBIF Secretariat (2023). GBIF Backbone Taxonomy. Checklist dataset https://doi.org/10.15468/39omei, accessed via GBIF.org.
- Wikipedia (species article) (CC BY-SA 4.0) Community referenceFree encyclopedia; useful overviews with their own citations. Short excerpts are quoted under CC BY-SA 4.0, each credited with a link to its article.
- PubMed (U.S. National Library of Medicine) Peer-reviewed researchIndex of peer-reviewed veterinary, zoo and husbandry research.
- iNaturalist (captive observations) Community referenceCommunity observation platform run by the California Academy of Sciences and National Geographic; observations marked captive show animals living in homes, zoos and aquariums.