The theoretical and methodological basis of the research presented in the scientific paper is based on the solution of the problem of the effective functioning of the market environment, agricultural market infrastructure in Ukraine, problems and prospects that Ukrainian agrarian modernity has today in the development of global food markets. An important block of issues is also the role of the state in building new mechanisms of restrictions and incentives, implementation of the whole set of regulatory policies during the war in the context of global political, economic, food and financial challenges. The purpose of the study is to improve scientific approaches and practical recommendations for solving the problem of ensuring the organisational and economic foundations of the functioning of the agrarian market in Ukraine under martial law. In order to achieve this goal, a wide range of research methods was used, the most important of which were the methods of generalisation and synthesis, scientific abstraction, analytical diagnostics, descriptive statistics. The methodical basis of the research were general and special methods, namely: system analysis - in order to comprehensively characterise the strategic potential of agricultural development; statistical analysis (method of standard deviation) of the dynamics of gross production by main types of agricultural products, generalisation and synthesis - in order to examine the legislative and regulatory bases in the direction of diagnosis of the potential of the agricultural sector to ensure the sustainability of national food security. The dialectical method of understanding socio-economic processes, the formal-logical method and the method of system analysis have been applied in order to better understand the processes of the country's food supply, the formation of food independence from imports, the identification of the regularities of the processes of food self-sufficiency, as well as to take into account the influence of macroeconomic factors on the improvement of the level of national food supply and food security. The main set of indicators and factors (conditions) of national food security and the set of indicators of national food security were formed to address important issues of food supply in accordance with the country's potential capabilities in the production, storage, processing of agricultural products to provide food for all categories of the population with appropriate levels of consumption, as well as food of adequate quality and safety. The study determines that the economic focus of regulatory measures on the food sector, on the protection of domestic consumers, will lead to the provision of agricultural producers with the necessary and optimal level of income, and will help to increase the competitiveness of the agricultural sector as a whole. It has been proved that solving the problem of improving the organisational and economic foundations of functioning of the agrarian market of Ukraine under martial law will generally contribute to ensuring the level of national food security, which will further give a powerful impetus to the State-building in Ukraine under martial law.