In addition to tomatidine and soladulcidine, two new alkaloids, pimpifolidine and 22-isopimpifolidine, have been isolated from the roots of the wild tomato Lycopersicon pimpinellifolium, the structures of which have been elucidated as 22,26-epimino-16 beta,23-epoxy-5 alpha,22 alpha H,25 alpha H-cholestane-3 beta,23 alpha-diol and its 22 beta H-isomer.