Codeine in the UK belongs to a category of medication known as opiates. Opiate medication diverts pain signals by disrupting communication lines between the nervous system and the brain, preventing unnecessary or erratic pain signals from being actualised.