Disclosed is a use of albiflorin or a pharmaceutically acceptable salt for the prevention and/or treatment of irritable bowel syndrome. The experimental results demonstrate that the prevention, remission and/or treatment of irritable bowel syndrome with albiflorin or a pharmaceutically acceptable salt has significant effects and few side effects. This is a preparation derived from a natural plant for the safe, effective and multi-targeted prevention, remission and/or treatment of irritable bowel syndrome.