Solute concentrations and accumulation in shallow groundwater can trigger a negative domino effect of environmental and economic problems. Accurately tracking the solute chemistry of groundwater is essential for assessing their adverse impacts and pinpointing hotspots of contaminants that require conservation measures. However, existing mapping methods have been greatly limited by the peculiarities of shallow groundwater, such as its challenging hydraulic connection, uneven distribution, and complex driving factors prevalent in arid regions. To address these challenges, we designed a novel framework that integrates species distribution models (SDMs) with traditional hydrological models and advanced machine learning algorithms to predict the spatial distribution of groundwater solutes in a multidisciplinary effort. We carried out a systematic collection of shallow groundwater, deep groundwater, and surface water samples from three adjacent hydrological units in the arid regions of northwest China. By employing the SDMs framework originally utilized in ecology to assess biological species suitability, we could simulate and predict solute concentrations in groundwater. The results emphasized that solutes in surface water were important variables in the final models for Na+, K+, SO42−, and Cl−, while deep groundwater influenced Ca2+. In addition, integrating predictor variables into the SDMs enabled the discovery of additional valuable information. Our results highlighted the improved power for mapping groundwater by combining SDMs with multidimensional driving factors. This novel framework could not only clarify the solute movement mechanisms but also reveal their spatial patterns via a transdisciplinary approach, offering a versatile tool for groundwater management and policies.