Altered mucosal glycosylation in inflammatory bowel disease and colon cancer could affect mucosal bacterial adherence. This study aimed to quantify and characterize mucosa-associated and intramucosal bacteria, particularly Escherichia coli, in these conditions.