Flocculation is widely used to enhance the dewatering efficiency of waste slurry. However, traditional flocculants have poor biodegradability and secondary pollution problems. Bio-based flocculants are promising due to their non-toxicity and biodegradability. In this study, a novel bio-based flocculant (PGR) derived from waste pomelo peel was successfully synthesized by TEMPO-mediated oxidation and acrylamide/N, N-Dimethylacrylamide grafting. The effect of PGR dosage on the flocculation performance of waste slurry and the adsorption performance of Pb(Ⅱ) and Cd(Ⅱ) was investigated. Results showed that the presence of PGR significantly enhanced the flocculation efficiency of waste slurry. The slurry dehydration rate and moisture content of mud cake reached approximately 30 % and 67.1 %, respectively. The turbidity of supernatant was minimized at 3.76 NTU with PGR concentration of 12 g/L. Batch adsorption experiments highlighted the effectiveness of PGR in adsorbing and removing Pb(Ⅱ) and Cd(Ⅱ) from contaminated slurry. The maximum removal efficiencies of Pb(Ⅱ) and Cd(Ⅱ) were 97 % and 55.3 %, respectively. The environmental assessment indicated that PGR solution is non-toxic. the EC50 of PGR solution was 1.44 × 105 ppm. Adding a small amount of nutrient soil, the slurry or mud cakes could be directly used to cultivate grass. Characterization methods revealed that the abundant pore structures and functional groups of PGR contributed to excellent flocculation and absorption capacity for waste slurry. Adsorption and chain bridging are the main mechanisms of slurry dewatering and ion adsorption. The use of bio-based flocculant in slurry treatment reduces environmental pollution, while simultaneously achieving the sustainable goal of “waste-treating-waste”.