Naltrexone is a prescription medication used in the treatment of alcohol dependence and for someone who is dependent on opioids. Alcohol and opioids can both cause physical dependence. The effects of opioid and alcohol withdrawal can be severe and Naltrexone can help with cravings.