Experiments reveal that a time-dependent epistatic interaction influences how mice respond to opioids, and that intracellular fibroblast growth factors also influence opioid sensitivity.