Nuclear binding energies of several rare-earth isotopes have been measured for the first time. The experiment carried out in the Accelerator Laboratory of the University of Jyväskylä, Finland, provides essential data for understanding how elements heavier than iron are produced in the Cosmos.