AbstractIn this research, discarded butternut peels were converted into hydrochar products through hydrothermal carbonisation (HTC), with adjustments made to the temperature (ranging from 180 to 260℃) and residence time (spanning 45–180 min). The findings indicated that both the temperature and time of carbonisation significantly influenced the yield of hydrochar (HC), as well as its physiochemical and structural properties. Higher temperatures and prolonged residence time led to decreased yield, elevated fixed carbon content and an increased fuel ratio. Furthermore, raising the process conditions increased HHV and reduced the oxygen-containing functional groups. The HC yield dropped from 28.75 to 17.58% with increased carbonisation temperature and time. The findings of this study also suggest that modified hydrochar is a promising material for removing heavy metals from wastewater. It is a relatively low-cost and abundant material that can be produced from various biomass feedstocks, including food waste. In addition, it is a sustainable and environmentally friendly option for wastewater treatment. Hydrochar-based systems offer several advantages over traditional methods of heavy metal removal, such as chemical precipitation and ion exchange. The unique physicochemical characteristics of hydrochar, including its porous structure and oxygen-rich functional groups, offer a high surface area and more binding sites for heavy metal ions. By changing the physicochemical properties of hydrochar with chemicals like phosphoric acid, it is possible to increase its adsorption capacity. The Freundlich isotherm was the best fit for the adsorption data for all three metal ions (Pb2+, Cu2+ and Cd2+), indicating that the adsorption process is multilayer and heterogeneous.