Codeine is an opiate and prodrug of morphine mainly used to treat pain, coughing, and diarrhea. It is also commonly used as a recreational drug. It is found naturally in the sap of the opium poppy, Papaver somniferum. 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 12 years of age. It is generally taken by mouth. It typically starts working after half an hour, with maximum effect at two hours. Its effects last for about four to six hours. Codeine exhibits abuse potential similar to other opioid medications.Common side effects include vomiting, constipation, itchiness, lightheadedness, and drowsiness. Serious side effects may include breathing difficulties and addiction. Whether its use in pregnancy is safe is unclear. Care should be used during breastfeeding, as it may result in opiate toxicity in the baby. Its use as of 2016 is not recommended in children. Codeine works following being broken down by the liver into morphine; how quickly this occurs depends on a persons genetics.Codeine was discovered in 1832 by Pierre Jean Robiquet. In 2013, about 361,000 kg (795,000 lb) of codeine were produced while 249,000 kg (549,000 lb) were used, which made it the most commonly taken opiate.
Anyone who supplies the substance without prescription can be fined $10,000 (HKD). The maximum penalty for trafficking or manufacturing the substance is a $5,000,000 (HKD) fine and life imprisonment. Possession of the substance for consumption without license from the Department of Health is illegal with a $1,000,000 (HKD) fine and/or 7 years of jail time. However, codeine is available without prescription from licensed pharmacists in doses up to 0.1%: Schedule 1, Part IV, paragraph 23  (i.e. 5 mg/5ml): Section 3, (1) (a)

India
Codeine preparations require a prescription in India. A preparation of paracetamol and codeine is available in India. Codeine is also present in various cough syrups as codeine phosphate including chlorpheniramine maleate. Pure codeine is also available as codeine sulphate tablets. Codeine containing cough medicine has been banned in India with effect from 14 March 2016. The Ministry of Health and Family Welfare has found no proof of its efficacy against cough control. Iran
Preparations of codeine in Iran normally comes with paracetamol or guaifenesin, and can be purchased over-the-counter. Pure codeine is also available as codeine phosphate 30 mg tablets and special permit required to purchasing. Irans deputy health minister reported that codeine combinations is Irans best selling OTC medication. Ireland
In Ireland, new regulations came into effect on 1 August 2010 concerning codeine, due to worries about the overuse of the drug.