In the middle southern section of the Freshwater River–Small River Fault system, Xichang City, Daliang Prefecture, Sichuan Province, is situated in the junction between the Anning River Fault and the Zemu River Fault. There has been a risk of increased activity in the fault zone in recent years, and landslide susceptibility evaluation for the area can effectively reduce the risk of disaster occurrence. Using integrated learning and Bayesian hyperparameter optimization, 265 landslides in Xichang City were used as samples in this study. Thirteen influencing factors were chosen to assess landslide susceptibility, and the BO-XGBoost, BO-LightGBM, and BO-RF models were evaluated using precision, recall, F1, accuracy, and AUC curves. The findings indicated that after removing the terrain relief evaluation factor, the four most significant factors associated with landslide susceptibility were NDVI, distance from faults, slope, and distance from rivers. The study demonstrates that the AUC value of the BO-XGBoost model in the study area is 0.8677, demonstrating a better generalization ability and higher prediction accuracy than the BO-LightGBM and BO-RF models. After Bayesian optimization of hyperparameters, the model offers a significant improvement in prediction accuracy.