Percocet contains two active ingredients: oxycodone and acetaminophen. Oxycodone is an opioid pain medication that works by binding to certain receptors in the brain and reducing the perception of pain. Opioids can slow down the digestive system, leading to constipation. Acetaminophen, on the other hand, is a non-opioid pain reliever that is used to enhance the effects of oxycodone.

When someone takes Percocet, the oxycodone in the medication can cause constipation by slowing down the contractions of the muscles in the digestive system. This effect can lead to infrequent bowel movements, hard stools, and difficulty passing stools. Constipation is a common side effect of opioid pain medications and can be managed with dietary changes, exercise, and other medications that promote bowel movements.