For the first time, scientists have solved the crystal structure of the activated kappa opioid receptor bound to a morphine derivative. They then created a new drug-like compound that activates only that receptor, a key step in the development of new pain medications.