Here, we show that gut microbe-targeted inhibition of the trimethylamine N-oxide (TMAO) pathway protects mice against the metabolic disturbances associated with diet-induced obesity (DIO) or leptin deficiency (Lepob/ob). The gene discussed is LEP; the disease is obesity due to melanocortin 4 receptor deficiency.