The gut microbiota and their metabolites are closely linked to obesity-related diseases, such as type 2 diabetes, but their causal relationship and underlying mechanisms remain largely elusive. Here, we found that dysbiosis-induced tyramine (TA) suppresses high-fat diet (HFD)-mediated insulin resistance in both Drosophila and mice. In Drosophila, HFD increases cytosolic Ca2+ signaling in enterocytes, which, in turn, suppresses intestinal lipid levels. 16 S rRNA sequencing and metabolomics revealed that HFD leads to increased prevalence of tyrosine decarboxylase (Tdc)-expressing bacteria and resulting tyramine production. Tyramine acts on the tyramine receptor, TyrR1, to promote cytosolic Ca2+ signaling and activation of the CRTC-CREB complex to transcriptionally suppress dietary lipid digestion and lipogenesis in enterocytes, while promoting mitochondrial biogenesis. Furthermore, the tyramine-induced cytosolic Ca2+ signaling is sufficient to suppress HFD-induced obesity and insulin resistance in Drosophila. In mice, tyramine intake also improves glucose tolerance and insulin sensitivity under HFD. These results indicate that dysbiosis-induced tyramine suppresses insulin resistance in both flies and mice under HFD, suggesting a potential therapeutic strategy for related metabolic disorders, such as diabetes.