Some opioids are narcotics but not all. Oxycodone, codeine, Vicodin, and morphine are all opioids that are narcotics. The main difference is that narcotics are not available as an over-the-counter medicine.