This study will evaluate the efficacy and safety of eluxadoline 100 milligrams (mg) twice a day (BID) versus placebo for the treatment of patients with Irritable Bowel Syndrome with Diarrhea (IBS-D) who report that the use of loperamide in the prior 12 months failed to provide control of their IBS-D symptoms.