This is the first study to examine the association of MDR1, GSTM1, and GSTT1 polymorphisms with the risk of IBD in a sample of the Moroccan population. Here, ABCB1 is linked to inflammatory bowel disease.