The maintenance of energy homeostasis is essential for life, and its dysregulation leads to a variety of metabolic disorders. Under a fed condition, mammals use glucose as the main metabolic fuel, and short-chain fatty acids (SCFAs) produced by the colonic bacterial fermentation of dietary fiber also contribute a significant proportion of daily energy requirement. Under ketogenic conditions such as starvation and diabetes, ketone bodies produced in the liver from fatty acids are used as the main energy sources. To balance energy intake, dietary excess and starvation trigger an increase or a decrease in energy expenditure, respectively, by regulating the activity of the sympathetic nervous system (SNS). The regulation of metabolic homeostasis by glucose is well recognized; however, the roles of SCFAs and ketone bodies in maintaining energy balance remain unclear. Here, we show that SCFAs and ketone bodies directly regulate SNS activity via GPR41, a Gi/o protein-coupled receptor for SCFAs, at the level of the sympathetic ganglion. GPR41 was most abundantly expressed in sympathetic ganglia in mouse and humans. SCFA propionate promoted sympathetic outflow via GPR41. On the other hand, a ketone body, β-hydroxybutyrate, produced during starvation or diabetes, suppressed SNS activity by antagonizing GPR41. Pharmacological and siRNA experiments indicated that GPR41-mediated activation of sympathetic neurons involves Gβγ-PLCβ-MAPK signaling. Sympathetic regulation by SCFAs and ketone bodies correlated well with their respective effects on energy consumption. These findings establish that SCFAs and ketone bodies directly regulate GPR41-mediated SNS activity and thereby control body energy expenditure in maintaining metabolic homeostasis.