Codeine is an opiate used to treat pain, as a cough medicine, and for diarrhea. It is typically used to treat mild to moderate degrees of pain. Greater benefit may occur when combined with paracetamol (acetaminophen) or a nonsteroidal anti-inflammatory drug (NSAID) such as aspirin or ibuprofen. Evidence does not support its use for acute cough suppression in children or adults. In Europe it is not recommended as a cough medicine in those under twelve years of age. It is generally taken by mouth. It typically starts working after half an hour with maximum effect at two hours. The total duration of its effects last for about four to six hours.