Several studies have shown that plants can absorb various micropollutants. The behavior of micropollutants from wastewater treatment plant resources was comprehensively investigated in raised beds in which either a mixture of vegetables or maize was grown. The beds were either irrigated with treated wastewater or enriched with sewage sludge or composted sewage sludge. Over the year, samples of wastewater, water drained from the beds, soils and plants were analyzed. Of the seventy-five analyzed substances, fifty-four, thirty-three and twenty-seven were quantified in wastewater, sewage sludge, and composted sludge, respectively. Alarmingly, approximately 20 % of the compounds from wastewater were also detected in the solutions leached from the beds irrigated with wastewater (e.g., gabapentin, tramadol, sertraline, carbamazepine, its metabolites, and benzotriazoles). In addition, a gradual increase in the content of four substances (telmisartan, venlafaxine, carbamazepine, citalopram) was recorded in these beds. The compounds from both biosolids used for soil enrichment tended to remain in the soils (e.g., telmisartan, venlafaxine, sertraline, its metabolite, citalopram, and its metabolite). Only four compounds (sertraline and three benzotriazoles) leached from these beds. Uptake of some chemicals (e.g., gabapentin, tramadol, carbamazepine and its metabolite, and venlafaxine and its metabolite) and their accumulation in plant tissues was observed mainly in vegetables grown on beds irrigated with wastewater. However, daily consumption values for edible plant parts and individual compounds did not indicate a direct threat to human health. Results of this innovative study show possible risks associated with the use of these resources in agriculture. Of particular concern is the possible micropollutants percolation towards groundwater, including those for which high sorption and thus low mobility in the soil environment is expected, such as sertraline. Soil and crop contamination cannot be neglected either.