Tryptophan (Trp) is an essential amino acid that must be acquired exclusively through dietary intake. The metabolism of tryptophan plays a critical role in maintaining immune homeostasis and tolerance, as well as in preventing excessive inflammatory responses. Tryptophan-2,3-dioxygenase (TDO2) is a tetrameric heme protein and serves as one of the pivotal rate-limiting enzymes in the first step of tryptophan metabolism. Dysregulation of TDO2 expression has been observed in various digestive system diseases, encompassing those related to the oral cavity, esophagus, liver, stomach, pancreas, and colon and rectum. Digestive system diseases are the most common clinical diseases, with complex clinical manifestations and interrelated symptoms, and have become a research hotspot in the field of medicine. Studies have demonstrated that aberrant TDO2 expression is closely associated with various clinical manifestations and disease outcomes in patients with digestive system disorders. Consequently, TDO2 has garnered increasing recognition as a promising therapeutic target for digestive system diseases in recent years, attracting growing attention. This article provides a brief overview of the role of TDO2 in the tryptophan pathway, emphasizing its significant involvement in diseases of the digestive system. Strategies targeting TDO2 through specific inhibitors suggest considerable promise in enhancing therapeutic outcomes for digestive diseases. Thus, this review concludes by discussing recent advancements in the development of TDO2 inhibitors. We believe that targeted inhibition of TDO2 combined with immunotherapy, the screening of a large number of natural products, and the assistance of artificial intelligence in drug design will be important directions for developing more effective TDO2 inhibitors and improving treatment outcomes in the future.