Various commensal enteric and potentially pathogenic bacteria may be involved in the pathogenesis of inflammatory bowel diseases (IBD). We compared the risk of IBD between a cohort of patients with documented Salmonella or Campylobacter gastroenteritis and an age- and gender-matched control group from the same population in Denmark.