Tryptophan hydroxylases catalyze the first and rate-limiting step in the biosynthesis of serotonin, a well-known neurotransmitter that plays an important role in multiple physiological functions. A reduction of serotonin levels, especially in the brain, can cause dysregulation leading to depression or insomnia. In contrast, overproduction of peripheral serotonin is associated with symptoms like carcinoid syndrome and pulmonary arterial hypertension. Recently, we developed a class of TPH inhibitors based on xanthine-benzimidazoles, characterized by a tripartite-binding mode spanning the binding sites of the cosubstrate pterin and the substrate tryptophan and by chelation of the catalytic iron ion. Herein, we describe the structure-based development of a second generation of xanthine-imidiazopyridines and -imidazothiazoles designed to inhibit TPH1 in the periphery while preventing the interaction with TPH2 in the brain. Lead compound 32 (TPT-004) shows superior pharmacokinetic and pharmacodynamic properties as well as efficacy in preclinical models of peripheral serotonin attenuation and colorectal tumor growth.