Phosphorus (P) is a critical and finite raw material fundamental to various biological roles and industrial applications. Its limited availability can be managed through recovery from wastewater. However, wastewater often contains hazardous contaminants, including antibiotic resistance and virulence genes associated with extracellular DNA (exDNA), which may compromise the safety of recovered P products. To address this issue, magnetically separated electric arc furnace dust (ms-EAFD), a by-product of the steelmaking process, was functionalized using dissolution recrystallization protocol utilizing NaOH and Ca(OH)