Diagnosing IBS typically involves a combination of patient history, symptom assessment, and exclusion of other conditions. The Rome IV criteria are commonly used to diagnose IBS, requiring symptoms to be present for at least six months and to have occurred at least once per week in the last three months.