Medications like methadone and buprenorphine are often used during detox by suppressing withdrawal symptoms over an extended period. These medications satisfy opioid receptors in the brain and are then slowly tapered. Clonidine and hydroxyzine are also sometimes used to manage symptoms.