Opioids increase the tone and decrease the propulsive contractions of the smooth muscle of the gastrointestinal tract leading to a prolongation in gastrointestinal transit time, which may be responsible for the constipating effect of fentanyl.