The scientific article is devoted to one of the important objects of national security – energy security. The organizational and legal approaches to the regulation of energy security are singled out and certain aspects of state regulation of energy efficiency are outlined, taking into account modern geopolitical processes. The definition of energy security is formulated, its global nature is indicated, which determines its provision through the joint efforts of all countries of the world, taking into account the internal characteristics and needs of the industry. It was emphasized that energy security as an object of state policy in the conditions of armed aggression against Ukraine requires proper legal regulation and continuous coordinated state management influence in order to ensure the energy independence of the country and the stable operation of energy infrastructure facilities. The analysis of the legal provision of energy security in Ukraine allowed us to come to the conclusion about the ramifications of the legislation in the specified area, the lack of optimization and systematization of energy legislation, its conflict and tolerance for the monopoly position of energy market participants. In the conditions of the war in Ukraine, the main direction of legislative regulation of the energy market is the introduction of tax benefits, temporary special taxation regimes. It was concluded that the introduction of the Institute of the Authorized President of Ukraine on Energy Safety, the development of the Institute of Public Control in the specified field is considered a promising direction for improving the national institutional mechanism for ensuring energy security. Arguments are also given that the institutional and legal mechanisms for ensuring energy security should provide for: permanent strategic planning of the development of the energy sector; coordination of energy policy with other areas of state policy; elimination of illegal administrative influence on energy market participants; taking measures to improve energy efficiency; creation of conditions for the development of technological innovations in the field of functioning of the energy infrastructure; increasing the effectiveness of preventing cyber threats; taking measures to reduce the level of corruption and the influence of the political will of elites on the energy market of Ukraine, state deregulation and demonopolization of the energy resources market.