As an important policy to promote global energy transition and carbon emission reduction, does the carbon emission trading policy help promote foreign direct investment inflows, thus alleviating the contradiction between environment and economic development? Based on the “OLI paradigm,” by using the data of China’s 30 provinces from 2007 to 2016 and taking China’s pilot implementation carbon emission transaction policy in 2013 as the natural experiment, so as to construct a differences-in-differences model, this study empirically analyzed the impact of carbon emission transaction policies on foreign direct investment and conducted an in-depth analysis and discussion on related heterogeneity. The empirical results show that 1) there is a positive correlation between the carbon emission trading policy and foreign direct investment; 2) the results of heterogeneity analysis show that the effect of carbon emission trading policy on the increase in FDI is more significant in the areas with a stronger environmental regulation, a higher degree of marketization, and low energy consumption. The conclusions of this study enrich the analysis of the effectiveness of government environmental policies from the perspective of both environment and economic development and provide relevant policy enlightenment for developing countries in environmental regulation and attracting foreign direct investment.Systematic Review Registration: [website], identifier [registration number].