Codeine is a medicine used to treat pain. It is also used to treat coughs. It can be given as an injection, tablet, or liquid. It is also available as a combination product (e.g. Tylenol with codeine®) that is mixed with acetaminophen the active ingredient in Tylenol®. These products are used to treat pain.