Selective serotonin reuptake inhibitors are sometimes used in patients with anxiety or an affective disorder, but studies have not shown a significant benefit for patients with IBS and they may exacerbate diarrhea.