Buprenorphine is prescribed for the medical treatment of people with an opioid drug dependence. This could include a dependency on heroin or other opioid medicines. Buprenorphine can help people safely withdraw from the opioid medicine they are dependent on.