Elucidating details of biology's selective uptake and trafficking of rare earth elements, particularly the lanthanides, has the potential to inspire sustainable biomolecular separations of these essential metals for myriad modern technologies. Here, we biochemically and structurally characterize Methylobacterium (Methylorubrum) extorquens LanD, a periplasmic protein from a bacterial gene cluster for lanthanide uptake. This protein provides only four ligands at its surface-exposed lanthanide-binding site, allowing for metal-centered protein dimerization that favors the largest lanthanide, LaIII. However, the monomer prefers NdIII and SmIII, which are disfavored lanthanides for cellular utilization. Structure-guided mutagenesis of a metal-ligand and an outer-sphere residue weakens metal binding to the LanD monomer and enhances dimerization for PrIII and NdIII by 100-fold. Selective dimerization enriches high-value PrIII and NdIII relative to low-value LaIII and CeIII in an all-aqueous process, achieving higher separation factors than lanmodulins and comparable or better separation factors than common industrial extractants. Finally, we show that LanD interacts with lanmodulin (LanM), a previously characterized periplasmic protein that shares LanD's preference for NdIII and SmIII. Our results suggest that LanD's unusual metal-binding site transfers less-desirable lanthanides to LanM to siphon them away from the pathway for cytosolic import. The properties of LanD show how relatively weak chelators can achieve high selectivity, and they form the basis for the design of protein dimers for separation of adjacent lanthanide pairs and other metal ions.