A new discovery about how opioids work inside the brain could lead to the development of safer pain medications.