Opioids. Opioids are potent medication which can be also referred to as opiates or narcotics. They contain sturdy prescription discomfort relievers and selected illegal prescription drugs.Xanax contains a boxed warning about the risk of significant damage or Loss of life if taken with opioids. For facts, see the “Xanax safety measures” section