Using wastewater for irrigation poses a significant health risk. We measured the concentration of (cobalt, chromium, copper, manganese, nickel, lead, and zinc) in wastewater, soil, and vegetation at 8 sites along a 60 km stretch of the Sabarmati River in Ahmedabad city. An evaluation of the potential danger from consuming contaminated vegetables was conducted using Estimated Daily Intake (EDI), Target Hazard Quotient (THQ), and Target Cancer danger (TCR). The average concentration of the metals Co, Cr, Cu, Mn, Ni, Pb, and Zn exceeds the maximum permitted limits for irrigation purposes as established by regulatory bodies. The heavy metals in the collected soil sample are ranked in descending order of concentration as follows: Zn > Mn > Cu > Cr > Ni > Pb > Co. The average metal concentrations in vegetables range from 0.10-11.3 µg g-1 for Co, 5.2-11.8 µg g-1 for Cr, 0.04-9.9 µg g-1 for Cu, 12.3-110 µg g-1 for Mn, 0.7-4.2 µg g-1 for Ni, 0.4-8.4 µg g-1 for Pb, and 4.4-44 µg g-1 for Zn. The mean content of heavy metals (µg g-1) in the collected vegetable samples is highest in spinach, followed by brinjal, cabbage, tomato, and cauliflower. The Hazardous Quotient (THQ) shows a high health risk for Pb (6.1) and Mn (1.02), and a medium health risk for Cr (0.9). The Target Cancer Risk (TCR) emphasized the cancer risk posed by Chromium (Cr) and Nickel (Ni), following with Lead (Pb). The study indicates a link between health risks and consuming vegetables grown in the study area. It recommends improving wastewater treatment facilities and monitoring heavy metal levels in vegetables grown in soil irrigated with wastewater at regular intervals.