Subutex is primarily used as a long-term pain reliever, but is also used to treat an opioid addiction, by acting on the opioid receptors in the central nervous system, thus inhibiting the effects of morphine or heroin.