Phosphorus (P) recovery from wastewater using integrated techniques i.e., adsorption combined with advanced oxidation technologies is a novel approach for cleaning wastewater and preventing eutrophication. This approach, however, has not been extensively studied, particularly in the context of real wastewater applications. In this study, a green biomass-based sol-gel method was developed using potato starch (PS) and MgCl