Water samples from District Swabi, Khyber Pakhtunkhwa, Pakistan, were analyzed to determine the concentration of potentially toxic elements (PTEs) and evaluate associated human health risks. A total of 18 surface water (SW) and 126 groundwater (GW) samples were collected from different drinking water sources and analyzed for physicochemical parameters and PTEs including As, Cd, Co, Cu, Fe, Mn, Ni, Pb, and Zn. The results were compared with World Health Organization (WHO) drinking water guidelines. Physicochemical analysis showed that a significant proportion of water samples were unsuitable for drinking purposes. The pH exceeded WHO permissible limits in 44.45% of SW and 52.38% of GW samples, while electrical conductivity exceeded the acceptable limit (400 µS/cm) in 66.67% of SW and 27.78% of GW samples. Among the analyzed PTEs, Cu, Cr, and Ni remained within safe limits, whereas serious contamination was observed for As, Cd, Pb, and fluoride (F?). Arsenic contamination was detected in 72.2% of SW and 62.7% of GW samples, while Pb exceeded WHO limits in 66.6% of SW and 50% of GW samples. Cadmium was identified as the most critical contaminant, with 100% of both SW and GW samples exceeding the WHO permissible limit (5 µg/L). Similarly, fluoride contamination was observed in 55.6% of SW and 78.6% of GW samples. Overall, groundwater was found highly contaminated with Cd, As, F?, and K, while surface water was also unsuitable for safe consumption. Health risk assessment revealed that the chronic daily intake (CDI) values in SW followed the order Fe > Ni > Mn > Co > Cu > Pb > Cr > Cd > As > Hg, whereas in GW the order was Fe > Ni > Co > Mn > Cu > Pb > Cr > Cd > As > Hg. Hazard quotient (HQ) values greater than 1 for As, Co, and Cd indicated significant non-carcinogenic health risks associated with water consumption. Furthermore, hazard index (HI) values exceeding 1 for both adults and children suggested that long-term consumption of contaminated water may lead to adverse health effects, particularly among children. Multivariate statistical analyses indicated that both geogenic and anthropogenic activities contributed to groundwater and surface water contamination in the study area.