This study investigates the impact of three key variables on the performance of nanoporous AM-3 and layered AM-4 titanosilicates in removing nine REEs (Y, La, Ce, Pr, Nd, Eu, Gd, Tb, and Dy) from natural mineral water and identifies optimal operational conditions using Response Surface Methodology (RSM). The experimental conditions were determined by a Box-Behnken Design of 3 factors-3 levels (pH 4, 6, and 8; sorbent dose 20, 100, and 180 mg/L; and element concentration 1, 3, and 5 μmol/L). Three-dimensional response surfaces were used to assess the linear, quadratic, and interaction influences of each factor on the REEs’ removal percentage. The pH was the most significant factor in the removal process using AM-3, while the sorbent dose was more important for AM-4. The results highlighted the sorbents’ strong capacity for REE removal. The optimal operating conditions obtained by RSM were applied to aqueous solutions with salinity 10 (common in coastal and transitional systems) and 30 (average seawater salinity). The results showed that AM-3 has a strong potential for removing REEs in solutions with salinity 10 and 30, while AM-4 was less efficient due to competition between REEs and other ions present in the solution.