DescriptionCodeine is an opiate used to treat pain, coughing, and diarrhea. It is typically used to treat mild to moderate degrees of pain. Greater benefit may occur when combined with paracetamol or a nonsteroidal anti-inflammatory drug such as aspirin or ibuprofen for medical purposes. Codeine is a prescription pain medication used to treat mild to moderate pain. It comes in tablet form and as the main ingredient in prescription-grade cough suppressants. Tylenol 3, another popular pain reliever, is codeine combined with acetaminophen.