Hypothyroidism was associated with an increased risk for small intestinal bacterial overgrowth across sexes, age groups, and BMI categories.