Inflammatory bowel disease (IBD) has been linked to host-microbiota interactions. Here, the authors investigate mucosa-associated microbiota using endoscopically-targeted biopsies from inflamed and non-inflamed colon in patients with Crohn’s disease and ulcerative colitis, finding associations with inflammation and host epigenomic alterations.