In urban and periurban areas, agricultural soils are often irrigated with surface water containing a complex mixture of contaminants due to wastewater treatment plant (WWTP) effluent discharges. The unplanned water reuse of these resources for crop irrigation can represent a pathway for contaminant propagation and a potential health risk due to their introduction in the food chain. The aim of this study is to provide data about the magnitude of attenuation processes and plant uptake, allowing for a reliable assessment of contaminant transfer among compartments and of the human health risk derived from unplanned water reuse activities. Target compounds are 25 pharmaceuticals, including transformation products (TPs). The field site is an agricultural parcel where maize is irrigated by a gravity-fed surface system supplied by the Jarama river, a water course strongly impacted by WWTP effluents. Throughout the 3-month irrigation period, irrigation water and water infiltrating through the vadose zone were sampled. The agricultural soil was collected before and after the irrigation campaign, and maize was sampled before harvesting. All selected compounds are detected in irrigation water (up to 12,867ng L-1). Metformin, two metamizole TPs and valsartan occur with the highest concentrations. For most pharmaceuticals, results demonstrate a high natural attenuation during soil infiltration (>60%). However, leached concentrations of some compounds can be still at concern level (>400ng L-1). A persistent behavior is observed for carbamazepine, carbamazepine epoxide and sulfamethoxazole. Pharmaceutical soil contents are in the order of ng g-1 and positively ionized compounds accumulate more effectively. Results also indicate the presence of a constant pool of drugs in soils. Only neutral and cationic pharmaceuticals are taken up in maize tissues, mainly in the roots. There is an insignificant threat to human health derived from maize consumption however, additional toxicity tests are recommended for 4AAA and acetaminophen.