Opioid induced constipation is a side effect of using opiates whether that be with heroin or pain pills. They slow down the function of the central nervous system which includes involuntary movements such as the movement of food through the digestive system resulting in constipation.