Clinical studies have shown that rifaximin is beneficial in the treatment of IBS. Rifaximin alters the bacterial population in the ileum, leading to an abundance of Lactobacillus. This prevents gut inflammation and reduces pain sensation in response to gastrointestinal sensory stimuli.