Diagnosis of inflammatory bowel disease (IBD) in patients with gastrointestinal complaints and its differentiation from irritable bowel syndrome (IBS) is often difficult due to similar symptoms. The aim of our study was to create a method for differentiating IBD and IBS by analyzing clinical and laboratory parameters using artificial intelligence. Analysis of 1006 case histories of patients with IBD and IBS revealed significant differences in the stool frequency, presence of blood, extraintestinal and perianal manifestations, strictures, concomitant functional diseases, frequency of surgical operations (p