Landslides and flash floods are significant natural hazards with substantial risks to human settlements and the environment, and understanding their interconnection is vital. This research investigates the hazards of landslides and floods in two adopted basins in the Yamaguchi and Shimane prefectures, Japan. This study utilized ten environmental variables alongside categories representing landslide-prone, non-landslide, flooded, and non-flooded areas. Employing a machine-learning approach, namely, a LASSO regression model, we generated Landslide Hazard Maps (LHM), Flood Hazard Maps (FHM), and a Composite Hazard Map (CHM). The LHM identified flood-prone low-lying areas in the northwest and southeast, while central and northwest regions exhibited higher landslide susceptibility. Both LHM and FHM were classified into five hazard levels. Landslide hazards predominantly covered high- to moderate-risk areas, since the high-risk areas constituted 38.8% of the study region. Conversely, flood hazards were mostly low to moderate, with high- and very high-risk areas at 10.49% of the entire study area. The integration of LHM and FHM into CHM emphasized high-risk regions, underscoring the importance of tailored mitigation strategies. The accuracy of the model was assessed by employing the Receiver Operating Characteristic (ROC) curve method, and the Area Under the Curve (AUC) values were determined. The LHM and FHM exhibited an exceptional AUC of 99.36% and 99.06%, respectively, signifying the robust efficacy of the model. The novelty in this study is the generation of an integrated representation of both landslide and flood hazards. Finally, the produced hazard maps are essential for policymaking to address vulnerabilities to landslides and floods.