Oxycodone 40mg is a medication used to treat moderate to severe pain. It is an opioid medication that works by binding to receptors in the brain and spinal cord to decrease the perception of pain. It is important to take Oxycodone 40mg exactly as prescribed by your doctor. Typically, it is taken every 4 to 6 hours as needed for pain relief. It can be taken with or without food, but it is recommended to take it with food to help prevent stomach upset.