Global uncertainties have made many investors turn to gold investments that are classified as safe assets. Even so, the puce of gold moved quite dynamically amid the conditions of the trade war between the US and China. The development of an accurate forecasting model for estimating gold price fluctuations is very important and useful for investors. For tins reason, this study aims to determine whether the US-China trade war has a significant impact on the puce of gold and predict the price of gold for the next several periods. This study found that the trade war between the US and China affected the price of gold significantly. Using the Autoregressive Integrated Moving Average with Exogenous Variable (ARIMAX) approach by considenng the mfluence of the US and China trade war as an exogenous variable, an excellent ARIMAX model was obtamed with the MAPE of 2.6 percent for traming data. Moreover, tins model has a good forecasting performance with the MAPE of 9.6 percent for testing data.