Urban flood risk mapping has become crucial for effective mitigation and urban planning. This study assesses and maps flood risk in the city of Zaio, Morocco, using machine learning and Multi-Criteria Decision Analysis (MCDA) techniques to overcome data scarcity challenges. We employed the Random Forest (RF) model with nine flood conditioning factors for flood hazard and the Analytical Hierarchy Process (AHP) for vulnerability assessment. To enhance RF model performance, we compared three hyperparameter tuning techniques: Bayesian Optimization (RF-BO), Genetic Algorithm (RF-GA), and Grid Search (RF-GS). RF-BO demonstrated superior accuracy in flood hazard modelling. Flood vulnerability was assessed using AHP, incorporating social and physical factors. The final flood risk map was produced by combining the RF-BO hazard model with the AHP vulnerability assessment. Results indicate that flood hazard in Zaio is significantly affected by factors such as topography and distance to rivers. Moreover, areas with high population density closer to rivers, especially in the south-western residential area, were found to be more exposed to flood risk. The findings highlight the utility of ML models, MCDA, and hyperparameter optimization in urban flood risk mapping, enabling the identification of high-risk urban areas that should be prioritized for flood protection efforts. This approach proves especially valuable in ungauged regions with limited hydrological data.