Lockdowns resulting from the COVID-19 pandemic reduced overall energy demand but electricity generation from renewable sources has been resilient. The empirical analysis presented in this paper highlights that recessions result in a permanent, albeit small, increase in energy efficiency and in the share of renewables in total electricity.