Hydrocodone drug is a powerful narcotic analgesic, a type of opioid pain medication, prescribed for the relief of moderate to severe pain. It's used for pain due to cancer, injury and dental work.Hydrocodone drug is a powerful narcotic analgesic, a type of opioid pain medication, prescribed for the relief of moderate to severe pain. It's used for pain due to cancer, injury and dental work.