Technologically critical rare-earth elements are notoriously difficult to separate, owing to their subtle differences in ionic radius and coordination number1–3. The natural lanthanide-binding protein lanmodulin (LanM)4,5is a sustainable alternative to conventional solvent-extraction-based separation6. Here we characterize a new LanM, fromHansschlegelia quercus(Hans-LanM), with an oligomeric state sensitive to rare-earth ionic radius, the lanthanum(III)-induced dimer being >100-fold tighter than the dysprosium(III)-induced dimer. X-ray crystal structures illustrate how picometre-scale differences in radius between lanthanum(III) and dysprosium(III) are propagated toHans-LanM’s quaternary structure through a carboxylate shift that rearranges a second-sphere hydrogen-bonding network. Comparison to the prototypal LanM fromMethylorubrum extorquensreveals distinct metal coordination strategies, rationalizingHans-LanM’s greater selectivity within the rare-earth elements. Finally, structure-guided mutagenesis of a key residue at theHans-LanM dimer interface modulates dimerization in solution and enables single-stage, column-based separation of a neodymium(III)/dysprosium(III) mixture to >98% individual element purities. This work showcases the natural diversity of selective lanthanide recognition motifs, and it reveals rare-earth-sensitive dimerization as a biological principle by which to tune the performance of biomolecule-based separation processes.