Codeine is an opioid pain reliever that is used to treat mild to moderately severe pain and to help reduce coughing. Codeine is available as a single ingredient tablet and is also available in multi-ingredient products combined with other pain-relieving medicines or cold and flu medicines.