Opioids rank among the most potent analgesic drugs but gastrointestinal side effects, especially constipation, limit their therapeutic utility. The adverse effects of opioids have been attributed to stimulation of opioid receptors, but emerging evidence suggests that opioids interact with the innate immune receptor Toll-like receptor 4 (TLR4) and its signalling pathway. As TLR4 signalling affects gastrointestinal motility, we examined the involvement of TLR4 in morphine-induced depression of peristaltic motility in the guinea-pig intestine in vitro and male C57BL/6N mice in vivo. While the TLR4 antagonist TAK-242 (0.1 μM and 1 μM) did not alter the morphine-induced inhibition of peristalsis in the isolated guinea-pig small intestine, the morphine-induced decrease in pellet propulsion velocity in colonic segments was attenuated by TAK-242 (0.1 μM). The ability of TAK-242 (4 mg/kg) to mitigate the morphine-induced suppression of colonic motility was replicated in mice in vivo by measuring the expulsion time of beads inserted in the distal colon. The inhibition of upper gastrointestinal transit of mice by morphine was not affected by pre-treatment with TAK-242 (4 mg/kg) in vivo. This is the first report that morphine-induced inhibition of colonic peristalsis is alleviated by TLR4 antagonism. We therefore conclude that TLR4 may contribute to opioid-induced constipation.