Trigonelline

Trigonelline is an alkaloid with chemical formula 772. It is an inner salt formed by the addition of a methyl group to the nitrogen atom of niacin. Trigonelline is a product of the metabolism of niacin (vitamin B3) which is excreted in the urine.

Trigonelline is also found in coffee, where it may help to prevent dental caries by preventing the bacteria Streptococcus mutans from adhering to teeth.