Methadone is an opioid medication used to treat severe pain and opioid addiction. When used to treat severe pain, methadone is available as a tablet or oral solution. When used to treat opioid addiction, methadone usually comes in the form of a fruit-flavoured drink.