Since the reform and opening up, the scale of foreign direct investment (FDI) in China has been expanding, and along with the expansion of FDI, China's economic growth has become more and more favorable. In order to explore the effect of FDI on China's economic growth, this paper uses the time series data from 2000-2021, through ADF smoothness test, co-integration test, and also based on Cobb-Douglas production function to establish a regression model to analyze the effect of economic growth brought by FDI, and add other factors affecting economic growth, comprehensive analysis of foreign direct investment on economic growth. Then, we analyze the causal relationship between economic growth and FDI through Granger causality test. Finally, based on the empirical results, suggestions are given on how to make FDI better promote economic growth.