Opioids are commonly used in the treatment of pain and associated symptoms of inflammatory bowel disease (IBD). The continuous use of opioids has been associated with adverse outcomes, including death. The prevalence and the risk factors for opioid use in IBD are poorly characterized.