The purpose of this study is to examine how the consumption of renewable and nonrenewable energy, CO2 emissions, FDI, and gross capital formation affect the GDP per capita in the case of Indonesia. This study employs cointegration and ARDL to estimate the short and long-run coefficient which is preceded by ADF and PP unit root test using the annual time series data from 1960 to 2021. The result of the estimation shows that in the long run non-renewable energy consumption, CO2 emission, and FDI impact the economic growth of Indonesia directly. Meanwhile, in the short run, the estimation result reveals that non-renewable energy and FDI are positive and statistically significantly affected the economic growth of Indonesia. Renewable energy hasn't yet been found to have a substantial impact on Indonesia's economic growth. This research offers novel perspectives on how nonrenewable and renewable energy consumption, CO2 emissions, and FDI impact the economic growth. The findings provide valuable implications for Indonesia to develop long-term policies that can enhance the positive effects of energy consumption and CO2 emissions on economic growth in the future. The involvement of FDI in the model also become the novelty of this study to examine the impact of FDI to economic growth.