While hundreds of loci are linked with inflammatory bowel diseases (IBDs), the functional consequences of the associated variants remain unclear. Here, the authors screened in ulcerative colitis (UC) patients’ genomes for protein-truncating variants near IBD loci, and identify a protein truncating variant in RNF186to be protective against UC.