Prolonged use of wastewater irrigation in peri-urban agriculture has increased levels of heavy metals (HMs) in soil, raising concerns regarding both food safety and human health.To address this issue, the effectiveness of agro-waste derived bioashes (ADB), specifically rice husk ash (RHA) and sugarcane bagasse ash (SBA), was investigated as soil amendment materials to immobilize HMs in soil and reduce their accumulation in crops.The aim of the present study was to evaluate the effects of RHA and SBA on HM uptake, growth, yield, nutrient quality, and seed metabolite profiles of wheat (Triticum aestivum L. cv. HUW 234) crop grown in HM contaminated soils, along with associated health risks.Results revealed that SBA significantly and effectively reduced Cr, Ni, Cu, Zn, and Cd accumulation in wheat seeds (13.5%, 33.8%, 17.6%, 7.8%, and 10.0%, resp.), more compared to RHA (6.8%, 16.9%, 8.8%, 3.9%, and 5.0%) with maximum accumulation in roots followed by shoots and least in seeds.Health risk assessments showed that the estimated daily intake (EDI) of HMs was found highest for Zn and lowest for Cd in both the children and adults consuming wheat seeds, with hazard quotient values above a unit for all the HMs.The present study concludes that SBA could be effectively used as a superior soil amendment to reduce HM toxicity in soil-wheat system, associated human health risks and to promote sustainable agriculture in peri-urban areas.