Hydrocodone is an opioid medication primarily used to relieve moderate to severe pain. It can also be combined with other medicines, such as acetaminophen or ibuprofen, to enhance its pain-relieving effects. Additionally, hydrocodone is sometimes prescribed as a cough suppressant in liquid formulations.