Building-integrated agriculture (BIA) has emerged as a strategy to decarbonize cities by reusing energy flows between buildings and controlled environment agriculture (CEA). A wide variety of configurations —including rooftop, façade greenhouses and vertical farms— have shown to reduce heating demand by 3–24% through passive energy integration and achieve 10–34% savings when coupled with active ventilation systems. However, most assessments remain theoretical, and little is known about the life-cycle performance of real-world demonstrators. This study applies a life-cycle energy assessment (LCEA) to an integrated rooftop greenhouse (iRTG) in Barcelona to evaluate whether energy circularity reduces life-cycle energy impacts through a set of energy indicators. Results confirm trends observed in the literature: passively ventilated iRTGs provide life-cycle energy gains but come with high embodied energy costs from iRTG's building materials (accounting for 86% of LCEA). Conversely, active configurations reduce building annual energy demand by up to 12% despite higher material and operational inputs. In turn, active iRTGs reach an energy payback time of 2.2 years and an energy return on investment of 22.8, compared to 3.5 years and 14.2 in passive systems. Such values are comparable with those reported for other energy-saving strategies such as building retrofits or photovoltaic panels, highlighting BIA's competitiveness. By combining evidence from prior studies with empirical data from a world demonstrator, this work confirms that energy circularity in BIA can lower life-cycle energy impacts when appropriately designed and integrated. BIA thus represents not only food-producing infrastructures for cities but also viable energy-saving measures that contribute to the decarbonization of the urban building stock.