Into the CanopyAnimal care sheets

Home / Invertebrates / Soldier flies / Black soldier fly

No federal permit to keep

Black 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)

Feeders & cultures
Experience: Easy
Black soldier fly
Photo: Didier Descouens, CC BY-SA 4.0, via Wikimedia Commons
FamilySoldier flies
Kept byFeeders & cultures

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 enclosureUse a ventilated cup or smooth-sided tub with enough surface area and separated dry and moist areas.
Uvb lightingUVB is not needed; a standard room day-night cycle suffices.
DietUse commercially raised larvae or clean plant-based home-culture feed; avoid unsafe scraps and contaminants.
SubstrateUse clean feed or bedding and manage moisture so it drains; avoid wet anaerobic substrate.

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

OverviewHermetia 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 highsabout 84°F (up to 93°F in the hottest sampled areas)
Cool-season lowsabout 47°F (down to 38°F in the coldest sampled areas)
Average temperature58–81°F across sampled records
Relative humidity68–77% on average (driest month about 65%)
Rainfallabout 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

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

  1. 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.
  2. 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.
  3. PubMed (U.S. National Library of Medicine) Peer-reviewed researchIndex of peer-reviewed veterinary, zoo and husbandry research.
  4. 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.