The energy sector is an important factor that influences life quality and economic prosperity. Differences in infrastructure, technology and even in culture of each country make it imperative to include their own characteristics into energy analyses, making it necessary to identify the different types of sources of CO2 emissions and their magnitudes. The aim of this paper is to present a foresight analysis of the productive and energy matrices dynamics in Ecuador for the period 2016–2030 and to propose public policy that contributes to sustainable development. In a first stage, the research has an explanatory character, referring to construction of a model, which uses an extended variation of the Kaya Identity where the volume of CO2 emissions may be examined quantifying contributions of productive sectors activity, sectorial energy intensity, energy matrix, and CO2 emission features. Subsequently, the research acquires a predictive-experimental nature, using exploratory scenarios. That allows linking historic and present events with hypothetical futures. In consequence, driving forces of the scenario can be explained and analysed using quantitative modelling based on the Kaya Identity and qualitative narratives. Within this study two scenarios were built. The Business as Usual scenario, without modifying the structure of productive and energy matrices, and the Alternative scenario that seeks to reduce the consumption of oil derivatives in land transport, which consumes 50% of the country’s energy demand. The Alternative scenario, which promotes the use of biofuels, projects to reduce the CO2 emissions from 45.58 to 43.41 Mt of CO2 equivalent for 2030. The policy on biofuels in Ecuador is at an early stage. So, biofuels offer important opportunities: i) diversification of the energy matrix, ii) contribution to energy security, iii) promotion of the growth of the industrial sector, and iv) substitution of fossil fuels and mitigation of the greenhouse gas effects.