Owing to the growing industrial demand worldwide and limited mineral deposits, the recovery of low-concentration rare earth elements (REEs) from waste sources is being considered, which also helps to reduce water pollution. In this work, the adsorption of gadolinium ions (Gd 3+ ) in aqueous solutions over a functionalized metal−organic framework (MOF), UiO-66, was investigated. Initially, the MOF structure was synthesized solvothermally using a ligand mixture of terephthalic and trimellitic acids to produce coordination-free −COOH groups on the UiO-66 framework. Subsequently, the −COOH group was reacted with ethylenediamine to introduce additional −NH 2 groups onto the MOF. The optimized product (denoted as UiO-66-COOH-ED) showed an equilibrium adsorption capacity of 79 mg/g for Gd 3+ compared with 16 mg/g by pristine UiO-66. This improvement in adsorption by a factor of 4.9 was a consequence of the coordination of Gd 3+ ions with the electron-abundant oxygen and nitrogen atoms of −COOH and −NH 2 groups. A solution pH between 6.0 and 7.0 was found to be the best for Gd 3+ capture, and a selectivity of 75% toward Gd 3+ was observed against other competing alkali or transition metal ions coexisting in the solution. UiO-66-COOH-ED was reusable for at least five cycles without any noticeable deterioration in its adsorption capacity.