Opioids are a cornerstone of cancer pain management, but there is a lack of consensus on how to treat pain in cancer patients who also have struggled with opioid use disorder or prescription opioid misuse. Researchers outline guidance for treating such patients and highlight obstacles and opportunities for better integration of addiction treatment in cancer care.