Using cryoEM technology, researchers have decoded the detailed structures of an entire family of opioid receptors bound to their naturally occurring peptides. This new structural framework should help in the development of safer, more effective medications to treat chronic pain.