Here, we demonstrated that supplementation with allicin or raw garlic juice inhibited TMAO production through carnitine metabolism by the gut microbiota in both mice and humans and prevented carnitine-induced atherosclerosis in ApoE−/− mice. The gene discussed is APOE; the disease is atherosclerosis.