Modified walnut wooden shell (MWWS) and almond wooden shell (MAWS) as novel anion exchangers were used to remove phosphorus (P) ion from aqueous solution. The raw and modified agricultural wastes were characterized using total N, total P, FT-IR spectra, SEM, BET, and EXD analysis. The effect of different parameters such as pH (4 to 8), contact time (5 to 600 min) and adsorbent dosage (1 to 8 g L-1) on P adsorption was investigated. Adsorption of P onto MWWS and MAWS was studied using the batch technique with different concentration of P (5 to 200 mg L-1) at 25±2℃. The P adsorption isotherms were fitted with the Freundlich and Langmuir equations. The k and n values were 1.57 mg g-1 and 1.88 for MWWS and 1.91 mg g-1 and 2.24 for MAWS, respectively. The maximum P adsorption capacities for MWWS and MAWS were 22.73 and 14.71 mg g-1, respectively. The desorption-regeneration experimental results indicated 4% and 3% reductions in MWWS and MAWS P adsorption efficiency after four consecutive regeneration cycles, respectively. The data well fitted with pseudo-second-order kinetic model (R2 ≥ 0.99), indicating that chemical interactions dominate the p adsorption process. Incubation studies showed the rate of P release in treated soil with P-loaded modified biosorbents was higher than control. Therefore, the MWWS and MAWS can potentially be used as an excellent adsorbent in remediation of contaminated waters by P and then recycled to soil.