Groundwater stands as a crucial lifeline in numerous regions across the globe, a significance magnified in water-scarce locales like the Middle East. With depleting water resources exacerbated by global climate change, the imperative for sustainable groundwater management becomes increasingly urgent. This research employs a groundwater flow modeling approach, utilizing Visual MODFLOW (version 4.6.0.166), to scrutinize the present state and future security risks of groundwater resources in the Erbil basin. A distinct aspect of this study involves investigating the interaction between the groundwater aquifers of Greater Zab and Lesser Zab Rivers, along with an exploration of the Erbil aquifers, rivers interaction and recharge zones as a second novelty in this research. The model, calibrated for heterogenous anisotropic unconfined aquifer transient conditions, exhibits a high correlation coefficient (CC) of 0.997 during calibration and 0.985 in the validation process respectively. Findings indicate a general groundwater flow direction from northeast to southwest in the Erbil basin, aligning with surface observations. Despite groundwater aquifers supplying only 55% of the current water demand from the existing wells, the computed balance reveals river leakages of 33,432 m 3 /day into the aquifers. The study forecasts a substantial increase in the dry area of the groundwater aquifer under climate change scenarios, especially when recharge rates diminish. To mitigate these impacts, the study recommends preventing illegal well drilling and implementing continuous monitoring using distributed sensors. The insights gleaned from this research are anticipated to furnish essential information for sustainable planning and effective management of groundwater resources in the Erbil basin and its environs.