The above results revealed that GDM affected the expression of key enzymes in the Trp pathway in the colon, prefrontal cortex and hippocampus, TPH changed significantly in the colon and prefrontal cortex, and IDO changed significantly in the colon, prefrontal cortex and hippocampus. This evidence concerns the gene IDO1 and gestational diabetes.