Hydrocodone is an opioid medication used to treat moderate to severe pain. It works by binding to opioid receptors in the brain, reducing the sensation of pain. Due to its potency and potential for abuse, hydrocodone is a prescription-only medication. It is commonly prescribed for chronic conditions such as arthritis, fibromyalgia, and post-surgical pain.