Irritable bowel syndrome (IBS) is a common condition that affects the digestive system. It causes symptoms like stomach cramps, bloating, diarrhoea and constipation. These tend to come and go over time, and can last for days, weeks or months at a time. It's usually a lifelong problem.