This research aims to use the power of geospatial artificial intelligence (GeoAI), employing the categorical boosting (CatBoost) machine learning model in conjunction with two metaheuristic algorithms, the firefly algorithm (CatBoost-FA) and the fruit fly optimization algorithm (CatBoost-FOA), to spatially assess and map noise pollution prone areas in Tehran city, Iran. To spatially model areas susceptible to noise pollution, we established a comprehensive spatial database encompassing data for the annual average Leq (equivalent continuous sound level) from 2019 to 2022. This database was enriched with critical spatial criteria influencing noise pollution, including urban land use, traffic volume, population density, and normalized difference vegetation index (NDVI). Our study evaluated the predictive accuracy of these models using key performance metrics, including root mean square error (RMSE), mean absolute error (MAE), and receiver operating characteristic (ROC) indices. The results demonstrated the superior performance of the CatBoost-FA algorithm, with RMSE and MAE values of 0.159 and 0.114 for the training data and 0.437 and 0.371 for the test data, outperforming both the CatBoost-FOA and CatBoost models. ROC analysis further confirmed the efficacy of the models, achieving an accuracy of 0.897, CatBoost-FOA with an accuracy of 0.871, and CatBoost with an accuracy of 0.846, highlighting their robust modeling capabilities.Additionally, we employed an explainable artificial intelligence (XAI) approach, utilizing the SHAP (Shapley Additive Explanations) method to interpret the underlying mechanisms of our models. The SHAP results revealed the significant influence of various factors on noise-pollution-prone areas, with airport, commercial, and administrative zones emerging as pivotal contributors.