Vicodin is a prescription medication that combines two primary active ingredients: hydrocodone and acetaminophen. Hydrocodone is an opioid analgesic, while acetaminophen is a less potent pain reliever that increases the effects of hydrocodone. Vicodin is primarily used for the relief of moderate to severe pain.