This study investigated groundwater in the central Rif region of northern Morocco by analysing 55 water sampling points to assess its physicochemical and hydrogeochemical properties. Through hydrochemical analysis, GIS spatial exploration, and multivariate statistical analysis, a direct correlation was found between EC, TDS, and major ions, influencing overall water mineralization. The key findings included pH levels ranging from 6.10 to 8.52, EC from 828 to 4581 μS/cm, and varying concentrations of Ca2+, Mg2+, Na+, K+, HCO2–, Cl–, N–NO2–, and SO42–. Notably, TDS and TH ranged from 647.19–3609.36 mg/L and 64.23–1051.24 mg/L, respectively, with a significant portion of samples exceeding WHO guidelines, particularly chloride (61.81%), sulfate (92.72%), and nitrate (12.72%) samples. The Piper diagram highlights sodium chlorides (Na–Cl) as the predominant chemical facies (70.9%), while the Gibbs diagram emphasizes the impact of evaporation on water chemistry dynamics. This study revealed the complex influence of geological and anthropogenic factors on groundwater quality, potentially leading to seawater intrusion in coastal aquifers. The observed high mineralization and hardness levels, in addition to mild alkalinity, pose public health risks, underscoring the need for continuous monitoring and sustainable management practices in coastal groundwater management to protect human health and the environment.