Hydrolysis of phosphatidylcholine to choline was found to be catalysed by phospholipase D enzymes from diverse members of the gut microbiota, revealing a mechanism by which commensals obtain choline for subsequent production of disease-associated trimethylamine.