Hydrocodone is a powerful opioid medication used to treat moderate to severe pain. It is available in tablet, capsule, syrup and oral solution forms. Hydrocodone is highly addictive and has a high potential for abuse. As such, it is only available with a valid prescription from a doctor.