Rainfall is a triggering factor that causes landslides, especially in the regions where landslides often occur after consecutive days of heavy rainfall. Most previous studies only used a specific rainfall map for landslide susceptibility assessment. However, this approach was unreasonable because rainfall is a time-variant data. This study uses the time series data of 1-day, 3-day, 5-day, and 7-day maximum precipitation from 2016 to 2020 in the mountainous area of Quang Ngai province for landslide susceptibility assessment. These data and other influencing factors were used to develop landslide spatial prediction models using the Extreme Gradient Boosting method. The prediction model's performance was assessed using the statistical index and receiver operating characteristic curve methods. The testing results of 4 cases using consecutive days of maximum rainfall data demonstrated excellent performance. Of these, the model with a 3-day maximum rainfall with ACC = 0.813, kappa = 0.625, SST = 0.872, SPF = 0.754, and AUC = 0.895 had the best performance. In addition, these results were compared to the previous approach that used average annual rainfall. The validation result indicates that the cases using a time series of maximum precipitation (with AUC of approximately 0.9) outperform the cases with average annual rainfall (AUC=0.838). Finally, the model using 3-day maximum rainfall is then used for landslide spatial prediction mapping. These maps provide spatial prediction and assess landslide susceptibility corresponding to rainfall frequencies.