Oxycodone is an opioid pain medication. An opioid is sometimes called a narcotic. Oxycodone is used to treat moderate to severe pain. The extended-release form of this medicine is for around-the-clock treatment of pain. This form of oxycodone is not for use on an as-needed basis for pain. Oxycodone may also be used for purposes not listed in this medication guide.