Landslide susceptibility indices were calculated and landslide susceptibility maps were generated for the Oudka, Morocco, study area using a geographic information system. The spatial database included current landslide location, topography, soil, hydrology, and lithology, and the eight factors related to landslides (elevation, slope, aspect, distance to streams, distance to roads, distance to faults, lithology, and Normalized Difference Vegetation Index [NDVI]) were calculated or extracted. Logistic regression (LR), multivariate adaptive regression spline (MARSpline), and Artificial Neural Networks (ANN) were the methods used in this study to generate landslide susceptibility indices. Before the calculation, the study area was randomly divided into two parts, the first for the establishment of the model and the second for its validation. The results of the landslide susceptibility analysis were verified using success and prediction rates. The MARSpline model gave a higher success rate (AUC = 0.963) and prediction rate (AUC = 0.951) than the LR model (AUC = 0.918 and AUC = 0.901) and the ANN model (AUC = 0.886 and AUC = 0.877). These results indicate that the MARSpline model is the best model for determining landslide susceptibility in the study area.