Thermal tolerance and preference are key parameters impacting agricultural production systems. In this study, the impact of larval diet on black soldier fly thermal tolerance and preference across life-stages and sexes was examined. Larvae were fed either a low-protein high-carbohydrate synthetic diet (i.e., P