CODEINE is a prescription-only painkiller medication. This drug is an opioid analgesic and it can be prescribed online only for mild to moderate pain. It is used to treat pain, as well as a cough, and diarrhea. Codeine is also available as a single-ingredient product, or in combination with acetaminophen or aspirin, and also in some cough and cold medications.