Oxycodone and OxyContin are both prescription opioids, but they are different drugs. Oxycodone is a short-acting opioid, meaning that it is only effective for a few hours after taking it. OxyContin is an extended-release opioid, meaning that it is designed to last for 12 hours. Oxycodone is usually prescribed for acute pain, such as pain after surgery. OxyContin is prescribed for treating chronic pain, such as pain due to cancer or an injury. Both drugs can be abused, and both can lead to addiction, dependency, and overdose.