Buprenorphine is a prescription medication primarily used to treat opioid use disorder and, in certain formulations, manage pain. It is a partial opioid agonist that helps reduce opioid cravings and withdrawal symptoms. Because it carries risks of dependence and respiratory depression, treatment requires professional supervision.