The larvae of the black soldier fly (Hermetia illucens) are considered a promising source of sustainable protein, as they contain high-quality protein comparable to soy protein. They can produce this protein from a wide variety of biomass sources, including by-products and residues from agriculture and food processing. However, while their potential is the subject of intense debate, little is known about the emission of greenhouse gases during their rearing.