Naltrexone belongs to a class of drugs known as opiate antagonists. It works in the brain to prevent opiate effects (such as feelings of well-being, pain relief). It also decreases the desire to take opiates. This medication is also used to treat alcohol abuse.