Oxycodone is a prescription opioid medication used to manage certain types of pain when treatment with an opioid is medically appropriate. The medicine affects opioid receptors in the central nervous system and can change how the body perceives and responds to pain. Because oxycodone carries important risks, including misuse, addiction, overdose, and potentially fatal respiratory depression, it should be used only under appropriate medical supervision.