Desalination reverse osmosis reject brine-based porous geopolymer (RO/GP) was produced and investigated as an improved adsorbent for phosphorus (P) removal from tainted seawater, brackish water, river water, and municipal wastewater effluent. The RO reject brine/geopolymer was produced by reacting metakaolin and fly ash with a Na-alkali activator and anhydrous RO brine as a sacrificial template. The influence of RO reject brine content on water absorption, porosity, mechanical, and structural properties were examined. The developed RO-based geopolymers exhibited the greatest porosity (58.3–84.2 % vol%), a significant ratio of open porosity to total porosity (67.7–92.1 %), and outstanding compression strength (3.6–10.4 MPa). The produced RO/GP structure has an adsorption capacity of 92.4 mg-P/g. The sequestration reaction of phosphorus by RO/GP is of pseudo-second-order kinetic behavior via Chi-squared (χ2), RMSE, and determination coefficient (R2) values. Regarding their agreement with Langmuir behavior, the phosphorus adsorption uptakes occur in homogeneous and monolayer states. The reaction is exothermic, spontaneous, and favorable. The RO/GP exhibits significant affinity for phosphorus co-existing with Cl−, Na+, SO42−, K+, HCO3−, and Ca2+. The RO/GP shows high safety during the adsorption investigation, with a total cost of 0.32 $/kg-P.