Taste is important in the selection of food and is orchestrated by a group of distinct receptors, the taste G protein-coupled receptors (GPCRs). Taste 1 receptors (Tas1rs in mice and TAS1Rs in humans; also known as T1Rs) detect sweet and umami tastes, and taste 2 receptors (Tas2rs in mice and TAS2Rs in humans; also known as T2Rs) detect bitterness. These receptors are also expressed in extraoral sites, including the gastrointestinal mucosa. Tas2rs/TAS2Rs have gained interest as potential targets to prevent or treat metabolic disorders. These bitter taste receptors are expressed in functionally distinct types of gastrointestinal mucosal cells, including enteroendocrine cells, which, upon stimulation, increase intracellular Ca2+ and release signalling molecules that regulate gut chemosensory processes critical for digestion and absorption of nutrients, for neutralization and expulsion of harmful substances, and for metabolic regulation. Expression of Tas2rs/TAS2Rs in gut mucosa is upregulated by high-fat diets, and intraluminal bitter 'tastants' affect gastrointestinal functions and ingestive behaviour through local and gut-brain axis signalling. Tas2rs/TAS2Rs are also found in Paneth and goblet cells, which release antimicrobial peptides and glycoproteins, and in tuft cells, which trigger type 2 immune response against parasites, thus providing a direct line of defence against pathogens. This Review will focus on gut Tas2r/TAS2R distribution, signalling and regulation in enteroendocrine cells, supporting their role as chemosensors of luminal content that serve distinct functions as regulators of body homeostasis and immune response.