The article examines the preconditions for the aggravation of environmental danger for Ukraine and the world as a whole, in particular in the context of the intensifying economic crisis. The long-term plans of the International Energy Agency to achieve “zero” carbon emissions by 2050 have been assessed. It was found that in order to ensure the growth of the world economy by the middle of the XXI century, it is necessary to increase energy efficiency, in particular in terms of active use of renewable energy sources. Energy efficient measures to ensure energy security of the urban agglomeration are summarized. In order to develop alternative energy sources, investments are needed in the energy sector (the annual share of investments in renewable sources in 2020 was 38%, which is $258.9 billion). Enhancement of energy efficiency and introduction of renewable energy sources should take place in the context of modernization of energy infrastructure of urban agglomerations: financing of technical re-equipment of energy assets, development of energy networks, reduction of energy intensity of industrial products, introduction of energy audit, etc. Ukraine has been ranked 8th in the world as one of the most attractive markets for renewable energy investment, but long-standing debt and incomplete energy market reform do not fully realize the potential (this is adversely affected by political mistakes, populist decisions, corruption and poor quality of energy management in Ukraine). It is proved that in the way of ecological safety creates barriers and a difficult situation with environmental protection, which significantly reduces the quality and comfort of life. It is proposed to create a strong environmental infrastructure in order to increase environmental security in the context of ensuring economic security; to introduce innovative ecological technologies; rationalize the processing of solid waste; to build modern waste processing plants, etc. Environmental legislation and governance in the field of energy policy is, unfortunately, a problematic area of current global change initiated by the EU to promote the use of environmentally friendly energy among EU member states.