Microbiota-derived metabolites shape intestinal health by modulating T cell metabolism. Li et al. show that indole-3-propionic acid (IPA) promotes mitochondrial respiration to suppress pro-inflammatory T cell differentiation, thereby alleviating inflammatory bowel disease in humans and mice.