Background: This research is motivated by the importance of understanding the influence of macroeconomic variables on stock market movements, particularly the relationship between Gross Domestic Product (GDP) and gold prices on the Composite Stock Price Index (IHSG). The purpose of this study is to analyze the effect of GDP and gold prices on the IHSG in Indonesia during the period 2007–2024. Research Objective: The purpose of this study is to determine and analyze the effect of GDP and gold prices on the IHSG in Indonesia during the period 2007–2024. Research Methods: This research method uses a quantitative approach with multiple linear regression analysis using the EViews 13 application. The data used is secondary data in the form of time series for the period 2007–2024 obtained from the Central Statistics Agency (BPS), Bank Indonesia, and the Indonesia Stock Exchange (BEI). Testing is carried out through classical assumption tests and hypothesis tests to examine the influence of variables partially and simultaneously. Research Results: The research results indicate that GDP and gold prices have a positive and significant effect on the IHSG, both partially and simultaneously, with a high model capability in explaining IHSG variations. The model has also fulfilled all classical assumptions, so the estimation results are considered valid and reliable. Conclusion: Macroeconomic variables such as GDP and gold prices play an important role in influencing the movement of the IHSG in Indonesia, so they can be used as indicators in capital market analysis while still considering other factors outside the model.