Gut microbiota are known to produce an intermediate metabolite in the production of trimethylamine N-oxide that promotes atherosclerosis. Now, another metabolite produced by the same bacteria has been identified that prevents atherosclerosis. The basis for these opposing microbial effects are dictated by diet.