Black soldier fly larvae (BSFL) can use food by-products or residues as a growth substrate, and their use is considered a strategic solution to improve the sustainability and efficiency of animal production. BSFL need to be reared under controlled environmental conditions, as temperature can affect the welfare of the larvae and the efficiency of their bioconversion. The goal of this experiment was to test different diets: control, vegetable, carnivorous, omnivorous and to assess their effect on larval growth performance, chemical composition, and substrate temperature. BSFL (6-days-old) were randomly selected and allocated to one of the four diets for the entire experiment (8 days). The temperature in each container was measured twice daily using a thermal imaging camera. The vegetable diet led to significantly lower growth performance (p