We identified four key genes and their downstream pathways, specifically QDPR, DBI, MAX and HP genes, linking the mental disorders and susceptibility to the development of IBD. This evidence concerns the gene DBI and inflammatory bowel disease.