Codeine is a prescription opioid medication used to relieve mild to moderate pain and to reduce coughing. It works by affecting the brain and nervous system to change how the body feels and responds to pain and irritation.

Because it can cause drowsiness, dependence, and misuse if not used correctly, it is usually prescribed with caution and only for short-term use.