Oxycodone, sold under brand name OxyContin among others, is an opioid medication used for treatment of moderate to severe pain. It is usually taken by mouth, and is available in immediate-release and controlled-release formulations. This medication is used to help relieve moderate to severe pain. Oxycodone belongs to a class of drugs known as opioid (narcotic) analgesics. It works in the brain to change how your body feels and responds to pain.