In response to global economic, social, and environmental problems, ESG investment principles have changed the approach to directing and structuring foreign direct investment. Additionally, they are becoming an essential factor in attracting migrants. This article aims to determine the impact of foreign direct investment on global migration trends and their peculiarities with the introduction of ESG investment principles. For this purpose, global foreign direct investment flows, global ESG investment flows, and global migration trends have been analyzed from 1995 to 2022. Pairwise correlation calculation was used as the primary analysis method through R-Studio software with integrated R programming language. The results indicated a 35% correlation between the volume of global ESG investment flows and the number of international migrants (as a percentage of the total population, which varies between 3.2% and 3.6%) for 2010-2022. Subsequently, regression analysis was conducted to explore the relationship between critical variables: investment flows and the level of migration in four European countries (France, Poland, the Czech Republic, and Germany). It was determined that investment inflows led to new jobs, accelerated economic growth, and improved business climate, thus encouraging reduced outflow and increased inflow of migrants. Investments based on ESG principles also reduce emigration as they enhance the quality of life in the host country, provide better environmental protection, and promote more transparent corporate management. However, it should be noted that investments have no apparent impact on migration caused by external factors such as wars or political conflicts, so such analysis should not include periods of global economic and political unrest.