Minority race and lower socioeconomic status are associated with lower rates of opioid prescription and undertreatment of pain in multiple noncancer healthcare settings. It is not known whether these differences in opioid prescribing exist among patients undergoing cancer treatment.