The ability to coordinate behavioral responses with metabolic status is fundamental to the maintenance of energy homeostasis. In numerous species including Caenorhabditis elegans and mammals, neural serotonin signaling regulates a range of food-related behaviors. However, the mechanisms that integrate metabolic information with serotonergic circuits are poorly characterized. Here, we identify metabolic, molecular, and cellular components of a circuit that links peripheral metabolic state to serotonin-regulated behaviors in C. elegans. We find that blocking the entry of fatty acyl coenzyme As (CoAs) into peroxisomal β-oxidation in the intestine blunts the effects of neural serotonin signaling on feeding and egg-laying behaviors. Comparative genomics and metabolomics revealed that interfering with intestinal peroxisomal β-oxidation results in a modest global transcriptional change but significant changes to the metabolome, including a large number of changes in ascaroside and phospholipid species, some of which affect feeding behavior. We also identify body cavity neurons and an ether-a-go-go (EAG)-related potassium channel that functions in these neurons as key cellular components of the circuitry linking peripheral metabolic signals to regulation of neural serotonin signaling. These data raise the possibility that the effects of serotonin on satiety may have their origins in feedback, homeostatic metabolic responses from the periphery.