The groundwater resources play a crucial role in satisfying water for use in domestic, industrial, and agricultural applications. The aim of this study was to investigate the changes in groundwater level in the Sari-Neka coastal aquifer near the Caspian Sea in Iran by ANN based on the emission scenarios of the sixth IPCC report for the next two decades. Three models selected from Coupled Model Intercomparison Project Phase 6 (CMIP6), including ACCESS-CM2, HadGEM3-GC31-LL, and NESM3, are validated. The result shows that ACCESS-CM2 had the best performance, and by using LARS-WG simulation, the temperature and precipitation were done based on two emission scenarios, SSP2-4.5 and SSp5-8.5, during 2021-2040. In addition, the K-means method used for clustering, and the Elbow method was utilized to select the optimal number of piezometers. In the following, the monthly maximum and minimum temperature, precipitation, and water table of previous month from 4 observation piezometers are used as input variables to forecast the groundwater level in the forthcoming months. The results of r, R2, RMSE, and MAE are evaluated for the model and indicate the good performance of the model. The results imply that under such mentioned scenarios, the mean monthly temperature will rise approximately 0.1-1.2 °C; also, the mean monthly precipitation will witness changes from -10% to 78% in the next two decades. As a result, this is likely to lead to improvement and recharge of groundwater level for the near future. The results can help managers and policymakers to identify adaptation strategies more precisely for basins with similar climates.