We identified four mental disorder-related genes, i.e., QDPR, DBI, MAX and HP and their downstream pathways that played crucial role in the susceptibility of IBD and UC, suggesting their potential as intervention and therapeutic targets for gut-brain axis diseases in the future. The gene discussed is QDPR; the disease is mental disorder.