Elemicin is a constituent of the oleoresin and the essential oil of Canarium luzonicum (also referred to as elemi). Elemicin is named after this tree. One study found it to compose 2.4% of the fresh essential oil. Elemicin is also present in the oils of the spices nutmeg and mace, with it composing 2.4% and 10.5% of those oils respectively. Structurally, elemcin is similar to myristicin, differing only by myristicin's methyl group that joins the two oxygen atoms that make up its dioxymethy moiety, with both constituents being found in nutmeg and mace.
Elemicin was first isolated from elemi oil using vacuum distillation. Specifically, the substance was collected between 162-165 °C at a reduced pressure of 10 torr.
^Hahn G, Wassmuth H (1934). "Über β-[Oxyphenyl]-äthylamine und ihre Umwandlungen, I. Mitteil.: Synthese des Mezcalins". Berichte der Deutschen Chemischen Gesellschaft (A and B Series). 67 (4): 696–708. doi:10.1002/cber.19340670430.