The article is devoted to the study of foreign trade in goods of Ukraine with the countries of the European Union (hereinafter – the EU) with the identification of priority partners for the purpose of diversification and activation of foreign trade cooperation. It was emphasized that the foreign trade of Ukraine is dominated by trade in goods, where a negative trade balance is formed, in particular, in trade with EU countries. In order to determine the key consumers of domestic goods among the EU-27 countries, an ABC analysis was conducted based on the volume of goods exported to them by Ukraine in 2016–2021. The distribution of EU countries into groups was carried out as follows: group A – countries that account for a significant volume of exports of goods by Ukraine (about 80% of the total volume); group B – countries with an average level of export supplies of goods from Ukraine (about 15%); group C – countries with a small volume of exports of goods from Ukraine (about 5%). ABC-analysis is complemented by XYZ-analysis, which allows to analyze and forecast the stability of export of goods to EU countries. Based on the results of the ABC-XYZ analysis, a conclusion was made regarding the expediency of supporting the volume and dynamics of trade cooperation with key EU partner countries in the export of goods – Poland, Italy, Germany, the Netherlands, Spain, Romania, the Czech Republic, Hungary, Slovakia, Austria, and the need to intensify efforts to increasing the export of goods to countries that in the medium term have the potential to become attractive markets for the consumption of domestic products – France, Bulgaria, Belgium, Lithuania, and to a lesser extent – Denmark, Greece and Latvia. At the same time, it is noted that the vast majority of these countries are highly developed economies of the European Union, and trade in goods with them for Ukraine is disparate. Therefore, it is important to continue cooperation with the EU regarding the signing of the Agreement on Conformity Assessment and Acceptance of Industrial Products, recognition of the equivalence of sanitary and phytosanitary measures for opening markets, and simplifying the export of food and agricultural products. It is also necessary to increase efforts to gradually open public procurement markets. The further liberalization of transport with the EU, the conclusion of agreements in the field of road, inland water and railway transport are also important.