Thearticle presents the results of the study of the functioning of the ports of Ukraine through the prism of the impact of the war. A generalized analysis of the operation of Ukraine's ports from the first wave of blockade by the Russian Federation in 2022 to the current state is presented, including the actual throughput capacity of functioning ports and the nomenclature of cargo handling by Danube ports in 2023. In addition, the dynamics and structure of the supply of agricultural products by the main modes of transport are provided, where the importance of the ports of Ukraine as the main way of exporting agricultural products to ensure their arrival on international markets is highlighted; shows changes in grain and wheat prices between January 2021 and August 2023 based on International Grains Council indices. The role of the ports of the Danube region and the grain agreement for the export of cargo flows of agricultural andother products to African and Asian markets is singled out. The question of the potential for further development, development, modernization and renewal of the infrastructure of the ports of Izmail, Reni, and Ust-Dunaysk was revealed. The restoration of ship calls to the ports of Greater Odessa thanks to the formation of Ukraine's own humanitarian corridor was emphasized. The consequences of Russia's large-scale war against Ukraine in the field of port activity are grouped due to the consequences of direct and indirect influence. The risks of shipping among the countries of the Azov-Black Sea basin from the standpoint of security are summarized. It is concluded that the consequences of the protracted war scenario in Ukraine will have a negative impact not only on the port industry, but will also become a catalyst for an economic crisis in the developed economies of the world.